mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-15 02:47:59 +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':
|
||||
q = q + ' FROM %s where osm_id = %%s' % (tablename,)
|
||||
else:
|
||||
q = q + ", ST_GeometryType(geometry) as geometrytype"
|
||||
q = q + ' FROM %s where osm_type = %%s and osm_id = %%s' % (tablename,)
|
||||
if cls is None:
|
||||
if tablename == 'location_property_osmline':
|
||||
|
||||
Reference in New Issue
Block a user