1. 27 Oct, 2016 1 commit
    • Daniel Scheffler's avatar
      added Python 2.7 compatibilty; added GDAL downwards compatibility · b00ca185
      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
      b00ca185
  2. 21 Oct, 2016 3 commits
    • Daniel Scheffler's avatar
      added warpMemoryLimit to warp_ndarray · 00152cf0
      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
      00152cf0
    • Daniel Scheffler's avatar
      fixed missing function transform_any_prj() that was caused by a copy paste error · 7066ee0b
      Daniel Scheffler authored
      geo.coord_trafo:
      - transform_any_prj(): bugfix for wring function name -> renamed from 'c' to 'transform_any_prj'
      
      geo.raster.reproject:
      - warp_ndarray:  added documentation for some keywords
      7066ee0b
    • Daniel Scheffler's avatar
      added functions to visualize GeoArray as map; improved GeoArray.show(); some new functions · f85fd326
      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
      f85fd326
  3. 18 Oct, 2016 1 commit
    • Daniel Scheffler's avatar
      implemented multiprocessing and GCP based warping into warp_ndarray · 12889c79
      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
      12889c79
  4. 14 Oct, 2016 1 commit
  5. 12 Oct, 2016 1 commit
    • Daniel Scheffler's avatar
      some bugfixes and improvements · 222d8f50
      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
      222d8f50
  6. 07 Oct, 2016 2 commits
    • Daniel Scheffler's avatar
      Bugfix within GeoArray; added functions · 2c88efe8
      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
      2c88efe8
    • Daniel Scheffler's avatar
      geo.raster.reproject: · 903d411c
      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()
      903d411c
  7. 27 Sep, 2016 1 commit