<?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 How to create extent from featureset using arcgis rest api only? in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/how-to-create-extent-from-featureset-using-arcgis/m-p/567834#M2714</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: 1em; font-size: 15px; color: #222426; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;"&gt;Is there any way to get extent from featureset (contains Feature objects)?&lt;/P&gt;&lt;P style="margin-bottom: 1em; font-size: 15px; color: #222426; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;"&gt;Featureset is obtained by performing query operation on feature service layer in esri rest api.&lt;/P&gt;&lt;P style="margin-bottom: 1em; font-size: 15px; color: #222426; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;"&gt;Arcgis rest api 10.3 introduced new parameter (returnExtentOnly) to retrieve extent but it is not available in previous versions. Client is in plain java and do not want to introduce any esri client API.&lt;/P&gt;&lt;P style="margin-bottom: 1em; font-size: 15px; color: #222426; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;"&gt;1) Is there any way to get extent using rest services only? (where input = geometries of polygons)&lt;/P&gt;&lt;P style="margin-bottom: 1em; font-size: 15px; color: #222426; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;"&gt;2) Any java util available to calculate extent based on polygon geometries (featureset)?&lt;/P&gt;&lt;P style="margin-bottom: 1em; font-size: 15px; color: #222426; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;"&gt;E.g. in&amp;nbsp; arcgis rest api 10.3&lt;/P&gt;&lt;P style="margin-bottom: 1em; font-size: 15px; color: #222426; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;"&gt; &lt;A href="http://api.imb.org/arcgis/rest/services/LIVE/Urban/MapServer/0/query?where=GENC1%3D%27US-CA%27&amp;amp;returnExtentOnly=true&amp;amp;f=pjson" rel="nofollow" style="color: #005999;"&gt;http://api.imb.org/arcgis/rest/services/LIVE/Urban/MapServer/0/query?where=GENC1%3D%27US-CA%27&amp;amp;returnExtentOnly=true&amp;amp;f=pjson&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Feb 2016 04:26:26 GMT</pubDate>
    <dc:creator>ManvirBasra</dc:creator>
    <dc:date>2016-02-17T04:26:26Z</dc:date>
    <item>
      <title>How to create extent from featureset using arcgis rest api only?</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/how-to-create-extent-from-featureset-using-arcgis/m-p/567834#M2714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: 1em; font-size: 15px; color: #222426; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;"&gt;Is there any way to get extent from featureset (contains Feature objects)?&lt;/P&gt;&lt;P style="margin-bottom: 1em; font-size: 15px; color: #222426; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;"&gt;Featureset is obtained by performing query operation on feature service layer in esri rest api.&lt;/P&gt;&lt;P style="margin-bottom: 1em; font-size: 15px; color: #222426; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;"&gt;Arcgis rest api 10.3 introduced new parameter (returnExtentOnly) to retrieve extent but it is not available in previous versions. Client is in plain java and do not want to introduce any esri client API.&lt;/P&gt;&lt;P style="margin-bottom: 1em; font-size: 15px; color: #222426; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;"&gt;1) Is there any way to get extent using rest services only? (where input = geometries of polygons)&lt;/P&gt;&lt;P style="margin-bottom: 1em; font-size: 15px; color: #222426; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;"&gt;2) Any java util available to calculate extent based on polygon geometries (featureset)?&lt;/P&gt;&lt;P style="margin-bottom: 1em; font-size: 15px; color: #222426; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;"&gt;E.g. in&amp;nbsp; arcgis rest api 10.3&lt;/P&gt;&lt;P style="margin-bottom: 1em; font-size: 15px; color: #222426; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;"&gt; &lt;A href="http://api.imb.org/arcgis/rest/services/LIVE/Urban/MapServer/0/query?where=GENC1%3D%27US-CA%27&amp;amp;returnExtentOnly=true&amp;amp;f=pjson" rel="nofollow" style="color: #005999;"&gt;http://api.imb.org/arcgis/rest/services/LIVE/Urban/MapServer/0/query?where=GENC1%3D%27US-CA%27&amp;amp;returnExtentOnly=true&amp;amp;f=pjson&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2016 04:26:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/how-to-create-extent-from-featureset-using-arcgis/m-p/567834#M2714</guid>
      <dc:creator>ManvirBasra</dc:creator>
      <dc:date>2016-02-17T04:26:26Z</dc:date>
    </item>
  </channel>
</rss>

