mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-12-03 16:48:43 +03:00
reinstate tests for geometrytype
This commit is contained in:
parent
f0d962f8a0
commit
c3e21ea388
@ -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':
|
||||
|
Loading…
Reference in New Issue
Block a user