├── .dockerignore ├── .gitignore ├── LICENSE ├── README.md ├── docker-compose.yml ├── image.png ├── notebooks ├── Dockerfile ├── README.md └── notebooks │ ├── 01 - Rapperswil Pubs.ipynb │ ├── 02 - DBSCAN Tests.ipynb │ ├── 03 - Concave Hull.ipynb │ ├── 04 - Network Centrality.ipynb │ ├── 05 - Split POIs.ipynb │ ├── 06 - Optics Clustering.ipynb │ ├── 07 - DBSCAN local adaption.ipynb │ ├── 08 - Cut Streets.ipynb │ ├── 10 - Combine Network Centrality Demo Rapperswil.ipynb │ ├── 10 - Combine Network Centrality.ipynb │ ├── 11 - Sanatize.ipynb │ ├── 11- Exclude Water.ipynb │ ├── 12 - DBSCAN local adaption Raphi.ipynb │ ├── 13 - Loading geojson boundary into postgres.ipynb │ ├── 14 - DBSCAN Parameter Optimizer.ipynb │ ├── clip │ ├── Halle_AL8.GeoJson │ ├── Risch-Rotkreuz_AL8.GeoJson │ ├── Singapore_AL2.GeoJson │ └── Witikon_AL10.GeoJson │ ├── optics.py │ └── result │ ├── be │ └── lsa │ │ ├── halle_data.json │ │ ├── halle_eps(62)_minpoints(9).geojson │ │ └── halle_map_eps(62)_minpoints(9).html │ ├── ch │ ├── zg │ │ ├── risch-rotkreuz_data.json │ │ ├── risch-rotkreuz_eps(66)_minpoints(3).geojson │ │ └── risch-rotkreuz_map_eps(66)_minpoints(3).html │ └── zh │ │ ├── witikon_data.json │ │ ├── witikon_eps(65)_minpoints(4).geojson │ │ └── witikon_map_eps(65)_minpoints(4).html │ └── sg │ └── sg │ ├── singapore_data.json │ ├── singapore_eps(93)_minpoints(4).geojson │ └── singapore_map_eps(93)_minpoints(4).html ├── postgres └── alter_config.sh ├── test-cases ├── README.md └── manual_aoi │ ├── be_lsa_halle.geojson │ ├── ch_zg_risch-rotkreuz.geojson │ ├── ch_zh_witikon.geojson │ └── sg_sg_singapore.geojson └── webapp ├── Dockerfile ├── README.md ├── app ├── __init__.py ├── aoi_html_generator.py ├── aoi_query_generator.py ├── database.py ├── forms.py ├── html_map.py ├── map.py ├── routes.py ├── settings.py ├── static │ └── style.css └── templates │ ├── aoi.html │ ├── browse.html │ ├── index.html │ └── no_aoi.html ├── config.py ├── create_aois.py ├── import_osm.sh ├── pbf_filter_example.sh ├── requirements.txt ├── setup_pois.sh ├── sql ├── create_pois_table.sql └── precluster_pois.sql ├── static └── aois.geojson └── webapp.py /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/.dockerignore -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/README.md -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/image.png -------------------------------------------------------------------------------- /notebooks/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/notebooks/Dockerfile -------------------------------------------------------------------------------- /notebooks/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/notebooks/README.md -------------------------------------------------------------------------------- /notebooks/notebooks/01 - Rapperswil Pubs.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/notebooks/notebooks/01 - Rapperswil Pubs.ipynb -------------------------------------------------------------------------------- /notebooks/notebooks/02 - DBSCAN Tests.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/notebooks/notebooks/02 - DBSCAN Tests.ipynb -------------------------------------------------------------------------------- /notebooks/notebooks/03 - Concave Hull.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/notebooks/notebooks/03 - Concave Hull.ipynb -------------------------------------------------------------------------------- /notebooks/notebooks/04 - Network Centrality.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/notebooks/notebooks/04 - Network Centrality.ipynb -------------------------------------------------------------------------------- /notebooks/notebooks/05 - Split POIs.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/notebooks/notebooks/05 - Split POIs.ipynb -------------------------------------------------------------------------------- /notebooks/notebooks/06 - Optics Clustering.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/notebooks/notebooks/06 - Optics Clustering.ipynb -------------------------------------------------------------------------------- /notebooks/notebooks/07 - DBSCAN local adaption.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/notebooks/notebooks/07 - DBSCAN local adaption.ipynb -------------------------------------------------------------------------------- /notebooks/notebooks/08 - Cut Streets.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/notebooks/notebooks/08 - Cut Streets.ipynb -------------------------------------------------------------------------------- /notebooks/notebooks/10 - Combine Network Centrality Demo Rapperswil.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/notebooks/notebooks/10 - Combine Network Centrality Demo Rapperswil.ipynb -------------------------------------------------------------------------------- /notebooks/notebooks/10 - Combine Network Centrality.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/notebooks/notebooks/10 - Combine Network Centrality.ipynb -------------------------------------------------------------------------------- /notebooks/notebooks/11 - Sanatize.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/notebooks/notebooks/11 - Sanatize.ipynb -------------------------------------------------------------------------------- /notebooks/notebooks/11- Exclude Water.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/notebooks/notebooks/11- Exclude Water.ipynb -------------------------------------------------------------------------------- /notebooks/notebooks/12 - DBSCAN local adaption Raphi.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/notebooks/notebooks/12 - DBSCAN local adaption Raphi.ipynb -------------------------------------------------------------------------------- /notebooks/notebooks/13 - Loading geojson boundary into postgres.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/notebooks/notebooks/13 - Loading geojson boundary into postgres.ipynb -------------------------------------------------------------------------------- /notebooks/notebooks/14 - DBSCAN Parameter Optimizer.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/notebooks/notebooks/14 - DBSCAN Parameter Optimizer.ipynb -------------------------------------------------------------------------------- /notebooks/notebooks/clip/Halle_AL8.GeoJson: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/notebooks/notebooks/clip/Halle_AL8.GeoJson -------------------------------------------------------------------------------- /notebooks/notebooks/clip/Risch-Rotkreuz_AL8.GeoJson: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/notebooks/notebooks/clip/Risch-Rotkreuz_AL8.GeoJson -------------------------------------------------------------------------------- /notebooks/notebooks/clip/Singapore_AL2.GeoJson: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/notebooks/notebooks/clip/Singapore_AL2.GeoJson -------------------------------------------------------------------------------- /notebooks/notebooks/clip/Witikon_AL10.GeoJson: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/notebooks/notebooks/clip/Witikon_AL10.GeoJson -------------------------------------------------------------------------------- /notebooks/notebooks/optics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/notebooks/notebooks/optics.py -------------------------------------------------------------------------------- /notebooks/notebooks/result/be/lsa/halle_data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/notebooks/notebooks/result/be/lsa/halle_data.json -------------------------------------------------------------------------------- /notebooks/notebooks/result/be/lsa/halle_eps(62)_minpoints(9).geojson: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/notebooks/notebooks/result/be/lsa/halle_eps(62)_minpoints(9).geojson -------------------------------------------------------------------------------- /notebooks/notebooks/result/be/lsa/halle_map_eps(62)_minpoints(9).html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/notebooks/notebooks/result/be/lsa/halle_map_eps(62)_minpoints(9).html -------------------------------------------------------------------------------- /notebooks/notebooks/result/ch/zg/risch-rotkreuz_data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/notebooks/notebooks/result/ch/zg/risch-rotkreuz_data.json -------------------------------------------------------------------------------- /notebooks/notebooks/result/ch/zg/risch-rotkreuz_eps(66)_minpoints(3).geojson: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/notebooks/notebooks/result/ch/zg/risch-rotkreuz_eps(66)_minpoints(3).geojson -------------------------------------------------------------------------------- /notebooks/notebooks/result/ch/zg/risch-rotkreuz_map_eps(66)_minpoints(3).html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/notebooks/notebooks/result/ch/zg/risch-rotkreuz_map_eps(66)_minpoints(3).html -------------------------------------------------------------------------------- /notebooks/notebooks/result/ch/zh/witikon_data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/notebooks/notebooks/result/ch/zh/witikon_data.json -------------------------------------------------------------------------------- /notebooks/notebooks/result/ch/zh/witikon_eps(65)_minpoints(4).geojson: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/notebooks/notebooks/result/ch/zh/witikon_eps(65)_minpoints(4).geojson -------------------------------------------------------------------------------- /notebooks/notebooks/result/ch/zh/witikon_map_eps(65)_minpoints(4).html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/notebooks/notebooks/result/ch/zh/witikon_map_eps(65)_minpoints(4).html -------------------------------------------------------------------------------- /notebooks/notebooks/result/sg/sg/singapore_data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/notebooks/notebooks/result/sg/sg/singapore_data.json -------------------------------------------------------------------------------- /notebooks/notebooks/result/sg/sg/singapore_eps(93)_minpoints(4).geojson: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/notebooks/notebooks/result/sg/sg/singapore_eps(93)_minpoints(4).geojson -------------------------------------------------------------------------------- /notebooks/notebooks/result/sg/sg/singapore_map_eps(93)_minpoints(4).html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/notebooks/notebooks/result/sg/sg/singapore_map_eps(93)_minpoints(4).html -------------------------------------------------------------------------------- /postgres/alter_config.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/postgres/alter_config.sh -------------------------------------------------------------------------------- /test-cases/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/test-cases/README.md -------------------------------------------------------------------------------- /test-cases/manual_aoi/be_lsa_halle.geojson: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/test-cases/manual_aoi/be_lsa_halle.geojson -------------------------------------------------------------------------------- /test-cases/manual_aoi/ch_zg_risch-rotkreuz.geojson: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/test-cases/manual_aoi/ch_zg_risch-rotkreuz.geojson -------------------------------------------------------------------------------- /test-cases/manual_aoi/ch_zh_witikon.geojson: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/test-cases/manual_aoi/ch_zh_witikon.geojson -------------------------------------------------------------------------------- /test-cases/manual_aoi/sg_sg_singapore.geojson: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/test-cases/manual_aoi/sg_sg_singapore.geojson -------------------------------------------------------------------------------- /webapp/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/webapp/Dockerfile -------------------------------------------------------------------------------- /webapp/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/webapp/README.md -------------------------------------------------------------------------------- /webapp/app/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/webapp/app/__init__.py -------------------------------------------------------------------------------- /webapp/app/aoi_html_generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/webapp/app/aoi_html_generator.py -------------------------------------------------------------------------------- /webapp/app/aoi_query_generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/webapp/app/aoi_query_generator.py -------------------------------------------------------------------------------- /webapp/app/database.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/webapp/app/database.py -------------------------------------------------------------------------------- /webapp/app/forms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/webapp/app/forms.py -------------------------------------------------------------------------------- /webapp/app/html_map.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/webapp/app/html_map.py -------------------------------------------------------------------------------- /webapp/app/map.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /webapp/app/routes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/webapp/app/routes.py -------------------------------------------------------------------------------- /webapp/app/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/webapp/app/settings.py -------------------------------------------------------------------------------- /webapp/app/static/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/webapp/app/static/style.css -------------------------------------------------------------------------------- /webapp/app/templates/aoi.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/webapp/app/templates/aoi.html -------------------------------------------------------------------------------- /webapp/app/templates/browse.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/webapp/app/templates/browse.html -------------------------------------------------------------------------------- /webapp/app/templates/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/webapp/app/templates/index.html -------------------------------------------------------------------------------- /webapp/app/templates/no_aoi.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/webapp/app/templates/no_aoi.html -------------------------------------------------------------------------------- /webapp/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/webapp/config.py -------------------------------------------------------------------------------- /webapp/create_aois.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/webapp/create_aois.py -------------------------------------------------------------------------------- /webapp/import_osm.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/webapp/import_osm.sh -------------------------------------------------------------------------------- /webapp/pbf_filter_example.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/webapp/pbf_filter_example.sh -------------------------------------------------------------------------------- /webapp/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/webapp/requirements.txt -------------------------------------------------------------------------------- /webapp/setup_pois.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/webapp/setup_pois.sh -------------------------------------------------------------------------------- /webapp/sql/create_pois_table.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/webapp/sql/create_pois_table.sql -------------------------------------------------------------------------------- /webapp/sql/precluster_pois.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/webapp/sql/precluster_pois.sql -------------------------------------------------------------------------------- /webapp/static/aois.geojson: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/webapp/static/aois.geojson -------------------------------------------------------------------------------- /webapp/webapp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geometalab/aoi-osm/HEAD/webapp/webapp.py --------------------------------------------------------------------------------