update GeoDB.py for PostGIS