Skip to content

Commit 54ce784

Browse files
committed
add 'way' to geometry column name'
1 parent db23632 commit 54ce784

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/plugins/db_manager/dlg_sql_window.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def fillColumnCombos(self):
261261

262262
# get sensible default columns. do this before sorting in case there's hints in the column order (eg, id is more likely to be first)
263263
try:
264-
defaultGeomCol = next(col for col in cols if col in ['geom','geometry','the_geom'])
264+
defaultGeomCol = next(col for col in cols if col in ['geom','geometry','the_geom','way'])
265265
except:
266266
defaultGeomCol = None
267267
try:

0 commit comments

Comments
 (0)