kopia lustrzana https://github.com/openmaptiles/openmaptiles
Bugfix in osm_landcover_gen_z10. (#1054)
Add missing `NOT` in WHERE condition. It causes there are duplicated features of subclass `wood` and `forest` and features of other subclasses are missing.pull/1056/head
rodzic
512b3435ad
commit
5772e61244
|
@ -203,7 +203,7 @@ SELECT subclass,
|
|||
geometry
|
||||
FROM simplify_vw_z10
|
||||
WHERE (ST_NPoints(geometry) >= 300 AND subclass IN ('wood', 'forest'))
|
||||
OR (subclass IN ('wood', 'forest'))
|
||||
OR (subclass NOT IN ('wood', 'forest'))
|
||||
);
|
||||
|
||||
CREATE INDEX ON osm_landcover_gen_z10 USING GIST (geometry);
|
||||
|
|
Ładowanie…
Reference in New Issue