Skip to content

Commit

Permalink
renamed isArea to isAreaWay as the logic has changed
Browse files Browse the repository at this point in the history
  • Loading branch information
miklcct committed Oct 15, 2024
1 parent d3f7d70 commit 6dbaf21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ public void addWay(OsmWay way) {

applyLevelsForWay(way);

if (way.isArea()) {
if (way.isAreaWay()) {
// this is an area that's a simple polygon. So we can just add it straight
// to the areas, if it's not part of a relation.
if (!areaWayIds.contains(wayId)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public boolean isBackwardEscalator() {
*
* An area can be specified as such, or be one by default as an amenity.
*/
public boolean isArea() {
public boolean isAreaWay() {
return (
!isTag("area", "no") &&
(
Expand Down

0 comments on commit 6dbaf21

Please sign in to comment.