Skip to content

waymarkedtrails/osgende

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About osgende

osgende is a Python-framework for creating customized Postgresql databases from OSM data. It expects the OSM data to be already in a random-accesibly storage and extracts and updates relevant data from there. Currently, the only backing storage implemented is a Osmosis-like Postgresql database with a file-based node-location storage provided by libosmium.

Requirements

Osgende requires Python3.

Optionally, the following packages are required by some of the tools:

Installation

Osgende can be installed using Python's default setup tools:

pip install .

Usage

Creating Backing Databases

Osgende always needs a backing database that contains a full copy of the OSM data you like to process. You can use the osgende-import tool to create such a database. To create a new database and import an OSM file into the database run:

osgende-import -d planet -c -i liechtenstein.osm.pbf

It is strongly recommended that you make use of an external node location file to speed up processing using the -n option.

Creating a custom Database

You need to create your own MapDB and instances of tables. For an example see the waymarked-trails project.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages