User Tools

Site Tools


postgis

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
postgis [2020/02/12 12:05]
mantis [Export table to geojson]
postgis [2020/02/12 12:06] (current)
mantis [Export table to geojson]
Line 120: Line 120:
 Building a FeatureCollection ([[https://​postgis.net/​docs/​ST_AsGeoJSON.html|docs]],​ [[https://​gist.github.com/​brambow/​889aca48831e189a62eec5a70067bf8e|code snippet]]): Building a FeatureCollection ([[https://​postgis.net/​docs/​ST_AsGeoJSON.html|docs]],​ [[https://​gist.github.com/​brambow/​889aca48831e189a62eec5a70067bf8e|code snippet]]):
  
-<​code ​psql>+<​code ​sql>
  ​SELECT json_build_object(  ​SELECT json_build_object(
     '​type',​ '​FeatureCollection',​     '​type',​ '​FeatureCollection',​
postgis.1581505543.txt.gz ยท Last modified: 2020/02/12 12:05 by mantis