Commit df225463 authored by Daniel Scheffler's avatar Daniel Scheffler Committed by Daniel Scheffler
Browse files

Fixed issue #21(pandas value error during dataframe merging).

parent e02cddf4
Pipeline #3224 failed with stages
in 2 minutes and 45 seconds
......@@ -294,7 +294,7 @@ class Tie_Point_Grid(object):
GDF = GeoDataFrame(index=range(len(geomPoints)), crs=crs,
columns=['geometry', 'POINT_ID', 'X_IM', 'Y_IM', 'X_UTM', 'Y_UTM'])
GDF['geometry'] = geomPoints
GDF['POINT_ID'] = range(len(geomPoints))
GDF['POINT_ID'] = np.array(range(len(geomPoints))).astype(np.object)
GDF.loc[:, ['X_IM', 'Y_IM']] = self.XY_points
GDF.loc[:, ['X_UTM', 'Y_UTM']] = self.XY_mapPoints
......
__version__ = '0.8.7'
__versionalias__ = '2018-08-10_01'
__version__ = '0.8.8'
__versionalias__ = '2018-10-22_01'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment