Skip to content
Permalink
Browse files

add 'way' to geometry column name'

  • Loading branch information
Gustry committed Mar 18, 2015
1 parent db23632 commit 54ce784d31475ac7ac4a8cbd2213737d76b643ea
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/db_manager/dlg_sql_window.py
@@ -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:

0 comments on commit 54ce784

Please sign in to comment.
You can’t perform that action at this time.