<?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: QueryParameters ReturnGeometry Not Honored in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/queryparameters-returngeometry-not-honored/m-p/177837#M2054</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Chad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Two questions: What version on Quartz are you using?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you using Manual Cache and using &lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;PopulateFromServiceAsync() to populate the data?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;--Preeti&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Oct 2017 15:55:29 GMT</pubDate>
    <dc:creator>PreetiMaske</dc:creator>
    <dc:date>2017-10-19T15:55:29Z</dc:date>
    <item>
      <title>QueryParameters ReturnGeometry Not Honored</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/queryparameters-returngeometry-not-honored/m-p/177836#M2053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a feature service that contains polygons. &amp;nbsp;When I execute a query using QueryFeaturesAsync with QueryParameters that sets the ReturnGeometry = false I get an error: &amp;nbsp;"Error performing query operation".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I do the same query using the REST API, I get the same error, unless I switch the query to not return geometries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We tracked this down because only certain queries will cause this issue. &amp;nbsp;We think it has something to do with the shapes (maybe the # of vertices or true curves), but have not nailed it down yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue though is that even for the queries that work, the return features still have the geometries, although the flag was set the false. &amp;nbsp;This makes me think the flag is not being honored.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone else see this issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2017 00:30:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/queryparameters-returngeometry-not-honored/m-p/177836#M2053</guid>
      <dc:creator>ChadYoder1</dc:creator>
      <dc:date>2017-10-18T00:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: QueryParameters ReturnGeometry Not Honored</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/queryparameters-returngeometry-not-honored/m-p/177837#M2054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Chad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Two questions: What version on Quartz are you using?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you using Manual Cache and using &lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;PopulateFromServiceAsync() to populate the data?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;--Preeti&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2017 15:55:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/queryparameters-returngeometry-not-honored/m-p/177837#M2054</guid>
      <dc:creator>PreetiMaske</dc:creator>
      <dc:date>2017-10-19T15:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: QueryParameters ReturnGeometry Not Honored</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/queryparameters-returngeometry-not-honored/m-p/177838#M2055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;v100.1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not using PopulateFromServiceAsync(), using QueryFeaturesAsync on the feature table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can try that approach and let you know if you'd like.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2017 16:02:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/queryparameters-returngeometry-not-honored/m-p/177838#M2055</guid>
      <dc:creator>ChadYoder1</dc:creator>
      <dc:date>2017-10-19T16:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: QueryParameters ReturnGeometry Not Honored</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/queryparameters-returngeometry-not-honored/m-p/177839#M2056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ya, sure, try that&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2017 16:05:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/queryparameters-returngeometry-not-honored/m-p/177839#M2056</guid>
      <dc:creator>PreetiMaske</dc:creator>
      <dc:date>2017-10-19T16:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: QueryParameters ReturnGeometry Not Honored</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/queryparameters-returngeometry-not-honored/m-p/177840#M2057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pretti, that worked, and no geometry was returned. &amp;nbsp;I'll just have to code to handle online/offline a bit differently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did notice the results returned almost immediately using this approach vs. just calling QueryFeaturesAsync(). &amp;nbsp;Is that expected? &amp;nbsp;Is the the most efficient way to query an online service?&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, 19 Oct 2017 16:37:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/queryparameters-returngeometry-not-honored/m-p/177840#M2057</guid>
      <dc:creator>ChadYoder1</dc:creator>
      <dc:date>2017-10-19T16:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: QueryParameters ReturnGeometry Not Honored</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/queryparameters-returngeometry-not-honored/m-p/177841#M2058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;gt;"The issue though is that even for the queries that work, the return features still have the geometries, although the flag was set the false. &amp;nbsp;This makes me think the flag is not being honored."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;This should not happen, I will look into it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;gt;I did notice the results returned almost immediately using this approach vs. just calling QueryFeaturesAsync(). &amp;nbsp;Is that expected? &amp;nbsp;Is the the most efficient way to query an online service?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;Well, that also should not happen, the response time should be same. Although with&amp;nbsp;ManualCache, subsequent layer operations will be little faster as there is no&amp;nbsp;http traffic to fetch the more data.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;Is it possible to share the service end point? Also share the code snippet that didn't work. I will give a closer look and let you know.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2017 16:44:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/queryparameters-returngeometry-not-honored/m-p/177841#M2058</guid>
      <dc:creator>PreetiMaske</dc:creator>
      <dc:date>2017-10-19T16:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: QueryParameters ReturnGeometry Not Honored</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/queryparameters-returngeometry-not-honored/m-p/177842#M2059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can I email you directly with this information?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2017 16:57:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/queryparameters-returngeometry-not-honored/m-p/177842#M2059</guid>
      <dc:creator>ChadYoder1</dc:creator>
      <dc:date>2017-10-19T16:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: QueryParameters ReturnGeometry Not Honored</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/queryparameters-returngeometry-not-honored/m-p/177843#M2060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure, email me at pmaske@esri.com&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2017 17:10:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/queryparameters-returngeometry-not-honored/m-p/177843#M2060</guid>
      <dc:creator>PreetiMaske</dc:creator>
      <dc:date>2017-10-19T17:10:46Z</dc:date>
    </item>
  </channel>
</rss>

