ConservationMetrics / mapgl-tile-renderer

Headless Node.js Maplibre-GL renderer for generating MBTiles with styled raster tiles.
MIT License
11 stars 3 forks source link

New ability to download and overlay styled OSM data for satellite imagery sources #37

Closed rudokemper closed 7 months ago

rudokemper commented 7 months ago

Closes #36.

Goal

The objective here is to add an optional, minimal overlay of OpenStreetMap data on top of satellite imagery sources within the task bounding box, to help contextualize location.

Screenshots

image Note that some of the labeling is cut off. This is due to how tiles are generated - the renderer doesn't know about any spatial data in adjacent tiles that may have labels bleeding into the next tile. I don't know of a workaround for this; I've seen the same when exporting raster tiles from vector data in QGIS.

What I changed

What I'm not doing here

As mentioned above, the styling of OSM data is quite rudimentary, but it worked for the geographies where I was testing (see screenshot). I would be interested if folks could test this functionality in other geographies and recommend styling tweaks on that basis.