<?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: Problem with query to an XY event source data layer in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/problem-with-query-to-an-xy-event-source-data/m-p/268789#M1320</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;SP2 schedule is around April 2011.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Dec 2010 19:41:36 GMT</pubDate>
    <dc:creator>RaviNarayanan</dc:creator>
    <dc:date>2010-12-17T19:41:36Z</dc:date>
    <item>
      <title>Problem with query to an XY event source data layer</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/problem-with-query-to-an-xy-event-source-data/m-p/268786#M1317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to query a layer in a service which was created from an XY Events Data source.&amp;nbsp; The data is in geographic, but for the Coordinate System of the Data Frame, I selected Canada Lambert Conformal Conic as the projection (WKID=102002).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to do a query and to specify an output spatial reference of WKID=102002, but I get lat/longs back.&amp;nbsp; The url was:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
http://myservernamehere.mydomain/ArcGIS/rest/services/TestGeology/MapServer/0/query?text=&amp;amp;geometry=%7B%22xmin%22%3A359116.578934065%2C%22ymin%22%3A3862731.70544748%2C%22xmax%22%3A401068.487002091%2C%22ymax%22%3A3890699.6441595%2C%22spatialReference%22%3A%7B%22wkid%22%3A102002%7D%7D&amp;amp;geometryType=esriGeometryEnvelope&amp;amp;inSR=102002&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;relationParam=&amp;amp;objectIds=&amp;amp;where=&amp;amp;time=&amp;amp;returnCountOnly=false&amp;amp;returnIdsOnly=false&amp;amp;returnGeometry=true&amp;amp;maxAllowableOffset=&amp;amp;outSR=102002&amp;amp;outFields=PHOTO_NUM%2CPHOTO_LAT%2CPHOTO_LONG&amp;amp;f=html
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And the result is shown in the attachment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a problem with the REST API for XY event Layers?:confused:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Paul&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Dec 2010 13:57:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/problem-with-query-to-an-xy-event-source-data/m-p/268786#M1317</guid>
      <dc:creator>PaulHuppé</dc:creator>
      <dc:date>2010-12-16T13:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with query to an XY event source data layer</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/problem-with-query-to-an-xy-event-source-data/m-p/268787#M1318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This sounds related to this bug in MapServer (NIM051154) &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/content/nimbus-bug?bugID=TklNMDUxMTU0"&gt;http://resources.arcgis.com/content/nimbus-bug?bugID=TklNMDUxMTU0&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does the query return correct results if a spatial filter is not used and if a WHERE clause is used? If so, then it is related to the above issue which will be addressed in 10.0 SP2.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Dec 2010 17:26:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/problem-with-query-to-an-xy-event-source-data/m-p/268787#M1318</guid>
      <dc:creator>RaviNarayanan</dc:creator>
      <dc:date>2010-12-16T17:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with query to an XY event source data layer</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/problem-with-query-to-an-xy-event-source-data/m-p/268788#M1319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I tried a query without a spatial filter and with a WHERE clause as you suggested and it does return the correct results (see attachment).&amp;nbsp; So, looks like it is related to that bug.&amp;nbsp; Do you know &lt;/SPAN&gt;&lt;STRONG&gt;when SP2 is scheduled to be released?&lt;/STRONG&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Dec 2010 17:34:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/problem-with-query-to-an-xy-event-source-data/m-p/268788#M1319</guid>
      <dc:creator>PaulHuppé</dc:creator>
      <dc:date>2010-12-16T17:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with query to an XY event source data layer</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/problem-with-query-to-an-xy-event-source-data/m-p/268789#M1320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;SP2 schedule is around April 2011.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Dec 2010 19:41:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/problem-with-query-to-an-xy-event-source-data/m-p/268789#M1320</guid>
      <dc:creator>RaviNarayanan</dc:creator>
      <dc:date>2010-12-17T19:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with query to an XY event source data layer</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/problem-with-query-to-an-xy-event-source-data/m-p/268790#M1321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, thanks for the update.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Paul&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Dec 2010 10:31:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/problem-with-query-to-an-xy-event-source-data/m-p/268790#M1321</guid>
      <dc:creator>PaulHuppé</dc:creator>
      <dc:date>2010-12-20T10:31:26Z</dc:date>
    </item>
  </channel>
</rss>

