All Projects → omniscale → Imposm Parser

omniscale / Imposm Parser

Licence: apache-2.0
Deprecated: Python parser for OpenStreetMap data

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to Imposm Parser

Overpass Turbo
A web based data mining tool for OpenStreetMap using the Overpass API.
Stars: ✭ 435 (+248%)
Mutual labels:  osm
Fortistacks
Project gathering how to use Fortinet product as VNFs, with examples, MANO, VIM etc.. see website for details
Stars: ✭ 26 (-79.2%)
Mutual labels:  osm
Cities
Poly files for cities, which can be used to create OSM files out of larger regions
Stars: ✭ 115 (-8%)
Mutual labels:  osm
Osrm Backend
Open Source Routing Machine - C++ backend
Stars: ✭ 4,716 (+3672.8%)
Mutual labels:  osm
Osmproxy
OpenStreetMap tile proxy for REDAXO
Stars: ✭ 17 (-86.4%)
Mutual labels:  osm
Osmic
CC0 SVG Map Icons, mirror of repo on Gitlab
Stars: ✭ 89 (-28.8%)
Mutual labels:  osm
Ios Open Gpx Tracker
GPS Tracker app for iOS + WatchOS. Log your tracks without limits and share them; Open source GPX tracker app written in Swift
Stars: ✭ 344 (+175.2%)
Mutual labels:  osm
Android
Android app for collecting OpenStreetCam imagery
Stars: ✭ 119 (-4.8%)
Mutual labels:  osm
Osm2geojson
Convert OSM and Overpass JSON to GeoJSON
Stars: ✭ 25 (-80%)
Mutual labels:  osm
Brightpath Backend
Find the safest well lit walking path between two locations on earth.
Stars: ✭ 115 (-8%)
Mutual labels:  osm
Blender Osm
One click download and import of OpenStreetMap and terrain for Blender! Global coverage! Source code is in the branch 'release'.
Stars: ✭ 588 (+370.4%)
Mutual labels:  osm
Osm4j Core
Core components of osm4j
Stars: ✭ 16 (-87.2%)
Mutual labels:  osm
Quickosm
QGIS plugin to fetch OSM data with the Overpass API
Stars: ✭ 91 (-27.2%)
Mutual labels:  osm
Mapsui
Mapsui is a .NET Map component for WPF, Xamarin.Forms, Xamarin.Android, Xamarin.iOS and UWP
Stars: ✭ 447 (+257.6%)
Mutual labels:  osm
Viking
Viking is a free/open source program to manage GPS data (including GPX, TCX and KML files). You can import and plot tracks, routes and waypoints, show OpenStreetMaps (OSM), Bing Aerial and other maps, generate Mapnik maps, geotag images, make new tracks, routes and waypoints, see real-time GPS position, etc. It is written mostly in C with the GTK+3 toolkit and some C++.
Stars: ✭ 114 (-8.8%)
Mutual labels:  osm
Vectiler
A vector tile, terrain and city 3d model builder and exporter
Stars: ✭ 394 (+215.2%)
Mutual labels:  osm
Leaflet Geoman
🍂🗺️ The most powerful leaflet plugin for drawing and editing geometry layers
Stars: ✭ 1,088 (+770.4%)
Mutual labels:  osm
Osmplotr
Data visualisation using OpenStreetMap objects
Stars: ✭ 122 (-2.4%)
Mutual labels:  osm
Imposm2
Imports OpenStreetMap data into geo databases
Stars: ✭ 115 (-8%)
Mutual labels:  osm
Cyclosm Cartocss Style
Cycle oriented CartoCSS style.
Stars: ✭ 109 (-12.8%)
Mutual labels:  osm

imposm.parser - OpenStreetMap XML/PBF parser for Python

imposm.parser is a Python library that parses OpenStreetMap data in XML <http://wiki.openstreetmap.org/wiki/.osm>_ and PBF <http://wiki.openstreetmap.org/wiki/PBF_Format>_ format.

It has a simple API and it is fast and easy to use. It also works across multiple CPU/cores for extra speed.

.. note:: Imposm-parser is in maintenance mode and it's unlikely that we will provide any further releases.

It is developed and supported by Omniscale <http://omniscale.com>_ and released under the Apache Software License 2.0 <http://www.apache.org/licenses/LICENSE-2.0>_.

Example

Here is an example that parses an OSM file and counts all ways that are tagged as a highway. ::

from imposm.parser import OSMParser

simple class that handles the parsed OSM data.

class HighwayCounter(object): highways = 0

  def ways(self, ways):
      # callback method for ways
      for osmid, tags, refs in ways:
          if 'highway' in tags:
            self.highways += 1

instantiate counter and parser and start parsing

counter = HighwayCounter() p = OSMParser(concurrency=4, ways_callback=counter.ways) p.parse('germany.osm.pbf')

done

print counter.highways

Source and issue tracker

Source code and issue tracker are available at <https://github.com/omniscale/imposm-parser>_.

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].