High performance Scala library and Spark Polyglot (Scala, Python, SQL, etc.) connector for OpenStreetMap Pbf files.
Full documentation at https://simplexspatial.github.io/osm4scala/
Reminder: Only '+' will trigger cross versions.
It's possible to develop using a Windows machine, but all documentation suppose that you are using Linux or Mac.
The only special requirement is to execute sbt compile
to generate the protobuf source code.
sbt compile
The publication into Maven Central has been removed from the release process, so now there are few steps:
- Release.
git checkout master sbt release
- Publish into Maven Central.
Info at xerial/sbt-sonatype
After set the right credentials file at
$HOME/.sbt/1.0/sonatype.sbt
:git checkout v1.*.* sbt clean PATCH_211=false sbt +publishSigned PATCH_211=true sbt +publishSigned # In this point, tree target/sonatype-staging/ will show all artifacts to publish. sbt sonatypeBundleRelease
- Publish documentation and site.
git checkout v1.*.* cd website nvm use export GIT_USER=<username>; export USE_SSH=true; npm run deploy
- PBF2 Documentation: http://wiki.openstreetmap.org/wiki/PBF_Format
- PBF2 Java library: https://github.com/openstreetmap/osmosis/tree/master/osmosis-osm-binary
- Download whole planet pbf files: http://free.nchc.org.tw/osm.planet/
- Download country pbf files: http://download.geofabrik.de/index.html
- Scala protocol buffer library: https://scalapb.github.io/ and https://github.com/thesamet/sbt-protoc
- OSM primitives: https://wiki.openstreetmap.org/wiki/Elements