Skip to content

Haufe-Lexware/Text2Geolocation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Text2Geolocation - A REST microservice returning latitude and longitude from text

It uses DBpedia as a backend to do the heavy lifting.

Build and run

sbt docker
# or, to skip tests:
# sbt 'set test in assembly := {}' docker

docker-compose build
docker-compose up -d

Usage:

curl -H "Content-Type: application/json" \
    --request POST \
    -d '{"name":"Naples","country":"it"}' \
    http://localhost:8101/coordinates
  
curl -H "Content-Type: application/json" \
    --request POST \
    -d '{"name":"Naples","country":"us"}' \
    http://localhost:8101/coordinates  
  
curl -H "Content-Type: application/json" \
    --request POST \
    -d '{"name":"Rome"}' \
    http://localhost:8101/coordinates  

A Postman Api example is also included in the postman directory.

This software is released under the terms of the GNU GPL 3 License. It was developed by Nicola Bova at Haufe-Umantis, Barcelona, Spain.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages