<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: AcGIS Pro 2.4 | How to display X,Y point coordinates in Query Layer? in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/acgis-pro-2-4-how-to-display-x-y-point-coordinates/m-p/604272#M26829</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is weird, I would recommend contacting Esri Technical Support and work with them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Dec 2019 18:21:16 GMT</pubDate>
    <dc:creator>George_Thompson</dc:creator>
    <dc:date>2019-12-13T18:21:16Z</dc:date>
    <item>
      <title>AcGIS Pro 2.4 | How to display X,Y point coordinates in Query Layer?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/acgis-pro-2-4-how-to-display-x-y-point-coordinates/m-p/604263#M26820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In an Oracle DBMS, I created views with X and Y coordinates in columns, in WGS84. In ArcGIS Pro, I tried to create a Query Layer in order to display live and up-to-date datasets. I managed to select an integer unique identifier and the query layer opens as a Table in the Content. However, I'd like to display it as a point layer in the Content. If I try to right-click the table and Display XY, it opens the geoprocessing tool XY Table to Point which would create a copy of the data. This is not what I am expecting. How to display point layer XY, stored in columns, in a Query Layer based on an Oracle view (with no spatial column) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: I changed this question to ArcGIS Pro instead of Managing Data as it looks more appropriate&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2019 16:13:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/acgis-pro-2-4-how-to-display-x-y-point-coordinates/m-p/604263#M26820</guid>
      <dc:creator>VincentLaunstorfer</dc:creator>
      <dc:date>2019-12-11T16:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: AcGIS Pro 2.4 | How to display X,Y point coordinates in Query Layer?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/acgis-pro-2-4-how-to-display-x-y-point-coordinates/m-p/604264#M26821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would think that you need to have a spatial (shape) field and that the client will not add the shape (based on X / Y) on the fly. Is that what you are looking for?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Geometry SRID property&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;This property is the spatial reference identification value that is set on the shape objects in the database. It will be blank if the query layer does not have a spatial field. If this value is set, all features that do not have the specified geometry SRID values will be excluded from the result set."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/help/data/query-layers/defining-the-spatial-reference-of-a-query-layer.htm" title="https://pro.arcgis.com/en/pro-app/help/data/query-layers/defining-the-spatial-reference-of-a-query-layer.htm"&gt;Defining the spatial reference of the query layer—Query layers | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/help/data/query-layers/what-is-a-query-layer-.htm" title="https://pro.arcgis.com/en/pro-app/help/data/query-layers/what-is-a-query-layer-.htm"&gt;What is a query layer?—Query layers | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/group/1680"&gt;Geodatabase&lt;/A&gt;‌ &lt;A href="https://community.esri.com/space/2050"&gt;Managing Data&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2019 13:29:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/acgis-pro-2-4-how-to-display-x-y-point-coordinates/m-p/604264#M26821</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2019-12-12T13:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: AcGIS Pro 2.4 | How to display X,Y point coordinates in Query Layer?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/acgis-pro-2-4-how-to-display-x-y-point-coordinates/m-p/604265#M26822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In addition to my question posted yesterday using the geoprocessing tool XY Table to Point to create a Point Feature Class, I tried the Make XY Event Layer tool to keep the layer live and connection to my Query Layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, my Event layer in the Table of Content do not display anything and if I try to open Attributes Table, I get a DBMS error ORA-01455: converting column overflows integer datatype. Perhaps, I need to ensure all my number column in my views are readable by ArcGIS clients...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;George, you mentioned to have a spatial field in my Oracle table. Why not. Can I build a ST_Geometry or SDO_Geometry spatial field from my X and Y coordinates columns in my views? What would be the syntax?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2019 13:36:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/acgis-pro-2-4-how-to-display-x-y-point-coordinates/m-p/604265#M26822</guid>
      <dc:creator>VincentLaunstorfer</dc:creator>
      <dc:date>2019-12-12T13:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: AcGIS Pro 2.4 | How to display X,Y point coordinates in Query Layer?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/acgis-pro-2-4-how-to-display-x-y-point-coordinates/m-p/604266#M26823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do this in the view on the Oracle side of the view, then bring it into the ArcGIS client;&amp;nbsp;&lt;A class="link-titled" href="https://desktop.arcgis.com/en/arcmap/latest/manage-data/using-sql-with-gdbs/st-geometry.htm#GUID-0F3568AC-7298-45D4-B226-B448378D5F67" title="https://desktop.arcgis.com/en/arcmap/latest/manage-data/using-sql-with-gdbs/st-geometry.htm#GUID-0F3568AC-7298-45D4-B226-B448378D5F67"&gt;ST_Geometry—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generally speaking you want to make sure that your Oracle instance can support the ST functions via EXTPROC;&amp;nbsp;&lt;A class="link-titled" href="https://desktop.arcgis.com/en/arcmap/latest/manage-data/using-sql-with-gdbs/configure-oracle-extproc.htm" title="https://desktop.arcgis.com/en/arcmap/latest/manage-data/using-sql-with-gdbs/configure-oracle-extproc.htm"&gt;Configure the extproc to access ST_Geometry in Oracle—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2019 13:53:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/acgis-pro-2-4-how-to-display-x-y-point-coordinates/m-p/604266#M26823</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2019-12-12T13:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: AcGIS Pro 2.4 | How to display X,Y point coordinates in Query Layer?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/acgis-pro-2-4-how-to-display-x-y-point-coordinates/m-p/604267#M26824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My Oracle instance is EXTPROC enabled and I can build ST_Geometry objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select&lt;/P&gt;&lt;P&gt;&amp;nbsp; sde.st_geometry('point('amh.LONGITUDE_DEC_DEG','amh.LATITUDE_DEC_DEG'),4326') SHAPE,&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;select&lt;BR /&gt;&amp;nbsp; sde.st_geometry(amh.LONGITUDE_DEC_DEG,amh.LATITUDE_DEC_DEG,null,null,4326) SHAPE,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...should work to create the spatial column as Point in my view, but I still get an Oracle ORA-00907 silling error on "missing right parenthesis". Should I cast my X and Y number column to NUMBER(38,8) for example? Or is there anything alse wrong in the syntax?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for you help, I am sure I will get this one sorted out today...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2019 14:25:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/acgis-pro-2-4-how-to-display-x-y-point-coordinates/m-p/604267#M26824</guid>
      <dc:creator>VincentLaunstorfer</dc:creator>
      <dc:date>2019-12-12T14:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: AcGIS Pro 2.4 | How to display X,Y point coordinates in Query Layer?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/acgis-pro-2-4-how-to-display-x-y-point-coordinates/m-p/604268#M26825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would guess that the X/Y fields would need to be numeric fields. Try that and then test.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2019 14:31:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/acgis-pro-2-4-how-to-display-x-y-point-coordinates/m-p/604268#M26825</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2019-12-12T14:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: AcGIS Pro 2.4 | How to display X,Y point coordinates in Query Layer?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/acgis-pro-2-4-how-to-display-x-y-point-coordinates/m-p/604269#M26826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Today:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sde.st_geometry(amh.LONGITUDE_DEC_DEG,amh.LATITUDE_DEC_DEG,null,null,4326) SHAPE,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;did work and it looks like the SHAPE spatial field is created with my X and Y coordinates:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="476178" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/476178_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When creating a Query Layer in ArcGIS Pro, I can validate my query, choose Unique Identifier in the next step and the view opens in ArcGIS like a table. It doesn't read the SHAPE spatial column to display the data! Should I create a spatial index on this field to use it? Or if the syntax to build the SHAPE point spatial field incorrect?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For info, the Catalog display the view as:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="476179" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/476179_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;Meaning ArcGIS is not able to determine the content of the view... Table of Feature Class...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Moreover, if I try to CAST the coordinates as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sde.st_geometry(CAST(amh.LONGITUDE_DEC_DEG) as decimal(38,8),CAST(amh.LATITUDE_DEC_DEG) as decimal(38,8),null,null,4326) SHAPE,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get ORA-00905: missing keyword error in SQL Developper... I wonder if specifying NUMBER(38,8) for coordinates would help to use them as double to get a valid spatial field...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any guess?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Dec 2019 15:21:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/acgis-pro-2-4-how-to-display-x-y-point-coordinates/m-p/604269#M26826</guid>
      <dc:creator>VincentLaunstorfer</dc:creator>
      <dc:date>2019-12-13T15:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: AcGIS Pro 2.4 | How to display X,Y point coordinates in Query Layer?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/acgis-pro-2-4-how-to-display-x-y-point-coordinates/m-p/604270#M26827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure about the casting, but Catalog does not know the geometry till the it is brought into a map. Once it is added (like a query layer) it will find the geometry and make the icon match.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not have an Oracle DB to test on at this time, but it should work. Can you see the shape in SQL Developer?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Dec 2019 15:59:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/acgis-pro-2-4-how-to-display-x-y-point-coordinates/m-p/604270#M26827</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2019-12-13T15:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: AcGIS Pro 2.4 | How to display X,Y point coordinates in Query Layer?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/acgis-pro-2-4-how-to-display-x-y-point-coordinates/m-p/604271#M26828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I can see the SHAPE spatial field in SQL Developper, as shown in the screenshot above, as ST_GEOMETRY(). But from the Catalog, I cannot right-click and Add to Current Map. I get an error. It's bizarre!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Dec 2019 16:11:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/acgis-pro-2-4-how-to-display-x-y-point-coordinates/m-p/604271#M26828</guid>
      <dc:creator>VincentLaunstorfer</dc:creator>
      <dc:date>2019-12-13T16:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: AcGIS Pro 2.4 | How to display X,Y point coordinates in Query Layer?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/acgis-pro-2-4-how-to-display-x-y-point-coordinates/m-p/604272#M26829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is weird, I would recommend contacting Esri Technical Support and work with them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Dec 2019 18:21:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/acgis-pro-2-4-how-to-display-x-y-point-coordinates/m-p/604272#M26829</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2019-12-13T18:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: AcGIS Pro 2.4 | How to display X,Y point coordinates in Query Layer?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/acgis-pro-2-4-how-to-display-x-y-point-coordinates/m-p/604273#M26830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In ArcMap 10.5.1, the Catalog does show the proper Point icon for points which is better than an empty icon in ArcGIS Pro 2.4.2.Right-clicking the view, either in ArcMap or ArcGIS Pro, both describes the views correctly as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/476322_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the "Let ArcGIS Pro discover spatial properties for the layer" does not seem to work. However, if you leave the spatial field in the Query box and select "Define spatial properties for the layer", it does Validate and in the Next section, it is possible to specify Spatial Properties manually (it is not greyed out) as Point with proper CRS and thus use the spatial field from the Query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" height="245" src="https://community.esri.com/legacyfs/online/476323_pastedImage_2.png" width="538" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But unfortunately, it ends up with the following error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/476339_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not nice!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It probably becomes an ESRI issue to fix...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Dec 2019 17:17:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/acgis-pro-2-4-how-to-display-x-y-point-coordinates/m-p/604273#M26830</guid>
      <dc:creator>VincentLaunstorfer</dc:creator>
      <dc:date>2019-12-16T17:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: AcGIS Pro 2.4 | How to display X,Y point coordinates in Query Layer?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/acgis-pro-2-4-how-to-display-x-y-point-coordinates/m-p/604274#M26831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AS a follow-up, I finally managed to use Query Layer with a sde.st_geometry spatial field as explained above and use "Let ArcGIS Pro discover spatial properties for the layer" when setting the Query Layer propoerties. It all works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem was in unique identifier! My Oracle views have 12 digits number and ESRI can map up to 10 digits as explained here:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://support.esri.com/en/technical-article/000010398" title="https://support.esri.com/en/technical-article/000010398"&gt;FAQ: Does ArcSDE support ObjectID field as 64-bit integers in Oracle?&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ArcGIS was confused and lost to display my query layers. I had to convert my unique identifier to text (instead of Long or Integer as ArcGIS would prefer) in Oracles views in order to fix the problem...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2019 10:08:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/acgis-pro-2-4-how-to-display-x-y-point-coordinates/m-p/604274#M26831</guid>
      <dc:creator>VincentLaunstorfer</dc:creator>
      <dc:date>2019-12-20T10:08:19Z</dc:date>
    </item>
  </channel>
</rss>

