[gpl_list] Lidar REST service question
HARMON Robert C * WRD
Robert.C.Harmon at oregon.gov
Mon Mar 30 16:31:13 PDT 2020
Greetings fellow teleworkers!
I hope you all are well.
I wrote a Python tool for ArcMap a couple of years back that grabs the elevation under a point from the bare surface lidar mosaic that DOGAMI hosts. I'm updating the URL for the REST endpoint with the new folder structure that DOGAMI implemented in February. It's not working now even with the URL path updated. I was wondering if you knew of anybody that's using the REST services in this way so I can see what I'm doing wrong?
This was the URL that I was using in my code which worked (with sample lat/long (45, -123)):
https://gis.dogami.oregon.gov/arcgis/rest/services/Public/BareEarth/ImageServer/identify?&geometry={{"x":-123.0,"y":45.0,"spatialReference":{{"wkid":4326}}}}&geometryType=esriGeometryPoint
&returnGeometry=false&mosaicRule=&pixelSize=&f=pjson
Which I updated to:
https://gis.dogami.oregon.gov/arcgis/rest/services/lidar/DIGITAL_TERRAIN_MODEL_MOSAIC/ImageServer/identify?&geometry={{"x":-123.0,"y":45.0,"spatialReference":{{"wkid":4326}}}}&geometryType=esriGeometryPoint
&returnGeometry=false&mosaicRule=&pixelSize=&f=pjson
Any suggestions would be appreciated.
Thanks,
Bob
--
Robert Harmon, GISP
NHD Steward, State of Oregon
GIS Coordinator | Oregon Water Resources Dept.
725 Summer St. NE, Suite A | Salem, OR 97301-1266
503.986.0866 | robert.c.harmon at oregon.gov<mailto:robert.c.harmon at oregon.gov> | https://www.oregon.gov/OWRD
[cid:image001.png at 01D606A7.1CB07600]
Integrity | Service | Technical Excellence | Teamwork | Forward-Looking
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omls.oregon.gov/pipermail/gpl_list/attachments/20200330/24b5af70/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 10074 bytes
Desc: image001.png
URL: <https://omls.oregon.gov/pipermail/gpl_list/attachments/20200330/24b5af70/attachment.png>
More information about the gpl_list
mailing list