Tuesday, June 10, 2014

Extract an ArcGIS Server Services to a shapefile/feature class

  1. On the server side you have to use the query capability and retrieve all features in a JSON format. Try it using this link: http://www.geoportal.cl/ArcGIS/rest/services/MinisteriodeViviendayUrbanismo/chile_minvu_ddu_pri_Costero_Ohiggns/MapServer/0/query?text=&geometry=&geometryType=esriGeometryPolygon&inSR=&spatialRel=esriSpatialRelIntersects&relationParam=&objectIds=&where=OBJECTID++%3E+0&time=&returnCountOnly=false&returnIdsOnly=false&returnGeometry=true&maxAllowableOffset=&outSR=&outFields=&f=html As you can see from the form page to get all the features, I set the WHERE field to be OBJECTID > 0, and the Geometry Type to be a Polygon, the Return Field to * (so that I can get all attributes), and the format to be JSON file; then you can click the query button.
  2. Save out the JSON file you get on your browser, just right click on the browser and choose Save Page As
  3. Use the tool in ArcMap JSON to Features (http://resources.arcgis.com/en/help/main/10.2/index.html#//001200000057000000
  4. Convert the feature class into a shapefile

Tuesday, February 4, 2014

Python and edX

Last semester I have took "Introduction to Computer Science and Programming" at edX (https://www.edx.org/course/mitx/mitx-6-00-1x-introduction-computer-1498). A lot work but I have learned a lot about python.

Google Form to ArcGIS online + search

Friday, October 19, 2012

FC to CSV keeping the Alias Name

This is my Python way to export a Feature Class attributes table into a CSV file, and keep the ALIAS NAME.

Friday, June 22, 2012

EDMap

http://edmaps.org
Just finished to develop EDMap! Nice job done using Google Map API v3, Fusion Table, and jquery. By the way, I have also push it on GitHub

Thursday, June 14, 2012

GeoPY and CSV file

Ok, yesterday evening and a bit today, I have updated my previous attempt to geocode a cvs table using GeoPy(http://code.google.com/p/geopy/). Here the code that I have wrote; it's not perfect but works. Next step will be adjust the output, and test it against a serious data-set.