Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

地理情報のバイナリデータの入出力機能を追加 #64

Merged
merged 7 commits into from
Oct 31, 2023

Conversation

AsPJT
Copy link
Owner

@AsPJT AsPJT commented Oct 30, 2023

    // 標高のバイナリデータを読み込む
    const std::string input_name1 = "Data/Map/XYZTile/Elevation/Data/ElevationData20231030/2010/1/zxy_1_0_0.bin";
    paxs::Input16BitBinary i16bbe(input_name1, "./../../../");

    std::int_least16_t xyz_tiles1[256 * 256]{};
    i16bbe.calc(xyz_tiles1);

    // 傾斜のバイナリデータを読み込む
    const std::string input_name2 = "Data/Map/XYZTile/Slope/Data/SlopeData20231029/2010/8/zxy_8_0_76.bin";
    paxs::Input8BitBinary i8bbs(input_name2, "./../../../");

    unsigned char xyz_tiles2[256 * 256]{};
    i8bbs.calc(xyz_tiles2);

@AsPJT AsPJT requested a review from guinpen98 October 30, 2023 12:52
Library/PAX_MAHOROBA/XYZTiles.hpp Show resolved Hide resolved
Library/PAX_MAHOROBA/XYZTiles.hpp Show resolved Hide resolved
Library/PAX_MAHOROBA/XYZTiles.hpp Show resolved Hide resolved
@guinpen98
Copy link
Collaborator

Slope, SlopeType, StringExtensionsの単体テストを追加してください

@AsPJT AsPJT merged commit 066488a into develop Oct 31, 2023
5 checks passed
@AsPJT AsPJT deleted the feature-binary-data-io branch October 31, 2023 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants