PostgreSQL

From OpenStreetMap Wiki
(Redirected from Postgresql)
Jump to: navigation, search

PostgreSQL (postgresql.org) is an Open Source relational database. Since API v0.6 it is used for the main central OSM database running on Servers/smaug. For technical details of how this can be set up to work with the OMS rails app, see The Rails Port and Database schema.

Geospatial capabilities

PostgreSQL has geometry types. For our core OSM database we do not use these. We have our own representation of OpenStreetMap Data Primitives.

The PostGIS extension for PostgreSQL is often used for geographic data. PostGIS adds geospatial functions and two metadata tables. Again we do not use this for our core database, however we do use all of these things on the tile server database as required by the Mapnik rendering engine.

See Also

Personal tools
Namespaces
Variants
Actions
site
Toolbox