├── .clang-format ├── .cmake-format ├── .dockerignore ├── .gitattributes ├── .github └── workflows │ ├── build_wheels.yml │ └── test.yml ├── .gitignore ├── .gitmodules ├── .pre-commit-config.yaml ├── CHANGES.md ├── CMakeLists.txt ├── LICENSE ├── MANIFEST.in ├── README.md ├── Testing └── Temporary │ ├── CTestCostData.txt │ └── LastTest.log ├── benchmarks ├── README.md └── test_render.py ├── ci ├── Dockerfile.manylinux_2_28_aarch64 ├── Dockerfile.manylinux_2_28_x86_64 ├── build_linux_wheels.sh └── build_macos_wheels.sh ├── docker ├── Dockerfile.ubuntu24.04 └── README.md ├── include ├── log_observer.h ├── map.h └── spng.h ├── mln-core ├── maplibre-native-core.cmake ├── maplibre-native-linux.cmake └── maplibre-native-macos.cmake ├── pymgl ├── __init__.py ├── __init__.pyi ├── _version.py └── tests │ ├── __init__.py │ ├── common.py │ ├── conftest.py │ ├── fixtures │ ├── add-background-layer.png │ ├── add-geojson-point-layer.png │ ├── example-pattern.png │ ├── example-style-bad-glyphs.json │ ├── example-style-bad-remote.json │ ├── example-style-bad-source.json │ ├── example-style-bad-source.png │ ├── example-style-empty.json │ ├── example-style-empty.png │ ├── example-style-file-geojson.json │ ├── example-style-file-geojson.png │ ├── example-style-geojson-features.json │ ├── example-style-geojson-filter.json │ ├── example-style-geojson-filter.png │ ├── example-style-geojson-hidden-box.json │ ├── example-style-geojson-hidden-box.png │ ├── example-style-geojson-labels.json │ ├── example-style-geojson-labels.png │ ├── example-style-geojson.json │ ├── example-style-geojson.png │ ├── example-style-image-pattern.json │ ├── example-style-image-pattern.png │ ├── example-style-mapbox-source.json │ ├── example-style-mapbox-source.png │ ├── example-style-mbtiles-raster-source.json │ ├── example-style-mbtiles-raster-source.png │ ├── example-style-mbtiles-vector-source.json │ ├── example-style-mbtiles-vector-source.png │ ├── example-style-mbtiles-vector-source@2x.png │ ├── example-style-remote-image-source.json │ ├── example-style-remote-image-source.png │ ├── example-style-remote-raster.json │ ├── example-style-remote-raster.png │ ├── geography-class-png.mbtiles │ ├── land.mbtiles │ ├── mapbox-streets-v11.png │ └── test.geojson │ ├── test_map.py │ └── test_style.py ├── pyproject.toml ├── setup.py ├── src ├── _pymgl.cpp ├── map.cpp └── spng.c └── tests ├── CMakeLists.txt ├── README.md ├── StyleTest.cpp ├── WrapperTest.cpp ├── util.cpp └── util.h /.clang-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/.clang-format -------------------------------------------------------------------------------- /.cmake-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/.cmake-format -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- 1 | *.egg-info/* 2 | build/* 3 | *.so 4 | __pycache__ 5 | .venv -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | pymgl/_version.py export-subst 2 | -------------------------------------------------------------------------------- /.github/workflows/build_wheels.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/.github/workflows/build_wheels.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/.gitmodules -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /CHANGES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/CHANGES.md -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/README.md -------------------------------------------------------------------------------- /Testing/Temporary/CTestCostData.txt: -------------------------------------------------------------------------------- 1 | --- 2 | -------------------------------------------------------------------------------- /Testing/Temporary/LastTest.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/Testing/Temporary/LastTest.log -------------------------------------------------------------------------------- /benchmarks/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/benchmarks/README.md -------------------------------------------------------------------------------- /benchmarks/test_render.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/benchmarks/test_render.py -------------------------------------------------------------------------------- /ci/Dockerfile.manylinux_2_28_aarch64: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/ci/Dockerfile.manylinux_2_28_aarch64 -------------------------------------------------------------------------------- /ci/Dockerfile.manylinux_2_28_x86_64: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/ci/Dockerfile.manylinux_2_28_x86_64 -------------------------------------------------------------------------------- /ci/build_linux_wheels.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/ci/build_linux_wheels.sh -------------------------------------------------------------------------------- /ci/build_macos_wheels.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/ci/build_macos_wheels.sh -------------------------------------------------------------------------------- /docker/Dockerfile.ubuntu24.04: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/docker/Dockerfile.ubuntu24.04 -------------------------------------------------------------------------------- /docker/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/docker/README.md -------------------------------------------------------------------------------- /include/log_observer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/include/log_observer.h -------------------------------------------------------------------------------- /include/map.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/include/map.h -------------------------------------------------------------------------------- /include/spng.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/include/spng.h -------------------------------------------------------------------------------- /mln-core/maplibre-native-core.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/mln-core/maplibre-native-core.cmake -------------------------------------------------------------------------------- /mln-core/maplibre-native-linux.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/mln-core/maplibre-native-linux.cmake -------------------------------------------------------------------------------- /mln-core/maplibre-native-macos.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/mln-core/maplibre-native-macos.cmake -------------------------------------------------------------------------------- /pymgl/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/pymgl/__init__.py -------------------------------------------------------------------------------- /pymgl/__init__.pyi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/pymgl/__init__.pyi -------------------------------------------------------------------------------- /pymgl/_version.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/pymgl/_version.py -------------------------------------------------------------------------------- /pymgl/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pymgl/tests/common.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/pymgl/tests/common.py -------------------------------------------------------------------------------- /pymgl/tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/pymgl/tests/conftest.py -------------------------------------------------------------------------------- /pymgl/tests/fixtures/add-background-layer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/pymgl/tests/fixtures/add-background-layer.png -------------------------------------------------------------------------------- /pymgl/tests/fixtures/add-geojson-point-layer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/pymgl/tests/fixtures/add-geojson-point-layer.png -------------------------------------------------------------------------------- /pymgl/tests/fixtures/example-pattern.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/pymgl/tests/fixtures/example-pattern.png -------------------------------------------------------------------------------- /pymgl/tests/fixtures/example-style-bad-glyphs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/pymgl/tests/fixtures/example-style-bad-glyphs.json -------------------------------------------------------------------------------- /pymgl/tests/fixtures/example-style-bad-remote.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/pymgl/tests/fixtures/example-style-bad-remote.json -------------------------------------------------------------------------------- /pymgl/tests/fixtures/example-style-bad-source.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/pymgl/tests/fixtures/example-style-bad-source.json -------------------------------------------------------------------------------- /pymgl/tests/fixtures/example-style-bad-source.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/pymgl/tests/fixtures/example-style-bad-source.png -------------------------------------------------------------------------------- /pymgl/tests/fixtures/example-style-empty.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/pymgl/tests/fixtures/example-style-empty.json -------------------------------------------------------------------------------- /pymgl/tests/fixtures/example-style-empty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/pymgl/tests/fixtures/example-style-empty.png -------------------------------------------------------------------------------- /pymgl/tests/fixtures/example-style-file-geojson.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/pymgl/tests/fixtures/example-style-file-geojson.json -------------------------------------------------------------------------------- /pymgl/tests/fixtures/example-style-file-geojson.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/pymgl/tests/fixtures/example-style-file-geojson.png -------------------------------------------------------------------------------- /pymgl/tests/fixtures/example-style-geojson-features.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/pymgl/tests/fixtures/example-style-geojson-features.json -------------------------------------------------------------------------------- /pymgl/tests/fixtures/example-style-geojson-filter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/pymgl/tests/fixtures/example-style-geojson-filter.json -------------------------------------------------------------------------------- /pymgl/tests/fixtures/example-style-geojson-filter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/pymgl/tests/fixtures/example-style-geojson-filter.png -------------------------------------------------------------------------------- /pymgl/tests/fixtures/example-style-geojson-hidden-box.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/pymgl/tests/fixtures/example-style-geojson-hidden-box.json -------------------------------------------------------------------------------- /pymgl/tests/fixtures/example-style-geojson-hidden-box.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/pymgl/tests/fixtures/example-style-geojson-hidden-box.png -------------------------------------------------------------------------------- /pymgl/tests/fixtures/example-style-geojson-labels.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/pymgl/tests/fixtures/example-style-geojson-labels.json -------------------------------------------------------------------------------- /pymgl/tests/fixtures/example-style-geojson-labels.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/pymgl/tests/fixtures/example-style-geojson-labels.png -------------------------------------------------------------------------------- /pymgl/tests/fixtures/example-style-geojson.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/pymgl/tests/fixtures/example-style-geojson.json -------------------------------------------------------------------------------- /pymgl/tests/fixtures/example-style-geojson.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/pymgl/tests/fixtures/example-style-geojson.png -------------------------------------------------------------------------------- /pymgl/tests/fixtures/example-style-image-pattern.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/pymgl/tests/fixtures/example-style-image-pattern.json -------------------------------------------------------------------------------- /pymgl/tests/fixtures/example-style-image-pattern.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/pymgl/tests/fixtures/example-style-image-pattern.png -------------------------------------------------------------------------------- /pymgl/tests/fixtures/example-style-mapbox-source.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/pymgl/tests/fixtures/example-style-mapbox-source.json -------------------------------------------------------------------------------- /pymgl/tests/fixtures/example-style-mapbox-source.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/pymgl/tests/fixtures/example-style-mapbox-source.png -------------------------------------------------------------------------------- /pymgl/tests/fixtures/example-style-mbtiles-raster-source.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/pymgl/tests/fixtures/example-style-mbtiles-raster-source.json -------------------------------------------------------------------------------- /pymgl/tests/fixtures/example-style-mbtiles-raster-source.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/pymgl/tests/fixtures/example-style-mbtiles-raster-source.png -------------------------------------------------------------------------------- /pymgl/tests/fixtures/example-style-mbtiles-vector-source.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/pymgl/tests/fixtures/example-style-mbtiles-vector-source.json -------------------------------------------------------------------------------- /pymgl/tests/fixtures/example-style-mbtiles-vector-source.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/pymgl/tests/fixtures/example-style-mbtiles-vector-source.png -------------------------------------------------------------------------------- /pymgl/tests/fixtures/example-style-mbtiles-vector-source@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/pymgl/tests/fixtures/example-style-mbtiles-vector-source@2x.png -------------------------------------------------------------------------------- /pymgl/tests/fixtures/example-style-remote-image-source.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/pymgl/tests/fixtures/example-style-remote-image-source.json -------------------------------------------------------------------------------- /pymgl/tests/fixtures/example-style-remote-image-source.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/pymgl/tests/fixtures/example-style-remote-image-source.png -------------------------------------------------------------------------------- /pymgl/tests/fixtures/example-style-remote-raster.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/pymgl/tests/fixtures/example-style-remote-raster.json -------------------------------------------------------------------------------- /pymgl/tests/fixtures/example-style-remote-raster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/pymgl/tests/fixtures/example-style-remote-raster.png -------------------------------------------------------------------------------- /pymgl/tests/fixtures/geography-class-png.mbtiles: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/pymgl/tests/fixtures/geography-class-png.mbtiles -------------------------------------------------------------------------------- /pymgl/tests/fixtures/land.mbtiles: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/pymgl/tests/fixtures/land.mbtiles -------------------------------------------------------------------------------- /pymgl/tests/fixtures/mapbox-streets-v11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/pymgl/tests/fixtures/mapbox-streets-v11.png -------------------------------------------------------------------------------- /pymgl/tests/fixtures/test.geojson: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/pymgl/tests/fixtures/test.geojson -------------------------------------------------------------------------------- /pymgl/tests/test_map.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/pymgl/tests/test_map.py -------------------------------------------------------------------------------- /pymgl/tests/test_style.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/pymgl/tests/test_style.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/pyproject.toml -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/setup.py -------------------------------------------------------------------------------- /src/_pymgl.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/src/_pymgl.cpp -------------------------------------------------------------------------------- /src/map.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/src/map.cpp -------------------------------------------------------------------------------- /src/spng.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/src/spng.c -------------------------------------------------------------------------------- /tests/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/tests/CMakeLists.txt -------------------------------------------------------------------------------- /tests/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/tests/README.md -------------------------------------------------------------------------------- /tests/StyleTest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/tests/StyleTest.cpp -------------------------------------------------------------------------------- /tests/WrapperTest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/tests/WrapperTest.cpp -------------------------------------------------------------------------------- /tests/util.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/tests/util.cpp -------------------------------------------------------------------------------- /tests/util.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brendan-ward/pymgl/HEAD/tests/util.h --------------------------------------------------------------------------------