cgardens / osm-binary Goto Github PK
View Code? Open in Web Editor NEWThis project forked from openstreetmap/osm-binary
License: GNU Lesser General Public License v3.0
This project forked from openstreetmap/osm-binary
License: GNU Lesser General Public License v3.0
OSMPBF ====== Osmpbf is a Java/C library to read and write OpenStreetMap PBF files. PBF (Protocol buffer Binary Format) is a binary file format for OpenStreetMap data that uses Google Protocol Buffers as low-level storage. For more information see http://wiki.openstreetmap.org/wiki/PBF_Format . Java Version ============ To build the osmpbf.jar file run: ant For a Java usage example, see src.java/crosby/binary/test/ReadFileExample.java C Version ========= To compile: make -C src To install: make -C src install There is a tool named osmpbf-outline that shows a debug output of the contents of a PBF file. To compile it: make -C tools Using the C Library =================== To include in your program use: #include <osmpbf/osmpbf.h> and link with: -pthread -lz -lprotobuf-lite -losmpbf Debian/Ubuntu Packages ====================== To build the Debian/Ubuntu packages: debuild -I -us -uc To install the Debian/Ubuntu packages: sudo dpkg --install ../libosmpbf-dev_*.deb sudo dpkg --install ../libosmpbf-java_*.deb sudo dpkg --install ../osmpbf-bin_*.deb To clean up after: debclean License ======= The .proto definition files and osmpbf.h are licensed under the MIT license. The other source code is licensed under the LGPL v3+.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.