<?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: feature service generalize geometries in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/feature-service-generalize-geometries/m-p/708035#M6333</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;how would I get the map width after zooming? I suspect the best way to set the maxAllowableOffset value would be a ratio of map width (in map spatial reference units) and actual pixel/point width. unless there is a better way to do this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Apr 2012 20:54:50 GMT</pubDate>
    <dc:creator>LukePhilips</dc:creator>
    <dc:date>2012-04-11T20:54:50Z</dc:date>
    <item>
      <title>feature service generalize geometries</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/feature-service-generalize-geometries/m-p/708033#M6331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there support in the iOS API to generalize the geometries of a feature service so I only get the minimum points needed to represent features on the map? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://blogs.esri.com/Dev/blogs/arcgisserver/archive/2011/06/13/Feature-layers-can-generalize-geometries-on-the-fly.aspx"&gt;http://blogs.esri.com/Dev/blogs/arcgisserver/archive/2011/06/13/Feature-layers-can-generalize-geometries-on-the-fly.aspx&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could I simply force the parameter "maxAllowableOffset" in the URI to the feature service?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2011 21:55:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/feature-service-generalize-geometries/m-p/708033#M6331</guid>
      <dc:creator>LukePhilips</dc:creator>
      <dc:date>2011-10-19T21:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: feature service generalize geometries</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/feature-service-generalize-geometries/m-p/708034#M6332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, you can set the AGSFeatureLayer::maxAllowableOffset property to generalize the geometry. However, please make sure feature service belongs to ArcGIS Server v10 and above.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nimesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2011 22:39:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/feature-service-generalize-geometries/m-p/708034#M6332</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2011-10-19T22:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: feature service generalize geometries</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/feature-service-generalize-geometries/m-p/708035#M6333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;how would I get the map width after zooming? I suspect the best way to set the maxAllowableOffset value would be a ratio of map width (in map spatial reference units) and actual pixel/point width. unless there is a better way to do this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 20:54:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/feature-service-generalize-geometries/m-p/708035#M6333</guid>
      <dc:creator>LukePhilips</dc:creator>
      <dc:date>2012-04-11T20:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: feature service generalize geometries</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/feature-service-generalize-geometries/m-p/708036#M6334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can get the map width in map's spatial reference from mapView's extent. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;AGSEnvelope *mapEnvelope = self.mapView.visibleArea.envelope;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;double width = mapEnvelope.xmax - mapEnvelope.xmin;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Based on device (retina or non-retina) you can get the point/pixel value.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nimesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 21:45:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/feature-service-generalize-geometries/m-p/708036#M6334</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2012-04-11T21:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: feature service generalize geometries</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/feature-service-generalize-geometries/m-p/708037#M6335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was going to ask how about getting the envelope coordinates in the geographic SR (4326), but i'm not so sure I need that. Instead, I'm not sure I'm setting maxOffset correctly. In the viewDidLoad I add a featureLayer to the mapView, setting the maxAllowableOffset equal to a NSNumber property I have declared (we'll call it NSMaxOffset). Then I have registered and listen for the MapDidEndZooming and when I get that notification I get the map envelope view area, do the above math and set a new value to the NSMaxOffset property.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 19:10:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/feature-service-generalize-geometries/m-p/708037#M6335</guid>
      <dc:creator>LukePhilips</dc:creator>
      <dc:date>2012-05-02T19:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: feature service generalize geometries</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/feature-service-generalize-geometries/m-p/708038#M6336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;they always say talking about the issue shows the answer.. after I explained above, realizing creating a AGSFeatureLayer retain property would solve my issue. Now my issue is figuring out why the iOS api doesn't behave like the JS api; for example, in JS the api seems to divide the viewable area into a grid and make multiple calls so the map features appear fully connected when you run into that 1000 results limit while the iOS api seems to make one call for the whole viewable area, and not render the data you have previously viewed, only what you get from the latest call.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 23:00:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/feature-service-generalize-geometries/m-p/708038#M6336</guid>
      <dc:creator>LukePhilips</dc:creator>
      <dc:date>2012-05-02T23:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: feature service generalize geometries</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/feature-service-generalize-geometries/m-p/708039#M6337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You should use AGSFeatureLayer's bufferFactor property. Here is the doc for that...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;This is the buffer around the current extent that features are retrieved for in OnDemand mode. Features are not retrieved again until either they expire or the map extent changes and is no longer in the buffered extent. Buffer factor can be up to 10. If it is set to 0, every time the map extent is changed a requery will take place in OnDemand mode. If the buffer factor is less than 0, then the layer will never requery from an extent change. This is not usually recommended.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nimesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 23:04:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/feature-service-generalize-geometries/m-p/708039#M6337</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2012-05-02T23:04:42Z</dc:date>
    </item>
  </channel>
</rss>

