Skip to content

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
@guinpen98
Copy link
Collaborator

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

@AsPJT AsPJT merged commit 066488a into develop Oct 31, 2023
@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