All Projects → osmcode → Node Osmium

osmcode / Node Osmium

Licence: bsl-1.0
Fast and flexible Javascript library for working with OpenStreetMap data.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Node Osmium

Photon
an open source geocoder for openstreetmap data
Stars: ✭ 1,177 (+932.46%)
Mutual labels:  openstreetmap
Osmic
CC0 SVG Map Icons, mirror of repo on Gitlab
Stars: ✭ 89 (-21.93%)
Mutual labels:  openstreetmap
Hdm Cartocss
CartoCSS project focused on the Humanitarian Data Model
Stars: ✭ 105 (-7.89%)
Mutual labels:  openstreetmap
Osmcoastline
Extracts coastline data from OpenStreetMap planet file.
Stars: ✭ 79 (-30.7%)
Mutual labels:  openstreetmap
Glosm
3D OpenStreetMap renderer
Stars: ✭ 88 (-22.81%)
Mutual labels:  openstreetmap
Osm Community Index
💬 An index of community resources for OpenStreetMap
Stars: ✭ 94 (-17.54%)
Mutual labels:  openstreetmap
Openstreetmap
Interface to OpenStreetMap (load maps, extract road connectivity, plot road network & find shortest path)
Stars: ✭ 69 (-39.47%)
Mutual labels:  openstreetmap
Cyclosm Cartocss Style
Cycle oriented CartoCSS style.
Stars: ✭ 109 (-4.39%)
Mutual labels:  openstreetmap
Taginfo
Brings together information about OpenStreetMap tags and makes it searchable and browsable
Stars: ✭ 88 (-22.81%)
Mutual labels:  openstreetmap
Baremaps
Custom vector tiles from OpenStreetMap and other data sources.
Stars: ✭ 100 (-12.28%)
Mutual labels:  openstreetmap
Openstreetmap Website
The Rails application that powers OpenStreetMap
Stars: ✭ 1,259 (+1004.39%)
Mutual labels:  openstreetmap
Osm Analytics
OSM Analytics lets you interactively analyze how specific OpenStreetMap features are mapped in a specific region.
Stars: ✭ 87 (-23.68%)
Mutual labels:  openstreetmap
Osmexpress
Fast database file format for OpenStreetMap
Stars: ✭ 97 (-14.91%)
Mutual labels:  openstreetmap
Openmaptiles
OpenMapTiles Vector Tile Schema Implementation
Stars: ✭ 1,175 (+930.7%)
Mutual labels:  openstreetmap
Valhalla
Open Source Routing Engine for OpenStreetMap
Stars: ✭ 1,794 (+1473.68%)
Mutual labels:  openstreetmap
Zipcode Belgium
zip code, longitude / latitude of belgian cities | code postal, longitude / latitude des communes belges
Stars: ✭ 70 (-38.6%)
Mutual labels:  openstreetmap
Quickosm
QGIS plugin to fetch OSM data with the Overpass API
Stars: ✭ 91 (-20.18%)
Mutual labels:  openstreetmap
Pyrosm
Read OpenStreetMap data from Protobuf files into GeoDataFrame with Python, faster.
Stars: ✭ 111 (-2.63%)
Mutual labels:  openstreetmap
Terrain Classic
World-wide CartoCSS port of Stamen's classic terrain style
Stars: ✭ 110 (-3.51%)
Mutual labels:  openstreetmap
Osm Export Tool
Web service to download customised OSM data in various file formats
Stars: ✭ 99 (-13.16%)
Mutual labels:  openstreetmap

node-osmium

Flexible Javascript library for working with OpenStreetMap data.

Provides bindings to the libosmium C++ library.

NPM Build Status Coverage Status Dependencies

Should you use node-osmium?

If you want top performance use libosmium directly in C++. These node-osmium bindings, due to the expense of passing objects from C++ to Javascript, are much slower than working in C++ directly. Consider node-osmium only for small extracts and prototyping. For large extracts or planet processing we recommend leveraging the libosmium C++ API instead of using node-osmium.

Is node-osmium actively developed?

@springmeyer and @joto are maintaining node-osmium but not actively adding features. We will consider pull requests adding features only when they come with very solid tests, add very clear value to the bindings, and seem easy to maintain.

Depends

  • Node.js v4.x, v6.x, v8.x, v10.x
  • Mocha (http://mochajs.org/, for tests)
  • Compiler that supports -std=c++11 (>= clang++ 3.6 || >= g++ 4.8)
  • libosmium >= 2.10.3 (Debian/Ubuntu: libosmium2-dev)
  • protozero >= 1.5.1 (Debian/Ubuntu: libprotozero-dev)
  • Utfcpp This is included in the libosmium repository and might or might not have been installed with it. See the libosmium README. (Debian/Ubuntu: libutfcpp-dev)
  • Boost >= 1.55 with development headers (Debian/Ubuntu: libboost-dev)
  • zlib (Debian/Ubuntu: zlib1g-dev)
  • expat Debian/Ubuntu: libexpat1-dev
  • sparsehash Debian/Ubuntu: libsparsehash-dev

If you have problems compiling, install the dependencies for libosmium first and make sure it works. Then you should be able to get node-osmium to compile.

Installing

By default, binaries are provided and no external dependencies or compile is needed.

Just do:

npm install osmium

We currently provide binaries for 64 bit OS X and 64 bit Linux. Running npm install on other platforms will fall back to a source compile (see Developing below for build details).

Usage

See the tutorial for an introduction. There are some demo applications in the 'demo' directory. See the README.md there. You can also have a look at the tests in the test directory.

Developing

If you wish to develop on node-osmium you can check out the code and then build like:

git clone https://github.com/osmcode/node-osmium.git
cd node-osmium
make

Use make debug to build with debug information. Use make coverage to build with code coverage.

Use make VERBOSE=1 to output compiler calls used etc.

Testing

npm install mocha
make test

License

node-osmium is available under the Boost Software License. See LICENSE.txt for details.

Contact

Please open bug reports on https://github.com/osmcode/node-osmium/issues. You can ask questions on the OSM developer mailing list or on OFTC net IRC channel #osm-dev.

Authors

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