Skip to content
Andrew Byrd edited this page Nov 28, 2013 · 16 revisions

An explanation of how to set up a geocoder, supplied by Vivien Deparday on the dev mailing list:

  1. In the opentripplanner/opentripplanner-webapp/src/main/webapp/js/otp/config.js file, line 37, change the property of the geocoder enabled from false to true
  2. Double check the url parameter (line 38) in config.js It should be set to "/opentripplanner-geocoder/geocode" if you are using the trunk version of the geocoder.
  3. You have to comment the line 41 'fromToOverride...' in config.js so that the text boxes to input the addresses appear in the form.
  4. Add the module opentriplanner-geocoder to your tomcat instance
  5. Optional: in /opentripplanner/opentripplanner-geocoder/src/main/resources/org/opentripplanner/geocoder/application-context.xml , you can change the geocoder that is used by changing the ref of the property(line 84) to geocoderUSCSV or geocoderGoogle or geocoderYahoo (the three other geocoders that are supported so far). By default it is using Nominatim. As mentioned in this previous thread [1], there are some restrictions to use the Google and Yahoo geocoders.

Cloud Made Geo Coder Service

http://developers.cloudmade.com/projects/geocoding-http-api/featured-apps

(like http://maps.cloudmade.com, a very cool service)

OSM Gazetteer

http://gazetteer.openstreetmap.org/namefinder/ OSM

http://gazetteer.openstreetmap.org/namefinder/?find=834+SE+Lambert+St


OSM Nominatim

http://nominatim.openstreetmap.org

http://nominatim.openstreetmap.org/search?q=834+SE+Lambert+St

http://wiki.openstreetmap.org/wiki/Nominatim

OSS GeoCoder using OSM & geonames data (Java/Solr/PostGIS/Mvn)

http://www.gisgraphy.com/


"Simple OSM Geocoder"

http://github.com/brianw/osmgeocode


**J Spatial **

http://www.ibm.com/developerworks/opensource/library/j-spatial/index.html

Open Data

GeoNames (services: http://www.geonames.org/export/ws-overview.html)

http://wiki.osgeo.org/wiki/Public_Geospatial_Data_Project


Misc

http://dogg.ie/read/simple-osm-geocoder

http://svn.openstreetmap.org/applications/utils/export/osm2pgsql/gazetteer/

http://www.geocoder.com.uy/geocoder_servicios.php

The documentation on this wiki is outdated and should not be used

unless you are intentionally working with legacy versions of OpenTripPlanner. Please consult the current documentation at readthedocs

Clone this wiki locally