osm2postgresql is a Linux script loading openstreetmap data into a postgresql database setting up if needed a server & database (postgis+hstore). Advanced processing is performed, easing rendering. http://wiki.openstreetmap.org/wiki/Osm2postgresql

Features

  • Optional: installs a postgres server and configure it; create a database (with postgis and hstore)
  • Loads osm data into the database and process it
  • Creates and fix polygons
  • Fixes small streams, canals... on riverbanks (nicer rendering)
  • Creates 3 tables that are ready for rendering: polygons, ways, nodes_with_tags
  • In each table, populates a "class" field that you can link to your symbology
  • Helps you easily render OSM data in your GIS application or web server
  • Keeps [almost] ALL tags (in two fields: 'tags' as text and 'tagshstore' as hstore)
  • 14 March 2011: version 02 (beta) released.
  • Still a work in progress: stay tuned!

Project Samples

Project Activity

See All Activity >

Categories

Database, GIS

License

GNU General Public License version 2.0 (GPLv2)

Follow osm2postgresql

osm2postgresql Web Site

Other Useful Business Software
Ship Agents Faster Icon
Ship Agents Faster

Transform your applications and workflows into powerful agentic systems at global scale.

Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
Get Started Free
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
1
0
0
0
0
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5

User Reviews

  • I had a requirement to develop water features for Europe. This script was the only GIS tool I could find to convert the OSM polylines and multipolygons (ie. riverbanks, etc.) to polygonal features. Thanks for your work on this project!
Read more reviews >

Additional Project Details

Operating Systems

BSD, Linux

Languages

English

Intended Audience

Advanced End Users, System Administrators

User Interface

Command-line

Programming Language

Unix Shell

Database Environment

PostgreSQL (pgsql)

Related Categories

Unix Shell Database Software, Unix Shell GIS Software

Registered

2011-03-06