A Library for Gazetteer JSON access.
The code is developed using and tested with:
- maven 3.5.0
- Netbeans 8.2
- Apache Tomcat 8.0.27.0
- JDK 1.8
The gazetteer-json
library is build using maven
as JAR-file.
For details have a look at pom.xml.
Download and install maven
and run it.
Download and install maven
.
Run git clone https://github.com/linkedgeodesy/gazetteer-json.git
to create a local copy of this repository.
Run mvn install
to install all required dependencies.
Run mvn clean install site
for cleaning, building, testing and generating the documentation files.
Run the jar-file using mvn exec:java
.
In order to run the Main Class in Netbeans use Run / Debug
.
Running mvn test
will run the unit tests with JUnit
.
Look at GitHub Pages for the latest developer documentation like maven
and javadoc
.
Look at Gist hints for Configurations for JAVA projects using Maven
.
latest stabile version: latest
Apache Maven via jitpack.io
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependency>
<groupId>com.github.linkedgeodesy</groupId>
<artifactId>gazetteer-json</artifactId>
<version>${version}</version>
</dependency>
gradle via jitpack.io
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
dependencies {
compile 'com.github.linkedgeodesy:gazetteer-json:${version}'
}
sbt via jitpack.io
resolvers += "jitpack" at "https://jitpack.io"
libraryDependencies += "com.github.linkedgeodesy" % "gazetteer-json" % "${version}"
leiningen via jitpack.io
:repositories [["jitpack" "https://jitpack.io"]]
:dependencies [[com.github.linkedgeodesy/gazetteer-json "${version}"]]
Florian Thiery1, i3mainz2, RGZM2
1 Florian Thiery M.Sc., ORCID:0000-0002-3246-3531
2 i3mainz - Institute for Spatial Information and Surveying Technology at School of Technology, Hochschule Mainz
University of Applied Sciences (Website
)
3 Römisch-Germanisches Zentralmuseum Mainz, Leibniz-Forschungsinstitut für Archäologie
University of Applied Sciences (Website
)
How does it work? How are the foreign gazetteers quaried? Look here.
Some samples of the method structure can be found in the apidoc.
The resulting JSON data structure is based on GeoJSON+ and GeoJSON+ Linked Data.