Menu

Tree [fbfbfc] master /
 History

HTTPS access


File Date Author Commit
 .github 2020-09-27 Ángel Cervera Claudio Ángel Cervera Claudio [7a84c7] Spark connector (#41)
 assets 2017-05-03 Ángel Cervera Claudio Ángel Cervera Claudio [0aabbb] Feature/#16 (#18)
 core 2022-09-08 Thibauld Croonenborghs Thibauld Croonenborghs [db1c75] Accept nodes that have visible flag set explici...
 examples 2022-09-08 Angel Cervera Claudio Angel Cervera Claudio [661a6d] Update documentation before release.
 project 2021-05-31 Ángel Cervera Claudio Ángel Cervera Claudio [7db93d] Publish into Sonatype directly (#89)
 spark 2021-11-05 Ángel Cervera Claudio Ángel Cervera Claudio [b9188a] Fix timestamp spark calculation (#101)
 website 2022-09-08 Angel Cervera Claudio Angel Cervera Claudio [661a6d] Update documentation before release.
 .gitignore 2021-10-11 Angel Cervera Angel Cervera [448206] Fix link to Travis
 .scalafmt.conf 2020-09-27 Ángel Cervera Claudio Ángel Cervera Claudio [7a84c7] Spark connector (#41)
 .travis.yml 2020-10-24 Ángel Cervera Claudio Ángel Cervera Claudio [ab684e] Scala 11, 12 and 13 in the master. (#58)
 LICENSE.md 2016-05-17 Ángel Cervera Claudio Ángel Cervera Claudio [d7321c] Create license file.
 README.md 2022-04-03 Ángel Cervera Claudio Ángel Cervera Claudio [c18179] Add starchart.cc info
 build.sbt 2021-10-08 Ángel Cervera Claudio Ángel Cervera Claudio [5f54f8] Bugfix/#91 node gone (#94)
 code_of_conduct.md 2020-04-01 Angel Cervera Claudio Angel Cervera Claudio [451d5f] Add code of conduct
 scalastyle-config.xml 2020-09-27 Ángel Cervera Claudio Ángel Cervera Claudio [7a84c7] Spark connector (#41)
 sonar-project.properties 2021-10-08 Ángel Cervera Claudio Ángel Cervera Claudio [ca6907] Remove gitter web from sonar analysis (#96)
 version.sbt 2022-09-08 Angel Cervera Claudio Angel Cervera Claudio [fbfbfc] Setting version to 1.0.12-SNAPSHOT

Read Me

osm4scala

Maven Central
Build Status
Coverage Status
Quality Gate Status
Gitter
MIT licensed
FOSSA Status
Contributor Covenant

logo

High performance Scala library and Spark Polyglot (Scala, Python, SQL, etc.) connector for OpenStreetMap Pbf files.

Documentation and site

⚠ Full usage documentation at https://simplexspatial.github.io/osm4scala/

Stargazers over time

Stargazers over time

Dev information:

It's possible to develop using a Windows machine, but all documentation suppose that you are using Linux or Mac.

Prepare environment

The only special requirement is to execute sbt compile to generate the protobuf source code.
```shell script
sbt compile

## PATCH_211 flag
Because depending on the Scala version, there are projects that are disabled (No spark3 for Scala 2.11) and different
libraries dependencies. Because this, there is a flag called PATCH_211 (default value is false) to enable or disable
Scala 2.11 compatibility.

### Cross versions
The project is using cross version to manage 2.11, 2.12 and 2.13 using the same code base, so remember to use '+' to
trigger all versions versions.

So remember, as example, for testing:
```shell script
PATCH_211=false sbt +test
PATCH_211=true sbt +test

Release process

The publication into Maven Central has been removed from the release process, so now there are few steps:
1. Release.
shell script git checkout master sbt release
2. Publish into Maven Central. Information about configuration in plugins involved:
- sbt-pgp using gpg command-line utility under the cover.
- Sonatype GPG documentation
- xerial/sbt-sonatype
- scala-lang documentation

Basically:
- Set the keys as sbt-pgp#working-with-pgp-signatures explains.
- Be sure that public key has been uploaded into, at least last time, pgp.mit.edu: gpg --keyserver hkp://pgp.mit.edu --send-keys <key>
- Set the right credentials file at $HOME/.sbt/1.0/sonatype.sbt.
- Execute:
shell script 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
3. Publish documentation and site.
bash git checkout v1.*.* cd website nvm use export GIT_USER=<username>; export USE_SSH=true; npm run deploy

References.

PBF information:

third party OSS libraries:

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.