kopia lustrzana https://github.com/openmaptiles/openmaptiles
This reverts commit f7d7a0ced3
.
pull/1033/head
rodzic
97ffabcb49
commit
8ba2e18dea
|
@ -18,11 +18,10 @@ $$
|
|||
SELECT pt.osm_id
|
||||
FROM osm_housenumber_point pt
|
||||
INNER JOIN osm_housenumber_point poly
|
||||
ON (ST_GeometryType(poly.geometry) <> 'ST_Point'
|
||||
ON (ST_GeometryType(poly.geometry) = 'ST_Polygon'
|
||||
AND ST_GeometryType(pt.geometry) = 'ST_Point'
|
||||
AND pt.geometry && poly.geometry
|
||||
AND pt.housenumber = poly.housenumber
|
||||
AND (full_update OR pt.osm_id IN (SELECT osm_id FROM housenumber.osm_ids))
|
||||
)
|
||||
);
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue