- 04 Nov, 2016 1 commit
-
-
Daniel Scheffler authored
added warning if automatic nodata value detection returns unreliable value; bugfix for overwriting user defined attributes of GeoArray io.raster.GeoArray: - GeoArray: - added quiet mode - added attribute _gdalDataset_meta_already_set - added print output if nodata value had to be detected automatically - set_gdalDataset_meta(): added docstring; method is now only called from __init__ numeric.array: - revised find_noDataVal() - added new package similarity
-
- 03 Nov, 2016 2 commits
-
-
Daniel Scheffler authored
geo.raster.reporject: - warp_ndarray(): bugfix for error in assertion geo.raster.GeoArray: - GeoArray.calc_mask_nodata(): added docstring; bugfix for wrong array slicing
-
Daniel Scheffler authored
geo.raster.reproject: - warp_ndarray(): added output assertion geo.projection: - prj_equal(): added better docstring io.raster.GeoArray: - GeoArray: - revised mask_nodata property - added assertion to footprint_poly - revised calc_mask_nodata() -_clip_array_at_mapPos(): bugfix for missing fillVal in case nodata value could not be derived
-
- 02 Nov, 2016 2 commits
-
-
Daniel Scheffler authored
geo.raster.reproject - bugfix for returning wrong geotransform (bug from previous commit)
-
Daniel Scheffler authored
ptds.io.raster.GeoArray.GeoArray: - added function calc_mask_nodata() - added function cache_array_subset() - added setter to 'mask_nodata' property
-
- 01 Nov, 2016 1 commit
-
-
Daniel Scheffler authored
geo.raster - __init__.py: added __all__ - added module conversion containing new function raster2polygon for polygonizing raster arrays io.raster: - gdal: - get_GDAL_ds_inmem(): gt and prj are now optional keywords - GeoArray: - added function _alias_property() - GeoArray: - added attribute basename - __init__(): added FileNotFoundError for Python 3 - added 'nodata' property that return nodata value - refactored cols attribute to 'columns' - added alias attributes 'cols', 'gt', 'prj' - added 'mask_nodata' property that returns a no data mask (uint8) - added 'footprint_poly' property that returns a shapely polygon with the corresponding footprint - added nodata value derival to set_gdalDataset_meta() - save(): added automatic creation of output directory - _get_plottable_image(): now respects nodata value - show(): now respects nodata value - show_map(): now respects nodata value - added show_footprint() function that shows a zoomable map containing the footprint polygon as overlay (Jupyter Notebook internal) io.temp_io => refactored to 'pathgen': - added function get_generic_outpath() numeric.array: - added function find_noDataVal() to derive nodata value from a given numpy array ptds.__init__: - updated __version__
-
- 29 Oct, 2016 1 commit
-
-
Daniel Scheffler authored
compatibility.gdalnumeric: - OpenNumPyArray(): Bugfix for expecting (rows,columns,bands) instead of GDAL-like (bands,rows,columns) - edited docstring - added datatype assertion geo.raster.reproject: - moved availability check for resampling algorithm 'average' here io.raster.gdal: - get_GDAL_ds_inmem(): added docstring - added get_GDAL_driverList() io.raster.GeoArray: - save(): bugfix for writing wrong array dimensions in case of 3D array - show(): nodataVal is now excluded from vmin/vmax calculation when showing image processing.progress_mon: - printProgress(): changed bar symbol due to incompatibility to csh shell output stream
-
- 27 Oct, 2016 1 commit
-
-
Daniel Scheffler authored
- added new package 'compatibility' that ensures that the code also works with older versions of Python and GDAL - added __init__.py to package level geo.raster.reproject: - warp_ndarray(): some modifications to ensure compatibility geo.coord_trafo: - lonlat_to_pixel(): fixed a Python 2.7 incompatibility io.raster.gdal: get_GDAL_ds_inmem(): some modifications to ensure compatibility io.raster.GeoArray: - fixed some Python 2.7 incompatibilies io.temp_io: added new module temp_io for managing temporary files processing.shell: - subcall_with_output(): added verbose mode ptds.__init__: - added validation of GDAL version
-
- 21 Oct, 2016 2 commits
-
-
Daniel Scheffler authored
geo.reproject: - warp_ndarray: added warpMemoryLimit, updated defaults for warpOptions, transformerOptions io.raster.GeoArray: - _get_plottable_image(): bugfix for never reprojecting input image to desired projection if image size <1000x1000 px
-
Daniel Scheffler authored
geo.raster.reproject: - warp_ndarray(): - added keywords polynomialOrder, transformerOptions, warpOptions geo.vector.geometry: - boxObj: - added get_coordArray_MapXY(): a function to quickly get a geolocation array geo.coord_trafo: - transform_any_prj(): added docstring - added transform_coordArray() - added reproject_shapelyGeometry() - reproject_shapelyPoly() is now deprecated geo.projection: - get_proj4info() now also accepts EPSG codes io.raster.GeoArray: - GeoArray: - revised default values of geotransform and projection properties - added some validation to geotransform.setter - added property epsg - revised __getattr__ - added _get_plottable_image() - revised show(): much faster, better colormap - added show_map(): a function for quickly showing a map of the GeoArray - added show_map_utm() - not yet working
-
- 18 Oct, 2016 1 commit
-
-
Daniel Scheffler authored
geo.raster.reproject: - warp_ndarray: - implemented multiprocessing (new keyword CPUs) - added progress bar for GDAL translate and GDAL warp - added error threshold to GDAL warp - added custom options for GDAL warp - added quiet mode io.raster.GeoArray: - GeoArray: - added dummy version of method 'show_map' processing: - added new module progress_mon containing functions to view progress bars
-
- 12 Oct, 2016 1 commit
-
-
Daniel Scheffler authored
geo.raster.reproject: - moved get_GDAL_ds_inmem() to new module 'gdal' geo.vector.geometry: - boxObj.boxMapYX: added docstring geo.vector.topology: - get_footprint_polygon(): added suppression of shapely self intersection warnings (not yet working) and implemented new keyword 'fix_invalid' geo.coord_calc: - calc_FullDataset_corner_positions(): added suppression of shapely self intersection warnings (not yet working) io.raster.GeoArray: GeoArray: - added property ndim - revised __getitem__() - from_path(): added docstring and support for negative slices - added method save() - added method dump() - show(): added xlim/ylim parameters for viewing array subsets - added get_GeoArray_from_GDAL_ds() new module: - io.raster.gdal
-
- 07 Oct, 2016 2 commits
-
-
Daniel Scheffler authored
geo.coord_trafo: - added functions lonlat_to_pixel(), reproject_shapelyPoly() geo.projection: - added function get_prjLonLat() io.raster.GeoArray: - GeoArray.get_mapPos(): bugfix for returning the wrong target pixel size - get_array_at_mapPos(): bugfix for returning the wrong target pixel size
-
Daniel Scheffler authored
- added a new version of warp_ndarray and renamed the old one to warp_ndarray_OLD: much faster than the old version and no issues when warping 3D arrays - some modifications to warp_ndarray_OLD - added get_GDAL_ds_inmem() - added get_GeoArray_from_GDAL_ds() - added warp_GeoArray(): a function to warp GeoArray objects geo.vector.coord_trafo: - added transform_GCPlist() geo.vector.projection: - WKT2EPSG() now returns an integer instead of a string io.raster.GeoArray: - GeoArray: - added whitespace assertion to __init__() - added properties 'rows', 'cols', 'bands', 'xgsd', 'ygsd', 'box' - dtype: bugfix for error when dtype is requested from in_mem-GeoArray - __getitem__(): bugfix for returning the wrong array subset when 'given' slice has length 1 - show(): added interpolation and cmap keywords - get_mapPos(): revision - _clip_array_at_mapPos: - Memory errors due to wrong target dimensions are now catched - get_array_at_mapPos(): major revision numeric.array: - added get_outFillZeroSaturated()
-
- 27 Sep, 2016 2 commits
-
-
Daniel Scheffler authored
-
Daniel Scheffler authored
-