File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -610,6 +610,19 @@ For spatial support there is an extra set of filters that can be applied on geom
610
610
611
611
These filters are based on OGC standards and so is the WKT specification in which the geometry columns are represented.
612
612
613
+ #### GeoJSON
614
+
615
+ The GeoJSON support is a read-only view on the tables and records in GeoJSON format. These requests are supported:
616
+
617
+ method path - operation - description
618
+ ----------------------------------------------------------------------------------------
619
+ GET /geojson/{table} - list - lists records as a GeoJSON FeatureCollection
620
+ GET /geojson/{table}/{id} - read - reads a record by PK as a GeoJSON Feature
621
+
622
+ The "` /geojson ` " endpoint will only show what is allowed in your session. It also supports a "geometry"
623
+ parameter to indicate the name of the geometry column in case the table has more than one of them.
624
+ Add the "geojson" controller in the configuration to enable this functionality.
625
+
613
626
### Authentication
614
627
615
628
Authentication is done by means of sending a "Authorization" header. It identifies the user and stores this in the ` $_SESSION ` super global.
You can’t perform that action at this time.
0 commit comments