<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.EmailStyle18
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:#1F497D;}
span.EmailStyle20
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:#1F497D;}
span.EmailStyle21
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle22
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Ah, the simple stuff! Thanks Brady!!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> gpl_list <gpl_list-bounces@listsmart.osl.state.or.us>
<b>On Behalf Of </b>CALLAHAN Brady * OPRD via gpl_list<br>
<b>Sent:</b> Monday, March 30, 2020 4:44 PM<br>
<b>To:</b> gpl_list@listsmart.osl.state.or.us<br>
<b>Subject:</b> Re: [gpl_list] Lidar REST service question<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hi Bob,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I just tried this:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><a href="https://gis.dogami.oregon.gov/arcgis/rest/services/lidar/DIGITAL_TERRAIN_MODEL_MOSAIC/ImageServer/identify?&geometry=%7b%22x%22:-123.0,%22y%22:45.0,%22spatialReference%22:%7b%22wkid%22:4326%7d%7d&geometryType=esriGeometryPoint">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</a><o:p></o:p></p>
<p class="MsoNormal">&returnGeometry=false&mosaicRule=&pixelSize=&f=pjson<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">and it appears to work OK. Note the reduction of curly braces for the Geometry feature.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hope it helps…<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><b><i><span style="color:#007A37;letter-spacing:2.0pt">Brady Callahan, GISP
</span></i></b>GIS Program Lead, sUAS Coordinator, Oregon Imagery FIT Lead<o:p></o:p></p>
<p class="MsoNormal"><b><span style="font-size:3.0pt;color:#A6A6A6">___________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________</span></b><span style="font-family:"Tahoma",sans-serif"><o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="color:#348AA2;letter-spacing:1.0pt"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><b><span style="color:#348AA2;letter-spacing:1.0pt">Oregon Parks and Recreation Department</span></b><span style="font-family:"Tahoma",sans-serif"><o:p></o:p></span></p>
<p class="MsoNormal">725 Summer St. NE, Suite C, Salem, Oregon 97301<span style="font-family:"Tahoma",sans-serif"><o:p></o:p></span></p>
<p class="MsoNormal">503.551.1871<o:p></o:p></p>
<p class="MsoNormal"><span style="color:blue"><a href="http://www.oregonstateparks.org">www.oregonstateparks.org</a></span><span style="font-family:"Tahoma",sans-serif"><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> gpl_list <<a href="mailto:gpl_list-bounces@listsmart.osl.state.or.us">gpl_list-bounces@listsmart.osl.state.or.us</a>>
<b>On Behalf Of </b>HARMON Robert C * WRD via gpl_list<br>
<b>Sent:</b> Monday, March 30, 2020 4:31 PM<br>
<b>To:</b> <a href="mailto:gpl_list@listsmart.osl.state.or.us">gpl_list@listsmart.osl.state.or.us</a><br>
<b>Subject:</b> [gpl_list] Lidar REST service question<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Greetings fellow teleworkers!<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I hope you all are well.<o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal">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?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">This was the URL that I was using in my code which worked (with sample lat/long (45,
<span style="color:#1F497D">-</span>123)):<span style="color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""><a href="https://gis.dogami.oregon.gov/arcgis/rest/services/Public/BareEarth/ImageServer/identify?&geometry=%7b%7b%22x%22:-123.0,%22y%22:45.0,%22spatialReference%22:%7b%7b%22wkid%22:4326%7d%7d%7d%7d&geometryType=esriGeometryPoint">https://gis.dogami.oregon.gov/arcgis/rest/services/Public/BareEarth/ImageServer/identify?&geometry={{"x":-123.0,"y":45.0,"spatialReference":{{"wkid":4326}}}}&geometryType=esriGeometryPoint</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">&returnGeometry=false&mosaicRule=&pixelSize=&f=pjson<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Which I updated to:<o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""><a href="https://gis.dogami.oregon.gov/arcgis/rest/services/lidar/DIGITAL_TERRAIN_MODEL_MOSAIC/ImageServer/identify?&geometry=%7b%7b%22x%22:-123.0,%22y%22:45.0,%22spatialReference%22:%7b%7b%22wkid%22:4326%7d%7d%7d%7d&geometryType=esriGeometryPoint">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</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">&returnGeometry=false&mosaicRule=&pixelSize=&f=pjson</span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Any suggestions would be appreciated.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">Bob<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:9.0pt">--<o:p></o:p></span></p>
<p class="MsoNormal">Robert Harmon, GISP<o:p></o:p></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt">NHD Steward, State of Oregon<o:p></o:p></span></i></p>
<p class="MsoNormal"><span style="font-size:9.0pt">GIS Coordinator | Oregon Water Resources Dept.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt">725 Summer St. NE, Suite A | Salem, OR 97301-1266<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt">503.986.0866 | <a href="mailto:robert.c.harmon@oregon.gov" title="blocked::mailto:robert.c.harmon@wrd.state.or.us">
<span style="color:blue">robert.c.harmon@oregon.gov</span></a> | <a href="https://www.oregon.gov/OWRD">
<span style="color:blue">https://www.oregon.gov/OWRD</span></a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><img border="0" width="183" height="64" style="width:1.9062in;height:.6666in" id="Picture_x0020_1" src="cid:image001.png@01D606B2.DC5631B0"><o:p></o:p></p>
<p class="MsoNormal" style="margin-top:2.0pt"><span style="font-size:9.0pt;color:#005DA6">Integrity | Service | Technical Excellence | Teamwork | Forward-Looking<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>