Extensions
- osm_fdw 4.1.2
- Openstreetmap PBF foreign data wrapper
README
Contents
OSM PBF Foreign Data Wrapper
Introduction
This extension for PostgreSQL implements Foreign Data Wrapper (FDW) for reading Openstreetmap PBF file format (*.osm.pbf)
Requirements
* postgresql version => 10
* libprotobuf-c
* json-c >= 0.11
* zlib
Install
How to install in Debian 11
bash
sudo apt install libprotobuf-c-dev libprotobuf-c1 protobuf-c-compiler zlib1g-dev zlib1g libjson-c-dev libjson-c5 postgresql-server-dev-14
sudo make install
Install with PGXN
Install required packages before and next run:
bash
sudo pgxn install osm_fdw
Addition parameters
If you want to use not default version of postgres in your system, you can specify pg_config
bash
sudo make PG_CONFIG=/usr/lib/postgresql/10/bin/pg_config install
Documentation
Find more documentation here: osm_fdw doc
Examples
Find more examples here: examples
Support
(Issues trackes) Email: v.pikulik@gmail.com
Author
Vitali Pikulik v.pikulik@gmail.com