Built using data from open street map indexed using lucene.
Download the osm data extract file ...osm.pbf you need from either geofabrik or planetosm
We will be using osm2psgl utiity to import osm data into a postgresql database. Simple scripts built on top of osm2pgsql has been provided to import data for using with this application.
bin/stageosm osm full-path-to-your-pbf-file
bin/importosm osm osm_succinct
bin/swfstart.real
It takes close to 4 hours to index the database just created. So go to sleep and comeback later to find your shiny geo coding service.
curl -H "content-type:application/json" "http://localhost:3030/locations/search?q=Pride+Apartments+Bannergatta+Road+Billekahalli+Bangalore+560076&maxRecords=1"