1. 09 Jun, 2017 1 commit
  2. 22 May, 2017 2 commits
  3. 05 Apr, 2017 1 commit
    • Daniel Scheffler's avatar
      moved GeoArray to a new separate library called 'geoarray', added convenience module; · b8887bc1
      Daniel Scheffler authored
      - added new module 'convenience'
      
      convenience:
      - added new submodule 'object_oriented': added function alias_property from GeoArray
      
      geo.projection:
      - EPSG2Proj4(): catched case EPSG_code=None
      - EPSG2WKT(): catched case EPSG_code=None
      - WKT2EPSG(): catched case wkt=''
      
      io.raster.GeoArray:
      - moved GeoArray, NoDataMask, CloudMask, BadDataMask, MultiGeoArray to a new separate library called 'geoarray' and added DeprecationWarnings instead
      
      - updated some import statements
      
      - updated __version__
      b8887bc1
  4. 30 Mar, 2017 1 commit
    • Daniel Scheffler's avatar
      added keywords vmin, vmax · eef1b430
      Daniel Scheffler authored
      io.raster.GeoArray.GeoArray:
      - show(): added keywords "vmin" and "vmax"
      - show_map(): added keywords "vmin" and "vmax"
      - show_map_utm(): added keywords "vmin" and "vmax"
      
      - updated __version__
      eef1b430
  5. 28 Mar, 2017 1 commit
    • Daniel Scheffler's avatar
      some improvements · 8d78e630
      Daniel Scheffler authored
      geo.vector.conversion:
      - points_to_raster(): added keyword fillVal
      
      geo.vector.geometry:
      - boxObj.boundsIm: coordinates are now rounded to integers
      
      geo.projection:
      - added proj4_to_WKT()
      
      io.raster.GeoArray:
      - GeoArray.show_map(): added keyword 'ax'
      - _clip_array_at_mapPos(): bugfix
      
      - updated __version__
      8d78e630
  6. 16 Mar, 2017 1 commit
  7. 15 Mar, 2017 1 commit
    • Daniel Scheffler's avatar
      added functions · 3e805bb6
      Daniel Scheffler authored
      dtypes.conversion:
      - added get_dtypeStr() (moved here from CoReg_Sat)
      
      geo.vector.conversion:dict_to_proj4dict_to_proj4
      - added points_to_raster(): new rasterization function
      
      geo.projection:
      - added dict_to_proj4()
      
      - updated __version__
      3e805bb6
  8. 06 Mar, 2017 1 commit
    • Daniel Scheffler's avatar
      Bugfix · 209ca2f2
      Daniel Scheffler authored
      io.raster.GeoArray.GeoArray:
      - save(): fix for trying to write NaN metadata values
      
      - updated __version__
      209ca2f2
  9. 23 Feb, 2017 2 commits
  10. 21 Feb, 2017 2 commits
    • Daniel Scheffler's avatar
      Added output verification for get_overlap_polygon() · 90586987
      Daniel Scheffler authored
      geo.vector.topology:
      - get_overlap_polygon(): added output verification (automatic hole filling in case of MultiPolygon)
      
      - updated __version__
      90586987
    • Daniel Scheffler's avatar
      Bugfixes · c8af7bd3
      Daniel Scheffler authored
      geo.raster.reproject:
      - warp_ndarray: added output bounds verification
      
      io.raster.GeoArray:
      - refactored _alias_property() to alias_property()
      - GeoArray.reproject_to_new_grid(): bugfix for missing update of footprint_poly after reprojection
      
      - updated __version__
      c8af7bd3
  11. 10 Feb, 2017 1 commit
    • Daniel Scheffler's avatar
      Bugfixes · 12324e3b
      Daniel Scheffler authored
      io.raster.GeoArray:
      - GeoArray:
           - __init__(): fixed wrong setting of progress attribute
           - reproject_to_new_grid(): fixed missing CPUs keyword
      
      - BadDataMask / NoD
          - set default nodata value to False
      
      - updated __version__
      12324e3b
  12. 01 Feb, 2017 1 commit
    • Daniel Scheffler's avatar
      Bugfix · a4f7ace9
      Daniel Scheffler authored
      io.raster.GeoArray:
      - GeoArray.get_mapPos(): bugfix in case mapBounds are not given in projection of GeoArray
      - get_array_at_mapPos(): bugfix for wrong handling of mapBounds in case they are not provided in the projection of GeoArray
      
      - updated __version__
      a4f7ace9
  13. 25 Jan, 2017 3 commits
  14. 24 Jan, 2017 1 commit
    • Daniel Scheffler's avatar
      Bugfix · a6a86d10
      Daniel Scheffler authored
      numeric.vector.find_nearest: bugfix
      
      - updated __version__
      a6a86d10
  15. 23 Jan, 2017 1 commit
    • Daniel Scheffler's avatar
      Bugfix · 0e65b721
      Daniel Scheffler authored
      geo.raster.conversion:
      - raster2polygon: bugfix for not properly handling bad exit status of gdal.Polygonize()
      
      processing.progress_mon:
      - Timer:
          - implemented keyword use_as_callback (now properly raises KeyBoardInterrupt in case of TimeOut
          - improved formatting of elapsed time
      - ProgressBar:
          - implemented keyword use_as_callback
      
      - updated __version__
      0e65b721
  16. 20 Jan, 2017 3 commits
    • Daniel Scheffler's avatar
      added array caching: GeoArray and all subclasses now remember the last... · 428cf5c2
      Daniel Scheffler authored
      added array caching: GeoArray and all subclasses now remember the last position read from disk and return it from memory -> speed improvement
      
      io.raster.GeoArray.GeoArray:
      - arr.setter: now flushes cache if shape changes
      - from_path(): added array caching
      - revised cache_array_subset()
      
      - updated __version__
      428cf5c2
    • Daniel Scheffler's avatar
      Merge remote-tracking branch 'origin/master' · be91c0d5
      Daniel Scheffler authored
      Conflicts:
      	ptds/__init__.py
      be91c0d5
    • Daniel Scheffler's avatar
      geo.coord_grid: · 3c06bc9c
      Daniel Scheffler authored
      - is_coord_grid_equal(): added keyword 'tolerance'; added type hint and docstring
      - is_point_on_grid(): added keyword 'tolerance'; added type hint and updated docstring
      
      io.raster.GeoArray:
      - GeoArray:
          - arr.setter: removed shape assertion -> not useful in combination with image warping
      - BadDataMask and NoDataMask:
          -  __init__(): added pixel value validation
          - arr.setter: moved pixel value validation to _validate_array_values()
          - added _validate_array_values()
      
      - updated __version__
      3c06bc9c
  17. 19 Jan, 2017 2 commits
    • Daniel Scheffler's avatar
      geo.coord_grid: · 56de57fb
      Daniel Scheffler authored
      - is_coord_grid_equal(): added keyword 'tolerance'; added type hint and docstring
      - is_point_on_grid(): added keyword 'tolerance'; added type hint and updated docstring
      
      io.raster.GeoArray:
      - GeoArray:
          - arr.setter: removed shape assertion -> not useful in combination with image warping
      - BadDataMask and NoDataMask:
          -  __init__(): added pixel value validation
          - arr.setter: moved pixel value validation to _validate_array_values()
          - added _validate_array_values()
      
      - updated __version__
      56de57fb
    • Daniel Scheffler's avatar
      revised GeoArray.__getitem__() · 650c5b1d
      Daniel Scheffler authored
      geo.raster.reproject:
      - warp_ndarray(): added type hint
      
      geo.coord_grid:
      - is_point_on_grid(): fixed broken type hint
      
      geo.coord_trafo:
      - reproject_shapelyPoly():  fixed broken type hint
      
      io.raster.GeoArrray.GeoArray:
      - bandnames.getter: added assertion
      - geotransform: bugfix in assertion
      - revised __getitem__():
          - strings are now handled properly
          - bugfix: a requested 3rd dimension from 2D-Array is now only ignored if bands=1
      - __setitem__(): self._arr_cache is now set here
      - dump(): bugfix for wrong wite mode
      - get_mapPos(): added type hint and revised docstring
      - _clip_array_at_mapPos(): added type hint
      - get_array_at_mapPos(): added type hint
      
      - updated __version__
      650c5b1d
  18. 16 Jan, 2017 1 commit
    • Daniel Scheffler's avatar
      geo.vector.geometry: · 23c7618a
      Daniel Scheffler authored
      - fixed some broken type hints
      
      io.raster.GeoArray:
      - GeoArray:
          - fixed some broken type hints
          - arr: added assertion
          - bandnames: now returns an OrderedDict instead of a Python dict
      - added class 'MultiGeoArray' (still a draft -> not yet working)
      
      - updated __version__
      23c7618a
  19. 05 Jan, 2017 1 commit
    • Daniel Scheffler's avatar
      geo,map_info: · af3a9511
      Daniel Scheffler authored
      - geotransform2mapinfo(): bugfix
      
      geo,projection:
      - WKT2EPSG(): added type assertion
      - modified assertion message
      
      io.raster.GeoArray.GeoArray:
      - arr.setter: better assertion message
      - projection.setter: modified assertion (now more robust)
      - mask_nodata(): bugfix for not setting projection properly
      - mask_baddata(): bugfix for not setting projection properly
      - added __setitem__() to overwrite pixel values with a given array
      - __getattr__(): bugfix
      - calc_mask_nodata(): bugfix
      - set_gdalDataset_meta(): read projection is now extra validated
      - from_path: added TODO
      - _get_plottable_image(): bugfix
      - to_disk(): now sets _arr directly
      
      io.raster.GeoArray.BadDataMask:
      - __init__(): bugfix
      
      io.raster.GeoArray.NoDataMask:
      - __init__(): bugfix; added TODO
      
      - added class 'CloudMask'
      
      - updated __version__
      af3a9511
  20. 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
  21. 02 Dec, 2016 1 commit
  22. 29 Nov, 2016 2 commits
  23. 25 Nov, 2016 1 commit
    • Daniel Scheffler's avatar
      added function for quickly reprojecting GeoArray to a given pixel grid;... · abefb430
      Daniel Scheffler authored
      added function for quickly reprojecting GeoArray to a given pixel grid; mask_nodata is now a subclass of GeoArray
      
      geo.coord_grid:
      - snap_bounds_to_pixGrid(): added docstring
      
      io.raster.GeoArray:
      -GeoArray:
          - bandnames getter: bugfix for not checking if shape of GeoArray.arr changed
          - mask_nodata setter: now sets mask_nodata to a subclass of GeoArray 'NoDataMask'
          - __getattr__(): now also returns results of functions belonging to np.array instances
          - calc_mask_nodata(): changed data type of nodata mask to np.bool
          - save(): bugfix for wrong metadata keys
          - added reproject_to_new_grid(): function for quickly reprojection all array-like attributes to a given target grid
      - BadDataMask:
          - bugfix for not allowing certain pixel value combinations
      added class NoDataMask
      
      updated __version__
      abefb430
  24. 23 Nov, 2016 1 commit
  25. 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
  26. 18 Nov, 2016 1 commit
    • Daniel Scheffler's avatar
      simplified GeoArray.__init__(); some bugfixes and further developments · 42ae52b1
      Daniel Scheffler authored
      geo.coord_grid:
      - find_nearest_grid_coord(): fixed inconsistency regarding key 'SE' vs. 'SO'
      
      io.raster.GeoArray.GeoArray:
      - __init__():
          - added docstring
          - init parameters are now respected in case GeoArray is instanced from another GeoArray
          - moved some parameter settings to separate properties
      - attributes 'arr' and 'bandnames' are now properties
      - revised propery 'shape'
      - show(): added warning
      - added deepcopy_array()
      42ae52b1
  27. 17 Nov, 2016 2 commits
    • Daniel Scheffler's avatar
      added metadata property to GeoArray · 44f166b7
      Daniel Scheffler authored
      io.raster.GeoArray.GeoArray():
      - added property metadata: returns GeoDataFrame of all available metadata
      - set_gdalDataset_meta(): now also reads metadata for each band from file on disk
      - save(): now also writes metadata to file on disk
      44f166b7
    • Daniel Scheffler's avatar
      added holoviews visualization for exploring bands-axis in GeoArray · 87d8daa3
      Daniel Scheffler authored
      io.raster.GeoArray.GeoArray:
      - __init__(): GeoArray can now be instanced from another GeoArray without exception
      - show(): added interactive mode (new keyword) that visualizes an interactive holoviews graphic for quickly exploring all bands of the current GeoArray
      
      - updated __version__
      87d8daa3
  28. 15 Nov, 2016 2 commits
    • Daniel Scheffler's avatar
      updated __version__ · a1d96f17
      Daniel Scheffler authored
      a1d96f17
    • Daniel Scheffler's avatar
      implemented point-wise read processes in GeoArray · bdf34e8f
      Daniel Scheffler authored
      geo,vector.topology:
      - fill_holes_within_poly(): bugfix for not checking if polygon has holes in case input poly geom_type=='Polygon'
      
      geo.coord_trafo:
      - mapXY2imXY(): now also accepts 2D coordinate pair arrays
      - imXY2mapXY(): now also accepts 2D coordinate pair arrays
      
      io.raster.GeoArray.GeoArray:
      - added function read_pointData(): allows vectorizes point-wise read processes
      - __getitem__(): bugfix for wrong return value in case the elements of 'given' contain lists -> allows vectorizes point-wise read processes
      bdf34e8f
  29. 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