|
|
|
|
|
by SOLAR_FIELDS
3250 days ago
|
|
I work in this sector - best and simplest use-case is to run your own OSM basemap and satellite tiles and fetch them on the client using Leaflet, embedding them in your application and rendering the data on top of it. You'd only probably want to support one or two projections out of the box (EPSG 4326 and 3857, the respective geographic and projected coordinate systems that pretty much are the de-facto standard in GIS). The end-user would have to use PostGIS spatial query to project the data if they wanted to see it on map. Then you would retrieve the extent (bounding box) of the data from the query, send that to your server, fetch the tiles, and have the Leaflet client render basemap under the data. You could look into https://github.com/lukasmartinelli/osm-liberty for some inspiration of self-hosted OSM. |
|