bug in dal.py _select > geoexpand: convert geography as well

28 views
Skip to first unread message

sunny

unread,
Mar 19, 2014, 6:19:36 PM3/19/14
to web...@googlegroups.com
geoexpand should expand geography as well.
otherwise geography fields will not be converted to text.

the fix for me was to change the if part in geoexpand (dal.py:1713)

-            if isinstance(field.type,str) and field.type.startswith('geometry') and isinstance(field, Field):

+            if isinstance(field.type,str) and field.type.startswith('geo') and isinstance(field, Field):



Massimo Di Pierro

unread,
Mar 20, 2014, 12:13:02 PM3/20/14
to web...@googlegroups.com
done
Reply all
Reply to author
Forward
0 new messages