├── .cursorrules ├── .editorconfig ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── PULL_REQUEST_TEMPLATE.md └── workflows │ ├── pythonpackagetest.yml │ └── pythonpublish.yml ├── .gitignore ├── .gitmodules ├── .pre-commit-config.yaml ├── .vscode └── settings.json ├── AI_AGENT_GUIDE.md ├── CONTRIBUTING.md ├── LICENSE ├── MIGRATION_NOTES.md ├── MODERNIZATION.md ├── Makefile ├── README.md ├── RELEASE_GUIDE.md ├── bump_version.sh ├── osm2geojson ├── __init__.py ├── __main__.py ├── areaKeys.json ├── helpers.py ├── main.py ├── parse_xml.py └── polygon-features.json ├── pyproject.toml ├── test_build.sh ├── tests ├── __init__.py ├── conftest.py ├── data │ ├── barrier-wall.geojson │ ├── barrier-wall.osm │ ├── center-feature.geojson │ ├── center-feature.json │ ├── empty.geojson │ ├── empty.json │ ├── empty.osm │ ├── issue-16.geojson │ ├── issue-16.json │ ├── issue-35.geojson │ ├── issue-35.json │ ├── issue-4.geojson │ ├── issue-4.osm │ ├── issue-52-highway-service-closed.geojson │ ├── issue-52-highway-service-closed.json │ ├── issue-54-staffordshire.osm │ ├── issue-6.geojson │ ├── issue-6.json │ ├── issue-7.geojson │ ├── issue-7.json │ ├── issue-9-all.geojson │ ├── issue-9.geojson │ ├── issue-9.json │ ├── map.geojson │ ├── map.json │ ├── map.osm │ ├── meta.geojson │ ├── meta.json │ ├── node.geojson │ ├── node.json │ ├── node.osm │ ├── relation.geojson │ ├── relation.json │ ├── relation.osm │ ├── way.geojson │ ├── way.json │ └── way.osm ├── test_issue_54.py ├── test_main.py ├── test_parse_xml.py └── test_polygon_logic.py └── update-osm-polygon-features.sh /.cursorrules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/.cursorrules -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/workflows/pythonpackagetest.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/.github/workflows/pythonpackagetest.yml -------------------------------------------------------------------------------- /.github/workflows/pythonpublish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/.github/workflows/pythonpublish.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/.gitmodules -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /AI_AGENT_GUIDE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/AI_AGENT_GUIDE.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/LICENSE -------------------------------------------------------------------------------- /MIGRATION_NOTES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/MIGRATION_NOTES.md -------------------------------------------------------------------------------- /MODERNIZATION.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/MODERNIZATION.md -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/README.md -------------------------------------------------------------------------------- /RELEASE_GUIDE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/RELEASE_GUIDE.md -------------------------------------------------------------------------------- /bump_version.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/bump_version.sh -------------------------------------------------------------------------------- /osm2geojson/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/osm2geojson/__init__.py -------------------------------------------------------------------------------- /osm2geojson/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/osm2geojson/__main__.py -------------------------------------------------------------------------------- /osm2geojson/areaKeys.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/osm2geojson/areaKeys.json -------------------------------------------------------------------------------- /osm2geojson/helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/osm2geojson/helpers.py -------------------------------------------------------------------------------- /osm2geojson/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/osm2geojson/main.py -------------------------------------------------------------------------------- /osm2geojson/parse_xml.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/osm2geojson/parse_xml.py -------------------------------------------------------------------------------- /osm2geojson/polygon-features.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/osm2geojson/polygon-features.json -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/pyproject.toml -------------------------------------------------------------------------------- /test_build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/test_build.sh -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/tests/__init__.py -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/data/barrier-wall.geojson: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/tests/data/barrier-wall.geojson -------------------------------------------------------------------------------- /tests/data/barrier-wall.osm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/tests/data/barrier-wall.osm -------------------------------------------------------------------------------- /tests/data/center-feature.geojson: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/tests/data/center-feature.geojson -------------------------------------------------------------------------------- /tests/data/center-feature.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/tests/data/center-feature.json -------------------------------------------------------------------------------- /tests/data/empty.geojson: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/tests/data/empty.geojson -------------------------------------------------------------------------------- /tests/data/empty.json: -------------------------------------------------------------------------------- 1 | { 2 | "elements": [] 3 | } 4 | -------------------------------------------------------------------------------- /tests/data/empty.osm: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/data/issue-16.geojson: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/tests/data/issue-16.geojson -------------------------------------------------------------------------------- /tests/data/issue-16.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/tests/data/issue-16.json -------------------------------------------------------------------------------- /tests/data/issue-35.geojson: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/tests/data/issue-35.geojson -------------------------------------------------------------------------------- /tests/data/issue-35.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/tests/data/issue-35.json -------------------------------------------------------------------------------- /tests/data/issue-4.geojson: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/tests/data/issue-4.geojson -------------------------------------------------------------------------------- /tests/data/issue-4.osm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/tests/data/issue-4.osm -------------------------------------------------------------------------------- /tests/data/issue-52-highway-service-closed.geojson: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/tests/data/issue-52-highway-service-closed.geojson -------------------------------------------------------------------------------- /tests/data/issue-52-highway-service-closed.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/tests/data/issue-52-highway-service-closed.json -------------------------------------------------------------------------------- /tests/data/issue-54-staffordshire.osm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/tests/data/issue-54-staffordshire.osm -------------------------------------------------------------------------------- /tests/data/issue-6.geojson: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/tests/data/issue-6.geojson -------------------------------------------------------------------------------- /tests/data/issue-6.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/tests/data/issue-6.json -------------------------------------------------------------------------------- /tests/data/issue-7.geojson: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/tests/data/issue-7.geojson -------------------------------------------------------------------------------- /tests/data/issue-7.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/tests/data/issue-7.json -------------------------------------------------------------------------------- /tests/data/issue-9-all.geojson: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/tests/data/issue-9-all.geojson -------------------------------------------------------------------------------- /tests/data/issue-9.geojson: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/tests/data/issue-9.geojson -------------------------------------------------------------------------------- /tests/data/issue-9.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/tests/data/issue-9.json -------------------------------------------------------------------------------- /tests/data/map.geojson: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/tests/data/map.geojson -------------------------------------------------------------------------------- /tests/data/map.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/tests/data/map.json -------------------------------------------------------------------------------- /tests/data/map.osm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/tests/data/map.osm -------------------------------------------------------------------------------- /tests/data/meta.geojson: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/tests/data/meta.geojson -------------------------------------------------------------------------------- /tests/data/meta.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/tests/data/meta.json -------------------------------------------------------------------------------- /tests/data/node.geojson: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/tests/data/node.geojson -------------------------------------------------------------------------------- /tests/data/node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/tests/data/node.json -------------------------------------------------------------------------------- /tests/data/node.osm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/tests/data/node.osm -------------------------------------------------------------------------------- /tests/data/relation.geojson: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/tests/data/relation.geojson -------------------------------------------------------------------------------- /tests/data/relation.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/tests/data/relation.json -------------------------------------------------------------------------------- /tests/data/relation.osm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/tests/data/relation.osm -------------------------------------------------------------------------------- /tests/data/way.geojson: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/tests/data/way.geojson -------------------------------------------------------------------------------- /tests/data/way.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/tests/data/way.json -------------------------------------------------------------------------------- /tests/data/way.osm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/tests/data/way.osm -------------------------------------------------------------------------------- /tests/test_issue_54.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/tests/test_issue_54.py -------------------------------------------------------------------------------- /tests/test_main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/tests/test_main.py -------------------------------------------------------------------------------- /tests/test_parse_xml.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/tests/test_parse_xml.py -------------------------------------------------------------------------------- /tests/test_polygon_logic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/tests/test_polygon_logic.py -------------------------------------------------------------------------------- /update-osm-polygon-features.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspectumapp/osm2geojson/HEAD/update-osm-polygon-features.sh --------------------------------------------------------------------------------