PostGIS -> Raster Web Map Tiles (XYZ) Recommendations?

24 views
Skip to first unread message

Ryan Hodges

unread,
Oct 10, 2025, 3:10:14 PMOct 10
to PDX-OSGEO
Hi all,

I have a PostGIS table with (potentially) hundreds of thousands of features. I'd like to find a tool that would allow me to query a subset of those features (say 10k or so) and render those to web map tiles and serve them via them as a XYZ end point (or really .../z/x/y) to pull them into an OpenLayers front end. Ideally something light-weight with few dependencies -- some cartography options would be nice (like mapnik support) but we're not looking to do anything fancy.

Anything coming to mind?

P.S.: I'm all good on HVAC service recommendations, though I appreciate everyone's interest in maintaining healthy indoor air quality!

Anthony Lukach

unread,
Oct 10, 2025, 4:08:02 PMOct 10
to pdx-...@googlegroups.com
DevelopmentSeed has tipg (https://developmentseed.org/tipg/) which is part of the greater eoAPI suite (https://eoapi.dev/):

tipg, pronounced T[ee]pg, is a Python package that helps create lightweight OGC Features and Tiles API with a PostGIS Database backend.

That may do the trick for your needs?

--
You received this message because you are subscribed to the Google Groups "PDX-OSGEO" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pdx-osgeo+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/pdx-osgeo/2bfab192-5bf9-4fdb-a90c-5f926802a06en%40googlegroups.com.

Nicholas Romano

unread,
Oct 10, 2025, 4:24:25 PMOct 10
to pdx-...@googlegroups.com
You could also consider martin (https://github.com/maplibre/martin), I found it easy to use in the past.

rjsh...@gmail.com

unread,
Oct 10, 2025, 4:26:23 PMOct 10
to pdx-...@googlegroups.com
I was also going to say, we've had good luck with Martin: https://martin.maplibre.org/

You can create a "view" of your PostGIS table, then use Martin to render the tiles on-the-fly as Mapbox Vector Tiles. MVT is available for OpenLayers: https://openlayers.org/en/latest/examples/mapbox-vector-tiles-advanced.html

Best,
RJ Sheperd
Reply all
Reply to author
Forward
0 new messages