A Quick HTML page to show Geojson data and quick conversion code for geojson / gml files with wrong coordinate format
-
Check if your GeoJSON file is ready to be loaded into the HTML
- Coordinates in EPSG 4326?
- if not use file data_processing to create legit geoJSON
-
in index.html set filepath to your geoJSON and set initial view coordinates for map
-
with terminal cd into the folder where index.html and your geojson lie
- run: python3 -m http.server
- access your html file via localhost:8000 in your browser
- for more infos on local test servers see https://developer.mozilla.org/en-US/docs/Learn/Common_questions/Tools_and_setup/set_up_a_local_testing_server