WME GIS Buttons

Displays the locality of the current map location and provides links to open GIS if available

Autor
Philistine11
Instalaciones diarias
0
Instalaciones totales
1,569
Calificaciones
15 0 0
Versión
1.7.0
Creado
08/07/2016
Actualizado
02/12/2023
Licencia
Desconocida
Funciona en

UPDATE: Starting with version 1.6.0, the script will default to using U.S. Census Bureau location data when available, which is free but limited to the U.S. and does not provide city names outside the city proper, even though the location may be part of the greater city region.

If you would like to get globally-available location data from Google Maps, you will need to provide your own API key, though the script will ask you whether to use Google by default or only when Census data is not available. Please follow these instructions to provide your own key:

  1. Click this link to create a Google Cloud project and API key: Get Started
  2. Copy the API key provided; this is what you need for the script
  3. If you already have a Google Cloud project, it may select that automatically, so create a new one if desired
  4. You will need to choose an existing billing account or create a new one. You will automatically receive $200 of credit each month, which will cover 49000 requests through this script
  5. Make sure the Geocoding API is enabled
  6. In WME Editor, right-click the status icon of the script (which will probably be a red key), and paste the API key
  7. Optional: You can set a daily limit of requests to guarantee you never exceed the 49000 free monthly requests. In the Google Cloud website, click the "Quotas" tab, then "Geocoding API" from the drop-down, then click the pencil next to "Requests per day" in the "Request" section and set it to a number less than 1600



Locality will show for any location, but GIS buttons are currently only functional in the United States. If you believe you should have permission to edit the GIS links of a certain state (especially if you are a State Manager), please click the appropriate link below, and request edit access for the sheet:



Future updates:

  • Support for feet/meters as dynamic coordinate parameters
  • Support for extent parameters, rather than center coordinates