Skip to content

Commit

Permalink
Merge pull request #201 from jbouffard/conversion-fix
Browse files Browse the repository at this point in the history
Fixed eturn Type in convert_data_type for TiledRasterRDD
  • Loading branch information
Jacob Bouffard committed May 15, 2017
2 parents e3f0b5f + b54bd12 commit c48850c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geopyspark/geotrellis/rdd.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ def convert_data_type(self, new_type):
Returns:
:class:`~geopyspark.geotrellis.rdd.TiledRasterRDD`
"""
return RasterRDD(self.geopysc, self.rdd_type, self.srdd.convertDataType(new_type))
return TiledRasterRDD(self.geopysc, self.rdd_type, self.srdd.convertDataType(new_type))

def reproject(self, target_crs, extent=None, layout=None, scheme=FLOAT, tile_size=256,
resolution_threshold=0.1, resample_method=NEARESTNEIGHBOR):
Expand Down

0 comments on commit c48850c

Please sign in to comment.