Skip to content

Instantly share code, notes, and snippets.

@stevevance
Created December 10, 2021 00:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stevevance/fd12a4fbd6a2fc7e33ad71601809f44d to your computer and use it in GitHub Desktop.
Save stevevance/fd12a4fbd6a2fc7e33ad71601809f44d to your computer and use it in GitHub Desktop.
Reverse geocoders both think that this Chicago address is in Elmwood Park
api_key='ge-feb60a22792061e2'
curl --get https://api.geocode.earth/v1/reverse \
-d api_key=$api_key \
-d point.lat=41.9305 \
-d point.lon=-87.79511
curl https://geocode-api.arcgis.com/arcgis/rest/services/World/GeocodeServer/reverseGeocode \
-d 'f=pjson' \
-d 'location=-87.79511,41.9305' \
-d 'token=AAPK1fa9310e13434e8ba82bc304c90c01c39dL6aw-YQVDmJI0u_lbwN4gmlrH7G5wRzbLVnOjaiFrQHffuREtIX6P871YpxmoO'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment