Skip to content
Permalink
Browse files

Merge pull request #1956 from Gustry/add-way

[db manager] add 'way' to geometry column
  • Loading branch information
nyalldawson committed Mar 18, 2015
2 parents b8dc08f + 54ce784 commit 9c79967ee108602d0a41204b4df28064af1947c3
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 9c79967

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