Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/answerquest/pune_watershed_map
overlay georeferenced and tiled watershed layers on top of a leaflet map dynamically
https://github.com/answerquest/pune_watershed_map
Last synced: 16 days ago
JSON representation
overlay georeferenced and tiled watershed layers on top of a leaflet map dynamically
- Host: GitHub
- URL: https://github.com/answerquest/pune_watershed_map
- Owner: answerquest
- License: mit
- Created: 2022-05-19T01:36:48.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-05-19T01:39:24.000Z (over 2 years ago)
- Last Synced: 2024-10-24T03:29:04.081Z (about 2 months ago)
- Language: CSS
- Size: 563 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Pune Watershed Overlap Map
Developed by Nikhil VJ for CEE India in 2019
Contact: nikhil.js (at) gmail (dot) comWatershed raster images shared by CEE were geoferenced on QGIS using [Freehand raster georeferencer plugin](https://plugins.qgis.org/plugins/FreehandRasterGeoreferencer/) , then broken up into XYZ map tiles (using [QTiles plugin](https://plugins.qgis.org/plugins/qtiles/) in QGIS itself).
HTML file contains javascript to load map and change the tile source for a layer depending on dropdown selection.
The generated map tiles, being of v.high number, are hosted at: https://server.nikhilvj.co.in/watershed_overlap_map/tiles/ instead of on github.
This work is published under MIT Open License for open sharing
## Running on local system
If you just want to see the changing overlay tiles and don't care about the boundary layers, then you can just open the .html in your web browser; should run directly.
To load the boundary layers, a http server like setup is needed as the .geojson shapes are loaded dynamically and browsers don't allow this with html's opened from local folder.
Pls run python's simple http server command in the same folder, or please get an equivalent local web server software (you can find many on the web)
```
python -m http.server
```
Note: if your system has both python 2 and 3, then you may need to type "python3" instead of "python"Then this folder will be deployed on http://localhost:8000
----