Skip to content

Commit

Permalink
Fix AttributeError in export command line
Browse files Browse the repository at this point in the history
This is a partial fix for #235
  • Loading branch information
c-w committed Oct 10, 2016
1 parent 2d542db commit 6cd20ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worldengine/imex/__init__.py
Expand Up @@ -92,7 +92,7 @@ def export(world, export_filetype = 'GTiff', export_datatype = 'float32', path =
raise TypeError("Type of data not recognized or not supported by GDAL: %s" % export_datatype)

# massage data to scale between the absolute min and max
elevation = numpy.copy(world.elevation['data'])
elevation = numpy.copy(world.layers['elevation'].data)

# shift data according to minimum possible value
if signed:
Expand Down

0 comments on commit 6cd20ec

Please sign in to comment.