mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-26 02:58:13 +00:00
reinstate tests for geometrytype
This commit is contained in:
@@ -53,6 +53,7 @@ def check_placex_content(step, tablename):
|
|||||||
if tablename == 'location_property_osmline':
|
if tablename == 'location_property_osmline':
|
||||||
q = q + ' FROM %s where osm_id = %%s' % (tablename,)
|
q = q + ' FROM %s where osm_id = %%s' % (tablename,)
|
||||||
else:
|
else:
|
||||||
|
q = q + ", ST_GeometryType(geometry) as geometrytype"
|
||||||
q = q + ' FROM %s where osm_type = %%s and osm_id = %%s' % (tablename,)
|
q = q + ' FROM %s where osm_type = %%s and osm_id = %%s' % (tablename,)
|
||||||
if cls is None:
|
if cls is None:
|
||||||
if tablename == 'location_property_osmline':
|
if tablename == 'location_property_osmline':
|
||||||
|
|||||||
Reference in New Issue
Block a user