Skip to content

Cannot load map file #66

Closed
Closed
@trinhtuanlong

Description

When I try to load the geotiff.map.json rocky throws the following error (openstreetmap.map.json works fine):

rocky_demo --map .VSG/rocky/data/geotiff.map.json
[rocky info] Running from: /home/longtt/.VSG/release/rocky/bin/
rocky_demo: /usr/local/include/nlohmann/json.hpp:2147: const nlohmann::json_abi_v3_11_3::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType, CustomBaseClass>::value_type& nlohmann::json_abi_v3_11_3::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType, CustomBaseClass>::operator[](const typename object_t::key_type&) const [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string<char>; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_abi_v3_11_3::adl_serializer; BinaryType = std::vector<unsigned char>; CustomBaseClass = void; const_reference = const nlohmann::json_abi_v3_11_3::basic_json<>&; typename object_t::key_type = std::__cxx11::basic_string<char>; object_t = std::map<std::__cxx11::basic_string<char>, nlohmann::json_abi_v3_11_3::basic_json<>, std::less<void>, std::allocator<std::pair<const std::__cxx11::basic_string<char>, nlohmann::json_abi_v3_11_3::basic_json<> > > >]: Assertion `it != m_data.m_value.object->end()' failed.
Aborted (core dumped)

Here is the output of --version-all

rocky_demo --version-all
[rocky info] Running from: /home/longtt/.VSG/release/rocky/bin/
cpp_httplib 0.18.1
entt 3.15.0
gdal 3.11.0dev-17e66b538f
glm 0.9.9.8
imgui 1.91.5 WIP
nlohmann_json 3.11
openssl 3.0.2
proj 9.6
rocky 0.6.2
spdlog 1.9.2
sqlite 3.46.1
vsgxchange 1.1.4
vulkanscenegraph 1.1.9
weejobs 1.0.2
zlib 1.3.1

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions