├── .clang-format ├── .gitignore ├── .gitmodules ├── .travis.yml ├── LICENSE ├── Makefile ├── README.md ├── include └── mapbox │ ├── geojson.hpp │ ├── geojson │ ├── rapidjson.hpp │ └── value.hpp │ ├── geojson_impl.hpp │ └── geojson_value_impl.hpp ├── src └── mapbox │ └── geojson.cpp └── test ├── fixtures ├── array.json ├── feature-collection.json ├── feature-id.json ├── feature-missing-properties.json ├── feature-null-geometry.json ├── feature-null-properties.json ├── feature.json ├── geometry-collection.json ├── invalid-line-string.json ├── invalid-multi-line-string.json ├── invalid-multi-polygon-2.json ├── invalid-multi-polygon.json ├── invalid-polygon-2.json ├── invalid-polygon.json ├── invalid.json ├── line-string.json ├── multi-line-string.json ├── multi-point.json ├── multi-polygon.json ├── null.json ├── point.json └── polygon.json ├── test.cpp └── test_value.cpp /.clang-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/geojson-cpp/HEAD/.clang-format -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | mason_packages 2 | build 3 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/geojson-cpp/HEAD/.gitmodules -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/geojson-cpp/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/geojson-cpp/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/geojson-cpp/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/geojson-cpp/HEAD/README.md -------------------------------------------------------------------------------- /include/mapbox/geojson.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/geojson-cpp/HEAD/include/mapbox/geojson.hpp -------------------------------------------------------------------------------- /include/mapbox/geojson/rapidjson.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/geojson-cpp/HEAD/include/mapbox/geojson/rapidjson.hpp -------------------------------------------------------------------------------- /include/mapbox/geojson/value.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/geojson-cpp/HEAD/include/mapbox/geojson/value.hpp -------------------------------------------------------------------------------- /include/mapbox/geojson_impl.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/geojson-cpp/HEAD/include/mapbox/geojson_impl.hpp -------------------------------------------------------------------------------- /include/mapbox/geojson_value_impl.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/geojson-cpp/HEAD/include/mapbox/geojson_value_impl.hpp -------------------------------------------------------------------------------- /src/mapbox/geojson.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/geojson-cpp/HEAD/src/mapbox/geojson.cpp -------------------------------------------------------------------------------- /test/fixtures/array.json: -------------------------------------------------------------------------------- 1 | ["test", "array"] -------------------------------------------------------------------------------- /test/fixtures/feature-collection.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/geojson-cpp/HEAD/test/fixtures/feature-collection.json -------------------------------------------------------------------------------- /test/fixtures/feature-id.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/geojson-cpp/HEAD/test/fixtures/feature-id.json -------------------------------------------------------------------------------- /test/fixtures/feature-missing-properties.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/geojson-cpp/HEAD/test/fixtures/feature-missing-properties.json -------------------------------------------------------------------------------- /test/fixtures/feature-null-geometry.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/geojson-cpp/HEAD/test/fixtures/feature-null-geometry.json -------------------------------------------------------------------------------- /test/fixtures/feature-null-properties.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/geojson-cpp/HEAD/test/fixtures/feature-null-properties.json -------------------------------------------------------------------------------- /test/fixtures/feature.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/geojson-cpp/HEAD/test/fixtures/feature.json -------------------------------------------------------------------------------- /test/fixtures/geometry-collection.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/geojson-cpp/HEAD/test/fixtures/geometry-collection.json -------------------------------------------------------------------------------- /test/fixtures/invalid-line-string.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/geojson-cpp/HEAD/test/fixtures/invalid-line-string.json -------------------------------------------------------------------------------- /test/fixtures/invalid-multi-line-string.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/geojson-cpp/HEAD/test/fixtures/invalid-multi-line-string.json -------------------------------------------------------------------------------- /test/fixtures/invalid-multi-polygon-2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/geojson-cpp/HEAD/test/fixtures/invalid-multi-polygon-2.json -------------------------------------------------------------------------------- /test/fixtures/invalid-multi-polygon.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/geojson-cpp/HEAD/test/fixtures/invalid-multi-polygon.json -------------------------------------------------------------------------------- /test/fixtures/invalid-polygon-2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/geojson-cpp/HEAD/test/fixtures/invalid-polygon-2.json -------------------------------------------------------------------------------- /test/fixtures/invalid-polygon.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/geojson-cpp/HEAD/test/fixtures/invalid-polygon.json -------------------------------------------------------------------------------- /test/fixtures/invalid.json: -------------------------------------------------------------------------------- 1 | { "sdf": } 2 | -------------------------------------------------------------------------------- /test/fixtures/line-string.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/geojson-cpp/HEAD/test/fixtures/line-string.json -------------------------------------------------------------------------------- /test/fixtures/multi-line-string.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/geojson-cpp/HEAD/test/fixtures/multi-line-string.json -------------------------------------------------------------------------------- /test/fixtures/multi-point.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/geojson-cpp/HEAD/test/fixtures/multi-point.json -------------------------------------------------------------------------------- /test/fixtures/multi-polygon.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/geojson-cpp/HEAD/test/fixtures/multi-polygon.json -------------------------------------------------------------------------------- /test/fixtures/null.json: -------------------------------------------------------------------------------- 1 | null -------------------------------------------------------------------------------- /test/fixtures/point.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/geojson-cpp/HEAD/test/fixtures/point.json -------------------------------------------------------------------------------- /test/fixtures/polygon.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/geojson-cpp/HEAD/test/fixtures/polygon.json -------------------------------------------------------------------------------- /test/test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/geojson-cpp/HEAD/test/test.cpp -------------------------------------------------------------------------------- /test/test_value.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/geojson-cpp/HEAD/test/test_value.cpp --------------------------------------------------------------------------------