{"repo":"bdon/OSMExpress","free":true,"listed":false,"github":"https://github.com/bdon/OSMExpress","clone":"git clone https://github.com/bdon/OSMExpress.git","description":"Fast database file format for OpenStreetMap","language":"C++","stars":272,"topics":["openstreetmap","database","spatial"],"license":"BSD-2-Clause","category":"databases-storage","readme_excerpt":"OSM Express Manual, Programming Guide OSM Express is a fast storage format for OpenStreetMap that powers SliceOSM. It's designed as a low level building block specific to the OSM data model; common access patterns such as random lookups by ID, in-place minutely updates, and spatial queries are efficient and simple to manage in production applications. Features Random access: Look up nodes, ways and relations and their metadata by ID; fetch member elements of ways and relations to construct geometries. Spatial indexing: Nodes are bucketed into S2 Geometry cells. Access a region by providing a cell covering; works for nonrectangular regions. Scalable: OSM Express works the same way for OSM data of any size, from a small city to the entire planet. The entire planet can be worked with efficiently on typical hardware such as a laptop computer. In-place updates: Included are scripts to download minutely changesets from planet.openstreetmap.org and apply them to an .osmx database. Concurrent access: Multiple processes can open the database file for reading simultaneously. No running server process is required. Writing minutely updates doesn't block reader access. Reads and writes are transactional. Portable: An .osmx file can be read and written to from either C++ or Python. Details OSM Express is a compact 1,500 LOC, and really a cobbling together of a few low-level libraries: Libosmium for the reading and writing of .osm.pbf files. LMDB for a memory-mapped ACID key-value store wit","default_branch":null,"files":null,"tree":[],"storefront":"/r/bdon","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/bdon/OSMExpress/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}