<html v="urn:schemas-microsoft-com:vml" o="urn:schemas-microsoft-com:office:office" w="urn:schemas-microsoft-com:office:word" 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=utf-8"><meta name="Generator" content="Microsoft Word 15 (filtered medium)"><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:Verdana;
 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:12.0pt;
 font-family:"Times New Roman",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;}
span.EmailStyle17
 {mso-style-type:personal-reply;
 font-family:"Calibri",sans-serif;
 color:#1F497D;}
.MsoChpDefault
 {mso-style-type:export-only;
 font-family:"Calibri",sans-serif;}
@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" style="zoom: 0%;"><div dir="auto">John,<br><br></div>
<div dir="auto">Regina points to something that needs resolving before you start.<br><br></div>
<div dir="auto">What is the data type of the SHAPE column?<br><br></div>
<div dir="auto">If it is PostGIS's geometry/geography you can read and process it using pl/pgSql directly.<br><br></div>
<div dir="auto">If it is something like sde.ST_Geometry you need to construct a PostGIS geometry from it using ESRI's ST_AsText method and PostGIS's ST_GeomFromText.<br><br></div>
<div dir="auto">Regards<br></div>
<div dir="auto">Simon<br><br></div>
<div dir="auto"><!-- tmjah_g_1299s -->Get <!-- tmjah_g_1299e --><a href="http://www.bluemail.me/r?b=15860"><!-- tmjah_g_1299s -->BlueMail for Android<!-- tmjah_g_1299e --></a><!-- tmjah_g_1299s --> <!-- tmjah_g_1299e --></div>
<div class="gmail_quote" >On 30 Jun 2020, at 06:13, Regina Obe <<a href="mailto:lr@pcorp.us" target="_blank">lr@pcorp.us</a>> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="WordSection1"><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">I think ArcGIS has it’s own ST_Geometry format.  Is this in postgis geometry or ST_Geometry or some other thing?</span></p><p></p><p></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"></span></p><p> </p><p></p><div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt"><div><div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> postgis-users [mailto:postgis-users-bounces@lists.osgeo.org] <b>On Behalf Of </b>John Zhang<br><b>Sent:</b> Monday, June 29, 2020 4:02 PM<br><b>To:</b> PostGIS Users Discussion <postgis-users@lists.osgeo.org><br><b>Subject:</b> [postgis-users] How to apply PostGIS spatial functionality on Feature classes in Enterprise GeoDB for Postgres?</span></p><p></p><p></p></div></div><p class="MsoNormal"></p><p> </p><div><div><p class="MsoNormal">Dear PostGISers,</p><p></p></div><div><p class="MsoNormal"></p><p> </p></div><div><p class="MsoNormal">I have a need to perform certain spatial analysis to develop a stored function on a Feature Class(FC) using pl/pgSQL. The FCs use a Shape field to store spatial data. How can I apply PostGIS functionality on these FCs, for example, obtain a list of road segments of a known segment? Do I have to turn the FCs into spatial tables? If yes, will there be any negative impact on regular ArcGIS functionality? </p><p></p></div><div><p class="MsoNormal"></p><p> </p></div><div><p class="MsoNormal">Your input will be much appreciated. Thank you!</p><p></p></div><div><p class="MsoNormal"></p><p> </p></div><p class="MsoNormal">-- </p><p></p><div><div><p class="MsoNormal"><span style="font-size:9.5pt;font-family:"Verdana",sans-serif;color:#666666">Yours sincerely,</span><span style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#888888"></span></p><p></p><p></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#888888"></span></p><p> </p><p></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#888888"></span></p><p> </p><p></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#888888">John Zhang</span></p><p></p><p></p></div><p class="MsoNormal"><span style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#888888"></span></p><p> </p><p></p><div><p class="MsoNormal"><span style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#888888"></span></p><p> </p><p></p></div></div></div></div></div><pre class="blue"><hr><br>postgis-users mailing list<br>postgis-users@lists.osgeo.org<br><a href="https://lists.osgeo.org/mailman/listinfo/postgis-users">https://lists.osgeo.org/mailman/listinfo/postgis-users</a></pre></blockquote></div></body></html>