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