azavea/python-omgeo — pull request #13 by ddohler (2013-10-29 18:54:03+00:00)
Title: Add neighborhood and subregion fields to PlaceQuery.

In order to better support geocoding outside the US, add the neighborhood (sub-municipal) and subregion (sub-state) fields to the PlaceQuery() class. These fields are primarily used by the EsriWGS geocoder.

Note that the Esri geocoders which use endpoints at tasks.arcgis.com have not been updated because they are deprecated and Esri plans to deactivate them at the end of 2013.

As examples, neighborhoods are used in Mexico, Sub-regions are used in Russian, and Spain uses both.

Also updates the query parameters to the EsriWGS geocoder to match the documentation: http://resources.arcgis.com/en/help/arcgis-rest-api/#/Multiple_input_field_geocoding/02r30000001p000000/