Skip to content

Commit

Permalink
add 'way' to geometry column name'
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustry committed Mar 18, 2015
1 parent db23632 commit 54ce784
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/db_manager/dlg_sql_window.py
Expand Up @@ -261,7 +261,7 @@ def fillColumnCombos(self):

# 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)
try:
defaultGeomCol = next(col for col in cols if col in ['geom','geometry','the_geom'])
defaultGeomCol = next(col for col in cols if col in ['geom','geometry','the_geom','way'])
except:
defaultGeomCol = None
try:
Expand Down

0 comments on commit 54ce784

Please sign in to comment.