Prototype of a high-level (no addresses) reverse geocoder using ESRI shapefiles from various sources and the Yahoo! GeoPlanet data dump
Switch branches/tags
Nothing to show
Pull request Compare This branch is even with joshdevins:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
project/plugins
sbin
src
.gitignore
README.md
build.sbt

README.md

Shapes Reverse Geocoder

Finding open data sets containing detailed shapefiles representing low-level geographic regions (i.e. suburbs, neighbourhoods, etc.) is exceedingly difficult. There are several companies that house this kind of data including Navteq, UrbanMapping, Yahoo!, etc. however they are hidden behind pay APIs or expensive data downloads. Furthermore, they are often simple bounding boxes and not real shapes. SimpleGeo has recently started building international neighbourhood shape files, but this is a work in progress and only covers 12 major cities. The US, Canada, UK, etc. have good local coverage from places like Zillow and various government sources, however there is still significant leg work required to assemble the data in any sensible way.

This tiny project is an attempt to bring together various shapefiles and data sources to provide a decent reverse geocoder down to the neighbourhood level. All of the data is "open" in that it is free for use, however in some cases it requires attribution. Living up to the licenses for all of the data used is your responsibility!

Requirements

To download and build the datasets:

To build and run the service:

Optional:

  • QGIS to view the shapefiles being used

Getting Started

  • download raw data: sbin/downloadData.sh
  • build data to be used by the indexer: sbin/buildData.sh
  • build services: sbt
  • run service: TBD

Data Sources

Data Licenses and Terms of Use

License

MIT License

Copyright (C) 2012 Josh Devins

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.