Starting from version 0.9.0, amapGeocode includes a
built-in Shiny application (amap_gui()) that provides a
user-friendly graphical interface for all major package functions. This
is particularly useful for users who prefer a GUI over command-line
operations or for quick, interactive tasks.
To launch the application, simply run:
The Shiny application is organized into four main tabs, mirroring the package’s core functionality:
The Geocoding tab allows you to convert addresses into longitude and latitude coordinates.
The Reverse Geocoding tab converts coordinates back into structured addresses and administrative information.
The Convert Coords tab handles coordinate system transformations.
Configure global API settings directly within the app:
options(amap_key = "...") in R, it will
be pre-filled.max_active) for batch operations.amapGeocode::amap_gui().addresses.csv.The GUI requires the following additional R packages: *
shiny * bslib (for the modern UI theme) *
DT (for interactive data tables) * readr (for
fast file I/O)
The app will check for these packages on startup and prompt you to install them if they are missing.