All Projects → osmcode → Osmium Filter

osmcode / Osmium Filter

Fast filter for OSM data

Projects that are alternatives of or similar to Osmium Filter

Timezone Boundary Builder
A tool to extract data from Open Street Map (OSM) to build the boundaries of the world's timezones.
Stars: ✭ 469 (+5111.11%)
Mutual labels:  openstreetmap
Openrouteservice
🌍 The open source route planner api with plenty of features.
Stars: ✭ 614 (+6722.22%)
Mutual labels:  openstreetmap
Osmproxy
OpenStreetMap tile proxy for REDAXO
Stars: ✭ 17 (+88.89%)
Mutual labels:  openstreetmap
Osmtogeojson
convert osm to geojson
Stars: ✭ 493 (+5377.78%)
Mutual labels:  openstreetmap
Kosmtik
Make maps with OpenStreetMap and Mapnik
Stars: ✭ 611 (+6688.89%)
Mutual labels:  openstreetmap
Abstreet
Transportation planning and traffic simulation software for creating cities friendlier to walking, biking, and public transit
Stars: ✭ 6,355 (+70511.11%)
Mutual labels:  openstreetmap
Mapsui
Mapsui is a .NET Map component for WPF, Xamarin.Forms, Xamarin.Android, Xamarin.iOS and UWP
Stars: ✭ 447 (+4866.67%)
Mutual labels:  openstreetmap
Osm2geojson
Convert OSM and Overpass JSON to GeoJSON
Stars: ✭ 25 (+177.78%)
Mutual labels:  openstreetmap
Umap
uMap lets you create maps with OpenStreetMap layers in a minute and embed them in your site.
Stars: ✭ 609 (+6666.67%)
Mutual labels:  openstreetmap
Osm4j Core
Core components of osm4j
Stars: ✭ 16 (+77.78%)
Mutual labels:  openstreetmap
Barefoot
Java map matching library for integrating the map into software and services with state-of-the-art online and offline map matching that can be used stand-alone and in the cloud.
Stars: ✭ 541 (+5911.11%)
Mutual labels:  openstreetmap
Blender Osm
One click download and import of OpenStreetMap and terrain for Blender! Global coverage! Source code is in the branch 'release'.
Stars: ✭ 588 (+6433.33%)
Mutual labels:  openstreetmap
Osm2xmap
Converter from OpenStreetMap data format to OpenOrienteering Mapper format.
Stars: ✭ 5 (-44.44%)
Mutual labels:  openstreetmap
Tilemaker
Make OpenStreetMap vector tiles without the stack
Stars: ✭ 468 (+5100%)
Mutual labels:  openstreetmap
Osmium Contrib
Mixed more or less useful programs using the Osmium library
Stars: ✭ 18 (+100%)
Mutual labels:  openstreetmap
Osrm Backend
Open Source Routing Machine - C++ backend
Stars: ✭ 4,716 (+52300%)
Mutual labels:  openstreetmap
Map Matching
The map matching functionality is now located in the main repository https://github.com/graphhopper/graphhopper#map-matching
Stars: ✭ 665 (+7288.89%)
Mutual labels:  openstreetmap
Wikimama
Scripts to help matching OSM features to Wikidata items
Stars: ✭ 8 (-11.11%)
Mutual labels:  openstreetmap
Osm Testdata
OpenStreetMap Test Data.
Stars: ✭ 24 (+166.67%)
Mutual labels:  openstreetmap
Utymap
Highly customizable library for procedural world generation based on real map data
Stars: ✭ 825 (+9066.67%)
Mutual labels:  openstreetmap

Osmium Filter

Work-in-progress experimental fast and flexible filter for OSM data.

Do not use this for production work. The expression language (see below) will change!

Dependencies

Building

Then in the osmium-filter directory:

mkdir build
cd build
cmake ..
make

The osmium-filter binary is created in the src directory.

Run

Usage:

osmium-filter INPUT-FILE -o OUTPUT-FILE -e FILTER-EXPRESSION

or

osmium-filter INPUT-FILE -o OUTPUT-FILE -E FILTER-EXPRESSION-FILE

Will filter out only the OSM objects matching the expressions. Call with -w to add all nodes referenced by any matching ways. (This will read the input twice.)

Call with --help to get usage info.

Expression Language

No real documentation yet, but this will give you some ideas:

A or B
A and B
not A

highway     Tag key exists

"highway"   Tag key exists

highway = residential

@id=        Compare object ID
@id!=
@id<
@id>
@id<=
@id>=

@version    Same for version
...

@uid        User ID

@changeset  Changeset ID

@nodes      Number of nodes

@members    Number of members

@tags       Number of tags

123         ID (same as @id=)

@type=node
node

@type=way
way

@type=relation
relation
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].