How to Make Maps Using Leaflet.js, PostGIS and Chicago Open Data
11–20 of 23 posts
Re: How to Make Maps Using Leaflet.js, PostGIS and Chicago Open Data
#12Re: How to Make Maps Using Leaflet.js, PostGIS and Chicago Open Data
#13A fun tip, if you're using PostGIS you can actually generate the Geojson directly in the SQL query with http://www.postgis.org/docs/ST_AsGeoJSON.html and if you're running a version of PostGIS with protobuffers enabled (Not AWS RDS) you can generate vector tiles on the fly with https://postgis.net/docs/ST_AsMVT.html which are great for displaying large datasets.
The vector file seems really useful. I ran a query that resulted in a 1.5 GB geojson file... much too big for Leaflet. Maybe the Vector tile would be compact enough? Thanks!
https://github.com/topojson/topojson-simplify
https://medium.com/@mbostock/command-line-cartography-part-1...
Re: How to Make Maps Using Leaflet.js, PostGIS and Chicago Open Data
#14A fun tip, if you're using PostGIS you can actually generate the Geojson directly in the SQL query with http://www.postgis.org/docs/ST_AsGeoJSON.html and if you're running a version of PostGIS with protobuffers enabled (Not AWS RDS) you can generate vector tiles on the fly with https://postgis.net/docs/ST_AsMVT.html which are great for displaying large datasets.
The vector file seems really useful. I ran a query that resulted in a 1.5 GB geojson file... much too big for Leaflet. Maybe the Vector tile would be compact enough? Thanks!
Re: How to Make Maps Using Leaflet.js, PostGIS and Chicago Open Data
#15Does anyone have a link to a decent primer on PostGIS please?
Re: How to Make Maps Using Leaflet.js, PostGIS and Chicago Open Data
#16A fun tip, if you're using PostGIS you can actually generate the Geojson directly in the SQL query with http://www.postgis.org/docs/ST_AsGeoJSON.html and if you're running a version of PostGIS with protobuffers enabled (Not AWS RDS) you can generate vector tiles on the fly with https://postgis.net/docs/ST_AsMVT.html which are great for displaying large datasets.
Re: How to Make Maps Using Leaflet.js, PostGIS and Chicago Open Data
#17Re: How to Make Maps Using Leaflet.js, PostGIS and Chicago Open Data
#18See the video a dog shopping and lots of other acts like humans http://bit.ly/2DCpo9I
Fish walking with legs like humans See the video on link below http://bit.ly/2XRGyYD
This couple is different Girls are both twins and boys are also twin brothers see how they look in video http://bit.ly/2VwoZQd
A cute dog is dancing in video Just watch this video and try to control your laugh http://bit.ly/2ZK1XVs
Re: How to Make Maps Using Leaflet.js, PostGIS and Chicago Open Data
#19A fun tip, if you're using PostGIS you can actually generate the Geojson directly in the SQL query with http://www.postgis.org/docs/ST_AsGeoJSON.html and if you're running a version of PostGIS with protobuffers enabled (Not AWS RDS) you can generate vector tiles on the fly with https://postgis.net/docs/ST_AsMVT.html which are great for displaying large datasets.
The vector file seems really useful. I ran a query that resulted in a 1.5 GB geojson file... much too big for Leaflet. Maybe the Vector tile would be compact enough? Thanks!
I've done this for GeoJSON tiles for a long time, before the MVT tiles. The MVT tiles pack way more data though, but are not a solution to the O(n2) problem.
Re: How to Make Maps Using Leaflet.js, PostGIS and Chicago Open Data
#20Earlier quoted context omitted.
The vector file seems really useful. I ran a query that resulted in a 1.5 GB geojson file... much too big for Leaflet. Maybe the Vector tile would be compact enough? Thanks!
Reduce the precision, 15 decimal places are useful for picometers, not a web map. Try 5-6.