Skip to content

mark-lester/otp-geocode-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

otp-geocode-server

code for simple geocode server based on stops.txt

You will need to install some perl stuff

sudo perl -MCPAN -e 'install "HTTP::Server::Simple::CGI Compress::Zlib Text::CSV"'

Then copy your stops.txt file into the current directory. It runs on port 8088, hack that to change.

The program expects HTTP requests, for '/geocoder/geocode?address=XXXX', it returns an XML list of records,

e.g. /geocoder/geocode?address=dhak

might return

2 Hazrat Sharjalal Airport,Dhaka 23.8521053 90.4083428 Kamalapur,Dhaka 23.7330725 90.4261318

About

code for simple geocoder based on stops.txt

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published