1. 18 Aug, 2020 1 commit
  2. 17 Aug, 2020 1 commit
  3. 07 Jan, 2020 1 commit
  4. 22 Jul, 2019 1 commit
  5. 21 Jan, 2019 1 commit
  6. 16 Nov, 2017 1 commit
    • Daniel Scheffler's avatar
      Added spectral to dependencies. Added many functions from arosics: · 3e0bbfe8
      Daniel Scheffler authored
      - dtypes.convertGdalNumpyDataType()
      - geo.get_coord_grid()
      - io.raster.gdal.wait_if_used()
      - io.raster.reader.init_SharedArray_in_globals()
      - io.raster.reader.fill_arr()
      - io.raster.reader.gdal_read_subset()
      - io.raster.reader.gdal_ReadAsArray_mp()
      - io.raster.writer.write_numpy_to_image()
      - io.raster.writer.write_envi()
      - io.raster.writer.init_SharedArray_on_disk()
      - io.raster.writer.fill_arr_on_disk()
      - io.raster.writer.convert_gdal_to_bsq__mp()
      - io.vector.writer.write_shp()
      3e0bbfe8
  7. 19 Sep, 2017 1 commit
  8. 30 Jun, 2017 1 commit
  9. 09 Jun, 2017 1 commit
  10. 03 Jan, 2017 1 commit
    • Daniel Scheffler's avatar
      Bugfix · c235e9ca
      Daniel Scheffler authored
      io.raster.gdal:
      - get_GDAL_ds_inmem():
          - modified doxstring
          - bugfix: invalid nodata values are now properly catched
      
      io.raster.GeoArray.GeoArray:
      - save(): added automatic creation out output directory
      
      - updated __version__
      c235e9ca
  11. 22 Nov, 2016 1 commit
    • Daniel Scheffler's avatar
      added new property 'mask_baddata' to GeoArray; some bugfixes and further... · 76fe39f0
      Daniel Scheffler authored
      added new property 'mask_baddata' to GeoArray; some bugfixes and further developments; new dtypes package
      
      - added package 'dtypes' with submodule 'conversion' for performing data tyoe conversions
      
      geo.raster.reproject:
      - warp_ndarray(): input data types that are incompatible to GDAL are now automatically transformed to a GDAL compatible data type
      
      io.raster.gdal:
      - get_GDAL_ds_inmem(): added automatic data type conversion if not compatible to GDAL
      
      io.raster.GeoArray:
      - GeoArray:
          - __init__():
              - bugfix for rejecting subclasses of GeoArray
              - added attribute '_mask_baddata'
          - added property 'mask_baddata' + setter
      - added class 'BadDataMask' (subclass of GeoArray)
      
      - updated __version__
      76fe39f0
  12. 12 Nov, 2016 1 commit
    • Daniel Scheffler's avatar
      some further developments and bug fixes · 82509a5a
      Daniel Scheffler authored
      io.raster.gdal:
      - catched empty dataset exception
      
      io.raster.GeoArray.GeoArray:
      - added property 'xygrid_specs'
      - save(): edited docstring; catched missing driver exception
      - _get_plottable_image(): now supports requesting a geographic area (added keywords 'boundsMap', 'boundsMapPrj')
      - show(): implemented keywords 'boundsMap', 'boundsMapPrj'; edited docstring
      - show_map(): implemented keywords 'boundsMap', 'boundsMapPrj'; edited docstring
      - get_mapPos(): refactored keyword bandslist to band2get; edited docstring
      
      numeric.vector:
      - find_nearest(): bugfix for wrong return value in case of exact hit if roundAlg=='off'
      
      similarity.raster:
      - calc_ssim(): added data type adjustment; refactored match to image0 and other to image1; added keyword 'gaussian_weights'
      
      - updated __version__
      82509a5a
  13. 08 Nov, 2016 1 commit
    • Daniel Scheffler's avatar
      Bugfix for footprint_poly; revised progress bar handling; bugfix for not... · bcd35c46
      Daniel Scheffler authored
      Bugfix for footprint_poly; revised progress bar handling; bugfix for not resetting timeout start time; some further developments
      
      compatibility.python.exceptions:
      - FileNotFoundError: revised docstring
      
      compatibility.gdal:
      - refactored TranslateOptions to Translate
      
      geo.raster.conversion:
      - raster2polygon(): updated calls for progress bar and timeout
      
      geo.raster.reproject:
      - warp_ndarray(): updated calls for progress bar and timeout
      
      geo.vector.topology:
      - added fill_holes_within_poly()
      
      io.raster.gdal:
      - get_GDAL_ds_inmem(): implemented keyword 'nodata'
      
      io.raster.GeoArray:
      - GeoArray:
          - added many docstrings
          - projection.setter: revised assertion
          - footprint_poly(): bugfix for not consequently returning shapely.geometry.Polygon instances
          - save(): implemented keyword 'creationOptions': allows to pass creation options to GDAL writer
      
      processing.progress_mon:
      - replaced function is_timed_out() with new class 'Timer'
      - replaced function printProgress() with new class 'ProgressBar'
      bcd35c46
  14. 01 Nov, 2016 1 commit
    • Daniel Scheffler's avatar
      added a lot of feature improvements and further developments · ac00904e
      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__
      ac00904e
  15. 29 Oct, 2016 1 commit
    • Daniel Scheffler's avatar
      Bugfix for returning wrong array shape when warping a 3D array · bea75bf5
      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
      bea75bf5
  16. 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
  17. 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