I have a table with geospatial objects, in particular, polygons. I know that I can generate from one row a geoJSON string using ST_AsGeoJSON
(http://www.postgis.org/docs/ST_AsGeoJSON.html). But I would like to generate one geoJSON from all the table. Is this possible? How can I do it?
Thanks in advance