pg_tileserv
martin
Our great sponsors
pg_tileserv | martin | |
---|---|---|
5 | 6 | |
792 | 1,873 | |
2.5% | 8.8% | |
7.2 | 9.7 | |
about 1 month ago | 4 days ago | |
Go | Rust | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pg_tileserv
-
Generating Vector Tiles with PostGIS and Python for OpenLayers Map Rendering
Fine for a POC but there are much better libraries for serving MVT, for instance: https://github.com/CrunchyData/pg_tileserv
-
I have a shapefile with 35 fields. I need to build a web map to allow users to query it. What approach should I take
If it's small as in the couple-of-MB range you could convert to GeoJSON, serve it as a static file fed into a small web app like u/techmavengeospatial suggested that handles filtering by query, and update the file as new data comes in. Alternatively if you want something more robust you can feed it into PostgreSQL and serve with something like pg_tileserv (with equivalent filtering in the web client).
-
Making a web based map working with millions of records
ArcGIS Online could be the right move as long as you set up the service correctly. You could also load the shapefile into a database like PostgreSQL and connect to the database via an API like Geoserver FastVector, or pg_tileserv. This would cause a lot more time, cost, and knowledge on your end though to host a database and api vs loading the data into the ESRI ecosystem.
-
I made a web dashboard using Python and FOSS tools to view my Strava data, take a look!
One thing I will recommend -- because it seems like you are simple using flask to query the DB and render to the frontend (just from looking through the code) you **MAY** be able to use https://github.com/CrunchyData/pg_tileserv and cut out the need to even have flask as a the server side language. Curious what your thoughts would be because I am currently working on a few web apps and in the past i've mainly used geodjango and flask as server side but recently created an entire application with postgres, pg_tileserv, leaflet
- Indexing OSM Data on Postgres/PostGIS database
martin
- Martin: Generate and serve vector tiles on the fly from multiple tile sources
- Generating Vector Tiles with PostGIS and Python for OpenLayers Map Rendering
- Rust Local Tile Server to display Geotiffs layer ?
-
How can I make my own tiles / handle data too big for webpages?
This? https://github.com/maplibre/martin
-
Self Hosting a Google Maps Alternative with OpenStreetMap
Martin (https://github.com/maplibre/martin) or Tegola (https://github.com/go-spatial/tegola) as the vector tile server
- Indexing OSM Data on Postgres/PostGIS database
What are some alternatives?
openstreetmap-carto - A general-purpose OpenStreetMap mapnik style, in CartoCSS
mapbox-gl-js - Interactive, thoroughly customizable maps in the browser, powered by vector tiles and WebGL
Flask_Website_Project - This repo contains all the source code for my Flask based website
tegola - Tegola is a Mapbox Vector Tile server written in Go
maplibre-gl-js - MapLibre GL JS - Interactive vector tile maps in WebGL2
leafmap - A Python package for interactive mapping and geospatial analysis with minimal coding in a Jupyter environment
binserve - A fast production-ready static web server with TLS (HTTPS), routing, hot reloading, caching, templating, and security in a single-binary you can set up with zero code.
litmus - A fast python HTTP server inspired by japronto written in rust.
localtileserver - 🌐 dynamic tile server for visualizing rasters in Jupyter with ipyleaflet or folium
FastGeofeature - FastGeofeature is a geospatial api to serve data via the OGC Features API standard.
react-map-components-maplibre - A react component framework for declarative GIS application development.