Thanks! The OGR method works great.
---
LAYER
NAME "resttest"
TYPE POINT
STATUS ON
CONNECTIONTYPE OGR
CONNECTION "https://example.com/query?format=geojson;
# DATA layername from:
#ogrinfo 'https://example.com/query?format=geojson'
DATA "OGRGeoJSON"
METADATA
Presumably you could use an OGR layer although I've not done it myself. I
guess I'd recommend starting with:
* https://mapserver.org/input/vector/ogr.html
* https://gdal.org/drivers/vector/esrijson.html#vector-esrijson
--Steve
On Thu, Jul 30, 2020 at 11:50 AM Scott wrote:
> I would like
I would like to use a REST API as a mapfile LAYER/DATA source, not output.
Can someone point me to the correct documentation for that?
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org