@@ -145,7 +145,7 @@ def handleProjectionEdgeCases(projection, data):
145145
146146
147147def genGridOnPoints (data1 , gm , deep = True , grid = None , geo = None ,
148- skipReprojection = False , data2 = None ):
148+ data2 = None ):
149149 continents = False
150150 projection = vcs .elements ["projection" ][gm .projection ]
151151 xm , xM , ym , yM = None , None , None , None
@@ -211,7 +211,7 @@ def genGridOnPoints(data1, gm, deep=True, grid=None, geo=None,
211211 xm , xM , ym , yM , tmp , tmp2 = grid .GetPoints ().GetBounds ()
212212 vg = grid
213213 xm , xM , ym , yM = getRange (gm , xm , xM , ym , yM )
214- if geo is None and not skipReprojection :
214+ if geo is None :
215215 geo , geopts = project (pts , projection , [xm , xM , ym , yM ])
216216 pts = geopts
217217 # Sets the vertices into the grid
@@ -607,7 +607,6 @@ def project(pts, projection, wc, geo=None):
607607 geo .SetSourceProjection (ps )
608608 geo .SetDestinationProjection (pd )
609609 geopts = vtk .vtkPoints ()
610- geopts .SetDataTypeToDouble ()
611610 geo .TransformPoints (pts , geopts )
612611 return geo , geopts
613612
0 commit comments