-
Notifications
You must be signed in to change notification settings - Fork 1k
GeoCoders
An explanation of how to set up a geocoder, supplied by Vivien Deparday on the dev mailing list:
-
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
-
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.
-
You have to comment the line 41 'fromToOverride...' in config.js so that the text boxes to input the addresses appear in the form.
-
Add the module opentriplanner-geocoder to your tomcat instance
-
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)
"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/
unless you are intentionally working with legacy versions of OpenTripPlanner. Please consult the current documentation at readthedocs