Issue #2023: fix PyGridData.py to use correct method name to retrieve geometry data from GeometryResponseData.

Change-Id: I7dd69f071c8b645243e5cbc5198068b894878879

Former-commit-id: f372c650a1de21892657420720b232d286b5b365
This commit is contained in:
David Gillingham 2013-06-07 12:10:00 -05:00
parent 03a377c552
commit 48da597564

View file

@ -40,7 +40,7 @@ class PyGeometryData(IGeometryData, PyData.PyData):
def __init__(self, geoDataRecord): def __init__(self, geoDataRecord):
PyData.PyData.__init__(self, geoDataRecord) PyData.PyData.__init__(self, geoDataRecord)
self.__geometry = shapely.wkt.loads(geoDataRecord.getGeometry()) self.__geometry = shapely.wkt.loads(geoDataRecord.getGeometryWKT())
self.__dataMap = {} self.__dataMap = {}
tempDataMap = geoDataRecord.getDataMap() tempDataMap = geoDataRecord.getDataMap()
for key, value in tempDataMap.items(): for key, value in tempDataMap.items():