title: Unable to get shape data from ArcGIS REST API
body: <p>I'm trying to download hurricane data from ArcGIS.  There are two things I can do.</p>
  <ol>
  <li><p>I can go to their web interface at
  <a href="https://services9.arcgis.com/RHVPKKiFTONKtxq3/ArcGIS/rest/services/Active_Hurricanes_v1/FeatureServer/1/query" rel="nofollow noreferrer">https://services9.arcgis.com/RHVPKKiFTONKtxq3/ArcGIS/rest/services/Active_Hurricanes_v1/FeatureServer/1/query</a>
  Set a few values ('Where' field I set to 1=1, 'Out Fields' I set to *)
  Then scroll to the bottom and click the &quot;Query(GET)&quot; button.  Some values come up on the screen.
  All Good, but no shape data.</p>
  </li>
  <li><p>I can use Python (this is my real goal).
  I have a script to do this.  Sorry for the nasty looking code ... the CODE icon in stackoverflow does not seem to be working at the moment.</p>
  <p>import urllib.request, urllib.error, urllib.parse
  import json</p>
  <p>url_json= 'https://services9.arcgis.com/RHVPKKiFTONKtxq3/ArcGIS/rest/services/Active_Hurricanes_v1/FeatureServer/0/query?where=1%3D1&amp;objectIds=&amp;time=&amp;geometry=&amp;geometryType=esriGeometryEnvelope&amp;inSR=&amp;spatialRel=esriSpatialRelIntersects&amp;resultType=none&amp;distance=0.0&amp;units=esriSRUnit_Meter&amp;returnGeodetic=false&amp;outFields=*&amp;returnGeometry=false&amp;featureEncoding=esriDefault&amp;multipatchOption=xyFootprint&amp;maxAllowableOffset=&amp;geometryPrecision=&amp;outSR=&amp;datumTransformation=&amp;applyVCSProjection=false&amp;returnIdsOnly=false&amp;returnUniqueIdsOnly=false&amp;returnCountOnly=false&amp;returnExtentOnly=false&amp;returnQueryGeometry=false&amp;returnDistinctValues=false&amp;cacheHint=false&amp;orderByFields=&amp;groupByFieldsForStatistics=&amp;outStatistics=&amp;having=&amp;resultOffset=&amp;resultRecordCount=&amp;returnZ=false&amp;returnM=false&amp;returnExceededLimitFeatures=true&amp;quantizationParameters=&amp;sqlFormat=none&amp;f=pjson&amp;token='</p>
  <p>response = urllib.request.urlopen(url_json)</p>
  <p>webContent = response.read()  # byte string of the JSON result</p>
  <p>jsonContent = json.loads(webContent)  # create a JSON object from the byte string</p>
  <p>for object in jsonContent['features']:</p>
  <pre><code> rec = {}  # create an empty dictionary for each feature 
  
  
   for k in object['attributes'].keys():
  
  
       rec[k] = object['attributes'][k]
  </code></pre>
  </li>
  </ol>
  <p>To get the url I used in the python program, I just pressed the button on (1) and then used the info in the url bar.  Only difference is I selected json instead of html for output.  Problem: I can't figure out how to get it to return the blob for the shape info.  Does his API permit that?  If so, what do I do to in the query window and in the url to get it?</p>