Add point-only layer for nature reserves, mark point-only layer as old (so that geometries will show up)
This commit is contained in:
parent
b79be77686
commit
135219b5dc
4 changed files with 31 additions and 6 deletions
|
@ -274,6 +274,9 @@ async function createOverview(targetdir: string, r: TileRange, z: number, layern
|
|||
}
|
||||
const features = JSON.parse(fs.readFileSync(read_path, "UTF-8")).features
|
||||
const pointsOnly = features.map(f => {
|
||||
|
||||
f.properties["_last_edit:timestamp"] = "1970-01-01"
|
||||
|
||||
if (f.geometry.type === "Point") {
|
||||
return f
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue