Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

To/#158 osm model #162

Merged
merged 21 commits into from
Dec 2, 2021
Merged

To/#158 osm model #162

merged 21 commits into from
Dec 2, 2021

Conversation

t-ober
Copy link
Contributor

@t-ober t-ober commented Dec 1, 2021

Proposal for #158

Will most likely need some more extension later on.

@t-ober t-ober added the enhancement New feature or request label Dec 1, 2021
@t-ober t-ober requested a review from a team December 1, 2021 10:44
@t-ober
Copy link
Contributor Author

t-ober commented Dec 1, 2021

Did not change QunatityUtils or QuantityUtilsSpec maybe they show up in the diff because of adding spotlessApply to the scala.

@codecov
Copy link

codecov bot commented Dec 1, 2021

Codecov Report

Merging #162 (e66ab36) into master (7a5f9e6) will increase coverage by 0.53%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #162      +/-   ##
============================================
+ Coverage     45.15%   45.69%   +0.53%     
  Complexity      222      222              
============================================
  Files            32       34       +2     
  Lines          1444     1462      +18     
  Branches        188      188              
============================================
+ Hits            652      668      +16     
- Misses          763      765       +2     
  Partials         29       29              
Impacted Files Coverage Δ
.../scala/edu/ie3/util/quantities/QuantityUtils.scala 93.87% <0.00%> (ø)
...ala/edu/ie3/util/quantities/QuantityMatchers.scala 100.00% <0.00%> (ø)
.../src/main/scala/edu/ie3/util/osm/OsmEntities.scala 83.33% <0.00%> (ø)
...ils/src/main/scala/edu/ie3/util/osm/OsmModel.scala 91.66% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 74ce5a7...e66ab36. Read the comment docs.

docs/OsmModel.puml Outdated Show resolved Hide resolved
docs/OsmModel.puml Outdated Show resolved Hide resolved
docs/OsmModel.puml Outdated Show resolved Hide resolved
docs/OsmModel.puml Outdated Show resolved Hide resolved
docs/OsmModel.puml Show resolved Hide resolved
src/main/scala/edu/ie3/util/osm/OsmModel.scala Outdated Show resolved Hide resolved
src/main/scala/edu/ie3/util/osm/OsmModel.scala Outdated Show resolved Hide resolved
src/main/scala/edu/ie3/util/osm/TagUtils.scala Outdated Show resolved Hide resolved
src/main/scala/edu/ie3/util/osm/OsmModel.scala Outdated Show resolved Hide resolved
*/
def extractLandUses(ways: List[Way]): List[ClosedWay] = {
ways.collect {
case way: ClosedWay if way.containsKeyValuePair(landuse, landUseValues) =>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As discussed orally: If the "allowed" values provided in TagUtils are not in this project anymore, the outline of the method needs adaption.

@ckittl ckittl merged commit c214e1f into master Dec 2, 2021
@ckittl ckittl deleted the to/#158-osm-model branch December 2, 2021 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants