All Projects → edsu → Geonames Localsolr

edsu / Geonames Localsolr

A little project to help bootstrap a local-solr instance with geonames data.

Programming Languages

python
139335 projects - #7 most used programming language

Ever wanted your own geonames data service? Here's how to get your own local-solr instance with geonames cities data in minutes:

  1. git clone https://[email protected]/edsu/geonames-localsolr.git
  2. wget http://www.nsshutdown.com/solr-example.tgz
  3. tar xvfz solr-example.tgz
  4. cp schema.xml solr-example/apache-solr-1.3.0/example/solr/conf/schema.xml
  5. cd solr-example/apache-solr-1.3.0/example
  6. java -Djetty.port=8083 -jar start.jar &
  7. sudo easy_install solr
  8. wget http://download.geonames.org/export/dump/cities1000.zip
  9. unzip cities1000.zip
  10. ./index.py cities1000.txt http://localhost:8083/solr
  11. watch & wait
  12. http://localhost:8083/solr/select/?/solr/select?&qt=geo&lat=-42.7833&long=147.0666&radius=50&q=:

More information about local-solr available at:

http://www.gissearch.com/geo_search_intro

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].