<?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: Stand alone table with geometry in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/stand-alone-table-with-geometry/m-p/658840#M3202</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; However, this option doesn't seem to fit since I need to be able to query several properties at once. In other words, I need to be able to query those properties based on the current geometry.&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Larry,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;One suggestion is that you can query this parcel layer based on the geometry and fetch the OBJECTIDs of the features in the parcel layer. Those OIDs can then be used to query the related records in the table using the relationship between parcels and the table. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, here is a query on a parcels layer to return the OIDS that match the query constraints. The objectIDs can then be used to get the recrods from the table related to parcels layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/BloomfieldHillsMichigan/Parcels/MapServer/2/query?text=&amp;amp;geometry=%7B%22xmin%22%3A13408524.0370735%2C%22ymin%22%3A386337.472112864%2C%22xmax%22%3A13409724.6978346%2C%22ymax%22%3A387600.530183733%7D&amp;amp;geometryType=esriGeometryEnvelope&amp;amp;inSR=&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;relationParam=&amp;amp;objectIds=&amp;amp;where=&amp;amp;time=&amp;amp;returnIdsOnly=true&amp;amp;returnGeometry=true&amp;amp;maxAllowableOffset=&amp;amp;outSR=&amp;amp;outFields=&amp;amp;f=html"&gt;http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/BloomfieldHillsMichigan/Parcels/MapServer/2/query?text=&amp;amp;geometry=%7B%22xmin%22%3A13408524.0370735%2C%22ymin%22%3A386337.472112864%2C%22xmax%22%3A13409724.6978346%2C%22ymax%22%3A387600.530183733%7D&amp;amp;geometryType=esriGeometryEnvelope&amp;amp;inSR=&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;relationParam=&amp;amp;objectIds=&amp;amp;where=&amp;amp;time=&amp;amp;returnIdsOnly=true&amp;amp;returnGeometry=true&amp;amp;maxAllowableOffset=&amp;amp;outSR=&amp;amp;outFields=&amp;amp;f=html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Query related records will return records from the table that are related to each Parcel OID.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisserver/10.0/apis/rest/queryrelatedrecords.html"&gt;http://help.arcgis.com/en/arcgisserver/10.0/apis/rest/queryrelatedrecords.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Ravi&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Feb 2011 17:42:15 GMT</pubDate>
    <dc:creator>RaviNarayanan</dc:creator>
    <dc:date>2011-02-01T17:42:15Z</dc:date>
    <item>
      <title>Stand alone table with geometry</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/stand-alone-table-with-geometry/m-p/658836#M3198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm hoping someone can help...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently, I have successfully setup and published a stand alone table with custom parcel data on my REST endpoint.&amp;nbsp; So, our ArcGIS 10 REST endpoint currently has one published map layer with parcel data including shapes &amp;amp; property ids, and a second published stand alone table (I mentioned above) that contains custom property information for multiple years.&amp;nbsp; I'd like to be able to query the stand alone table and include the shape data from the parcel data layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can query the data in the stand alone table using property IDs for a given year and get back results.&amp;nbsp; However, I'd like to be able to set the geometry of a query to the REST endpoint of my custom table like I can on a map layer.&amp;nbsp; I've tried joining the map parcel layer with the custom table in ArcMap 10; creating a view on the database that joins the parcel/shape layer with our custom data table; but any queries I've tried on the REST endpoint of the stand alone table always return with an error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to include the shape/envelope information with a stand alone table so I can just query one layer with the current geometry?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jan 2011 20:13:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/stand-alone-table-with-geometry/m-p/658836#M3198</guid>
      <dc:creator>LarryMathys</dc:creator>
      <dc:date>2011-01-25T20:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: Stand alone table with geometry</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/stand-alone-table-with-geometry/m-p/658837#M3199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've essentially given up.&amp;nbsp; I was able to join the standalone table with a parcel layer in the map, but as soon as I assign the current geometry of the FeatureLayer to a query, and then execute that query on the standalone table, the server crashes:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ERROR: Container process 1936 has crashed on machine &amp;lt;MACHINENAME&amp;gt;.&amp;nbsp; CODE: 1017&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can a standalone table be joined to a map layer and then query that table with the current map geometry?&amp;nbsp; I need to retrieve year specific data from the standalone table for each of the parcels that are currently displayed on the map.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jan 2011 19:46:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/stand-alone-table-with-geometry/m-p/658837#M3199</guid>
      <dc:creator>LarryMathys</dc:creator>
      <dc:date>2011-01-28T19:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: Stand alone table with geometry</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/stand-alone-table-with-geometry/m-p/658838#M3200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Larry,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;have you explored the possibility of using relationship instead of a join table? Please see below a couple of help documents on this topic:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Deciding_between_relationship_classes_joins_and_relates/004t00000002000000/"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Deciding_between_relationship_classes_joins_and_relates/004t00000002000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//005s0000002n000000.htm"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//005s0000002n000000.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcGIS Server supports querying of related records.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ravi&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Jan 2011 20:33:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/stand-alone-table-with-geometry/m-p/658838#M3200</guid>
      <dc:creator>RaviNarayanan</dc:creator>
      <dc:date>2011-01-30T20:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: Stand alone table with geometry</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/stand-alone-table-with-geometry/m-p/658839#M3201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Larry,&lt;BR /&gt;&lt;BR /&gt;have you explored the possibility of using relationship instead of a join table? Please see below a couple of help documents on this topic:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Deciding_between_relationship_classes_joins_and_relates/004t00000002000000/"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Deciding_between_relationship_classes_joins_and_relates/004t00000002000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//005s0000002n000000.htm"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//005s0000002n000000.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;ArcGIS Server supports querying of related records.&lt;BR /&gt;&lt;BR /&gt;Ravi&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, I've looked at this.&amp;nbsp; However, this option doesn't seem to fit since I need to be able to query several properties at once.&amp;nbsp; In other words, I need to be able to query those properties based on the current geometry.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The parcel layer returns updates to the map when the extent changes.&amp;nbsp; I'd like to be able to include my custom data with the parcel layer data when the extent changes.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jan 2011 19:55:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/stand-alone-table-with-geometry/m-p/658839#M3201</guid>
      <dc:creator>LarryMathys</dc:creator>
      <dc:date>2011-01-31T19:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: Stand alone table with geometry</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/stand-alone-table-with-geometry/m-p/658840#M3202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; However, this option doesn't seem to fit since I need to be able to query several properties at once. In other words, I need to be able to query those properties based on the current geometry.&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Larry,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;One suggestion is that you can query this parcel layer based on the geometry and fetch the OBJECTIDs of the features in the parcel layer. Those OIDs can then be used to query the related records in the table using the relationship between parcels and the table. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, here is a query on a parcels layer to return the OIDS that match the query constraints. The objectIDs can then be used to get the recrods from the table related to parcels layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/BloomfieldHillsMichigan/Parcels/MapServer/2/query?text=&amp;amp;geometry=%7B%22xmin%22%3A13408524.0370735%2C%22ymin%22%3A386337.472112864%2C%22xmax%22%3A13409724.6978346%2C%22ymax%22%3A387600.530183733%7D&amp;amp;geometryType=esriGeometryEnvelope&amp;amp;inSR=&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;relationParam=&amp;amp;objectIds=&amp;amp;where=&amp;amp;time=&amp;amp;returnIdsOnly=true&amp;amp;returnGeometry=true&amp;amp;maxAllowableOffset=&amp;amp;outSR=&amp;amp;outFields=&amp;amp;f=html"&gt;http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/BloomfieldHillsMichigan/Parcels/MapServer/2/query?text=&amp;amp;geometry=%7B%22xmin%22%3A13408524.0370735%2C%22ymin%22%3A386337.472112864%2C%22xmax%22%3A13409724.6978346%2C%22ymax%22%3A387600.530183733%7D&amp;amp;geometryType=esriGeometryEnvelope&amp;amp;inSR=&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;relationParam=&amp;amp;objectIds=&amp;amp;where=&amp;amp;time=&amp;amp;returnIdsOnly=true&amp;amp;returnGeometry=true&amp;amp;maxAllowableOffset=&amp;amp;outSR=&amp;amp;outFields=&amp;amp;f=html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Query related records will return records from the table that are related to each Parcel OID.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisserver/10.0/apis/rest/queryrelatedrecords.html"&gt;http://help.arcgis.com/en/arcgisserver/10.0/apis/rest/queryrelatedrecords.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Ravi&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Feb 2011 17:42:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/stand-alone-table-with-geometry/m-p/658840#M3202</guid>
      <dc:creator>RaviNarayanan</dc:creator>
      <dc:date>2011-02-01T17:42:15Z</dc:date>
    </item>
  </channel>
</rss>

