forked from MapComplete/MapComplete
Merge master
This commit is contained in:
commit
b61f930fea
39 changed files with 525 additions and 22753 deletions
|
|
@ -330,6 +330,9 @@ ${nds}${tags} </way>
|
|||
}
|
||||
|
||||
private isPolygon(): boolean {
|
||||
if (this.coordinates.length === 0) {
|
||||
return false
|
||||
}
|
||||
// Compare lat and lon seperately, as the coordinate array might not be a reference to the same object
|
||||
if (
|
||||
this.coordinates[0][0] !== this.coordinates[this.coordinates.length - 1][0] ||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@ import { BBox } from "../BBox"
|
|||
import osmtogeojson from "osmtogeojson"
|
||||
import { FeatureCollection, Geometry } from "geojson"
|
||||
import { OsmTags } from "../../Models/OsmFeature"
|
||||
|
||||
;("use strict")
|
||||
/**
|
||||
* Interfaces overpass to get all the latest data
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue