The GR SDK is provided as a zip file (gra-version.zip) for Windows and as a TAR file (gra-version.tar) for non-Windows.
Once installed, you will have the following folder structure:
- lib: Contains the required jars and dependencies
- javadoc: Contains Javadoc files
- docs:Contains user documentation
- legal: Contains clauses for 3rd party library distribution.
- service: Contains REST WAR file
- samples: Contains sample applications illustrating use cases for the GR SDK, Global Geocoding API (GGA), and Spectrum Spatial SDK (LI-SDK).
Java API
To install the Java API:
- Choose the relevant file for your system, extract it to any location on the file system.
- Add the lib directory to the classpath.
REST API
To install the REST API:
- Choose the relevant file for your system, extract it to any location on the file system.
- Locate the GRA WAR file in the install_dir\service directory.
- Deploy the WAR file in Apache Tomcat webapps directory: install_dir\webapps.
- Configure the database. For Database configuration refer to Configuring Routing Properties and Data Resources.
- Restart the Tomcat server.