Changes between Version 26 and Version 27 of Release/7.6.0-News
- Timestamp:
- Jan 19, 2019, 1:53:47 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Release/7.6.0-News
v26 v27 49 49 * G76:r.buildvrt: Build a VRT (Virtual Raster) from the list of input raster maps 50 50 51 52 53 51 ==== Major module changes ==== 54 52 55 53 (see also below for closed bugs) 56 54 57 * G76:grass76 start script: add --tmp-location (based on patch from radeknovotny94 in #3537). Creates a location in program's tmp dir which is deleted at the end; meant for use with --exec, fix confusing message about missing WIND file fixed 58 55 * G76:grass76 start script: add --tmp-location, it creates a location in the program's tmp dir which is deleted at the end; meant for use with --exec, fix confusing message about missing WIND file 59 56 * G76:d.grid: use new GRASS API for coordinate transformation, use new PROJ 5+ API if available 60 57 * G76:d.where: use new GRASS API for coordinate transformation, use new PROJ 5+ API if available 61 * G76:g.gui.tplot: added capabilities to export plotted data in CSV file, to set x,y axis labels and title for the plot, added title,xlabel,ylabel support to command line, fixed bug with strds and csvoutput58 * G76:g.gui.tplot: added capabilities to export plotted data in CSV file, to set x,y axis labels and title for the plot, added title,xlabel,ylabel support to command line, fixed bug with strds and CSV output 62 59 * G76:g.proj: use new GRASS API for coordinate transformation; use new PROJ 5+ API if available 63 60 * G76:g.region: added pixel option, use new GRASS API for coordinate transformation, use new PROJ 5+ API if available 64 61 * G76:g.version: use new PROJ 5+ API if available 65 62 * G76:i.atcorr: fixed numerical instability, added example to process Sentinel bands, added PlanetScope 0c-0d 0e 0f-10 support 66 * G76:i.segment: fix for memory management estimation, avoid integer overflow with extremely large regions, fix writing out goodness of fit 67 * G76:nviz: various openGL related fixes, use direct rendering; Indirect rendering disabled by default in modern Xorg (since1.17?)63 * G76:i.segment: fix for memory management estimation, avoid integer overflow with extremely large regions, fix writing out goodness of fit, fix writing out segment ids 64 * G76:nviz: various openGL related fixes, use direct rendering; indirect rendering disabled by default in modern Xorg (since Xorg 1.17?) 68 65 * G76:ps.map: support for PROJ 5+ API if available 69 * G76:r3.out.netcdf: adjust for PROJ 5+ API 70 * G76:r.horizon: allow negative angles, use new PROJ 5+ API if available 71 * G76:r.latlong: use new GRASS API for coordinate transformation, use new PROJ 5+ API if available 72 * G76:r.proj: avoid longitude wrapping by PROJ, this is done by GRASS, use new GRASS API for coordinate transformation, +option for user-defined PROJ 5+ pipeline 73 * G76:r.sun: use new GRASS API for coordinate transformation, use new PROJ 5+ API if available 74 * G76:r.sunhours: use new GRASS API for coordinate transformation, use new PROJ 5+ API if available 75 * G76:r.sunmask: use new GRASS API for coordinate transformation, use new PROJ 5+ API if available 76 * G76:v.proj: use new GRASS API for coordinate transformation, +option for user-defined PROJ 5+ pipeline 77 66 * G76:r3.out.netcdf: support for PROJ 5+ API if available 67 * G76:r.horizon: allow negative angles; use new PROJ 5+ API if available 68 * G76:r.latlong: use new GRASS GIS API for coordinate transformation; use new PROJ 5+ API if available 69 * G76:r.proj: avoid longitude wrapping by PROJ, this is done by GRASS; use new GRASS API for coordinate transformation, +option for user-defined PROJ 5+ pipeline 70 * G76:r.sun: use new GRASS GIS API for coordinate transformation; use new PROJ 5+ API if available 71 * G76:r.sunhours: use new GRASS GIS API for coordinate transformation; use new PROJ 5+ API if available 72 * G76:r.sunmask: use new GRASS GIS API for coordinate transformation; use new PROJ 5+ API if available 73 * G76:v.proj: use new GRASS GIS API for coordinate transformation, +option for user-defined PROJ 5+ pipeline 78 74 79 75 ==== Minor module changes ==== … … 84 80 * G76:db.connect: use GRASS default, not current parameters as default answer, fix setting from default and from user options (see #3601) 85 81 * G76:db.droptable: fatal -> warning if table not found, as for g.remove 86 * G76:db.execute: check return code of db_execute_immediate() also for sqloption82 * G76:db.execute: check return code of db_execute_immediate() also for 'sql' option 87 83 * G76:d.vect with z height colors uses a random polygon point for height 88 84 * G76:g.extension: fix debug message syntax … … 104 100 * G76:r.external: get real stats, not approximations for each band, write more metadata 105 101 * G76:r.external.out, G76:r.out.gdal: add CRS EPSG code if available 106 * G76:r.fillnulls: RST segmax/npmin logic is fixed to avoid segmentation on small holes 102 * G76:r.fillnulls: RST segmax/npmin logic is fixed to avoid segmentation on small holes, added memory parameter for internal r.resamp.bspline call 107 103 * G76:r.horizon: check if coordinates are within the current region, fixes #3634 108 * G76:r.import: remove hardcoded memory limit (r.in.gdal will take care), use auto-adjustment for lat/lon104 * G76:r.import: remove hardcoded memory limit, use auto-adjustment for lat/lon 109 105 * G76:r.info: report Type of Map (raster, reclass, GDAL-link, virtual) also with -e flag 110 106 * G76:r.info -s: always report total number of cells (backport trunk r73497) … … 117 113 * G76:r.in.srtm: added support to SRTM SWBD, removed unzip dependencies, now it uses zipfile library 118 114 * G76:r.in.wms: added missing .tif extension needed by gdalwarp (GDAL 2.3+) 119 * G76:r.li.shannon: fix segfault 115 * G76:r.li.shannon: fix segfault in r.li.shannon (see #3676) 120 116 * G76:r.mapcalc: +ceil, +floor 121 117 * G76:r.out.gdal: improve range checks for float and double … … 133 129 * G76:r.what: fix if coords are just outside current region 134 130 * G76:t.info: activate history printing 135 * G76:t.rast.univar: added non-null cells 131 * G76:t.rast.univar: added non-null cells, see #3375 136 132 * G76:v.buffer: use squared buffers around points when -s flag is set 137 133 * G76:v.category: explain option=report (fixes #3643) … … 155 151 * G76:v.profile: Use GEOS for buffer generation due to errors in native buffering functions 156 152 * G76:v.random: fix comparison between signed and unsigned integer expressions warnings (TODO: replace long with int64), restrict join attributes, see #3528, restrict wrong categories assigned, see #3524 157 * G76:v.rast.stats: add number of NULL cells to method option, check for existence of attribute table before launching v.to.rast 158 * G76:v.rast.stats: add where option 159 * G76:v.select: correct class/non-class methods, ws, naming (runs python -tt, full pep8, some pylint), improve processing speed, make it clear that 'overlap' is 'intersects' in GEOS, not 'overlaps', re-organize code to select features from vector map A by features from other vector map B (fixes #3361) 153 * G76:v.rast.stats: add number of NULL cells to method option, check for existence of attribute table before launching v.to.rast, add where option, fix #3523 154 * G76:v.select: correct class/non-class methods, ws, naming (runs python -tt, full pep8, some pylint), improve processing speed, make it clear that 'overlap' is 'intersects' in GEOS, not 'overlaps', re-organize code to select features from vector map A by features from other vector map B (fixes #3361), fix attribute table key name 160 155 * G76:v.select: output map is now only created if any elements are found 156 * G76:v.surf.rst: clarify default smooth value 161 157 * G76:v.to.db: check if column(s) exist before updating, includes check for correct column type, create column(s) of not existing, see #3466 (backport trunk r73236), double-quote strings to protect single quotes, as in G76:v.in.ogr, fix compactness and fractal dimension (fixes #3102), +unit conversion for compactness 162 158 * G76:v.to.rast: add support for centroids 163 159 * G76:v.vect.stats: map label/description UI fix 164 160 * G76:v.what.rast3: fix v.what.rast author's name 165 * G76:v.what.vect: distance units are meters for l l161 * G76:v.what.vect: distance units are meters for lat-long 166 162 167 163 ==== Improvements in the Graphical User Interface ==== 168 164 169 * wxGUI /dbmgr: don't show db info connection by default, it's just occupying space in the dialog165 * wxGUI: wxPython 4 compatibility 170 166 * wxGUI: add settings to show computational region extent by default in map display, see #3519 171 167 * wxGUI: catch also WindowsError when unable to load GRASS libs 172 168 * wxGUI: correctly delete layertree, see #3505 169 * wxGUI: etree takes only non-keyword arguments for parent and tag in Python 3 170 * wxGUI: fix font dialog on mac, #3542 171 * wxGUI: different fixes for !wxPython 4, e.g., loading data to !ListCtrl with checkboxes, fix warnings when using attribute manager, etc (see #3621) 172 * wxGUI: fix m.nviz.image command building 173 * wxGUI: fix Phoenix compatibility 174 * wxGUI: fix problem with Python addons not showing up on Windows, see #3177 175 * wxGUI: implement widget for SQL WHERE parameter 176 * wxGUI: replace deprecated checkbox event method, see #3570 177 * wxGUI: set up default map display properties when new display is open 178 * wxGUI: use simpler widget for !MapsetSelect to avoid !wxWidgets bug #17771 on mac 179 * wxGUI/dbmgr: don't show db info connection by default, it's just occupying space in the dialog 173 180 * wxGUI/datacatalog: display layer on double click 174 181 * wxGUI/datacatalog: remove map layer from layer tree on delete map 175 * wxGUI/datacatalog: remove unused statement176 182 * wxGUI/datacatalog: simplify G76:g.remove caller 177 183 * wxGUI/datacatalog: zoom to first added map (sync with layer manager behaviour) … … 180 186 * wxGUI/dbmgr: fix sorting unicode issue 181 187 * wxGUI/dbmgr: get sample/all values tuning 182 * wxGUI/dbmgr: set busy cursor when soring values 183 * wxGUI: etree takes only non-keyword arguments for parent and tag in Python 3 184 * wxGUI: fix font dialog on mac, #3542 185 * wxGUI: different fixes for wxPython 4, e.g., loading data to ListCtrl with checkboxes, fix warnings when using attribute manager, etc (see #3621) 186 * wxGUI: fix m.nviz.image command building 187 * wxGUI: fix Phoenix compatibility 188 * wxGUI: fix problem with Python addons not showing up on Windows, see #3177 189 * wxGUI forms: improve gui dependencies logic, see #3619 188 * wxGUI/dbmgr: set busy cursor when scoring values 189 * wxGUI/forms: improve gui dependencies logic, see #3619 190 * wxGUI/frame: attribute table manager fails to start from new mapset, see #3658 190 191 * wxGUI/gmodeler: delete intermediate data when model finished 191 192 * wxGUI/gmodeler: display data if model done … … 194 195 * wxGUI/gmodeler: print model computation finished message 195 196 * wxGUI/gmodeler: store display tag in model file 196 * wxGUI: implement widget for SQL WHERE parameter197 197 * wxGUI/lmgr: add layer selection into giface 198 198 * wxGUI/preferences: add new option for random colors (vector) 199 * wxGUI/psmap: wxPython 4 compatibility 199 200 * wxGUI/rdigit: fix raster digitizer toolbar on mac 200 * wxGUI: replace deprecated checkbox event method, see #3570201 * wxGUI: set up default map display properties when new display is open202 201 * wxGUI/SqlWhereSelect: fix renaming issues 203 202 * wxGUI/startup: file to separate GUI-dependent utils (now only db/loc/mapset setting) … … 215 214 * wxGUI/timeline: draw grid behind the data to avoid confusion 216 215 * wxGUI/timeline: specify edgecolor to solve #3609 217 * wxGUI: use simpler widget for MapsetSelect to avoid wxWidgets bug #17771 on mac218 216 219 217 ==== Python scripting ==== 220 218 219 * libpython: by default, no error output is produced even though the output in case of failure reads "Process ended with non-zero return code 1. See errors in the (error) output.", change default to capture and report error output 221 220 * libpython: add tempname() function to grass.script.core, fix #3615 222 221 * libpython array.py: added quiet option to write function 223 222 * libpython db.py: added option in db_table_in_vector to check by default only vectors in current mapset 224 * libpython: by default, no error output is produced even though the output in case of failure reads "Process ended with non-zero return code 1. See errors in the (error) output.", change default to capture and report error output225 223 * libpython: move clean_default_db() to setup 226 * pygrass: attempt to access data from a closed raster map now rises IndexError 224 * libpython: add functions to finish a GRASS session 225 * pygrass: attempt to access data from a closed raster map now rises !IndexError 227 226 * pygrass: add Module support to underscore in parameter's name 228 227 * pygrass: Avoid to pass unicode to C functions in mapsets and location … … 230 229 * pygrass: grid avoid to add a mapset if already present in the path 231 230 * pygrass: grid: Fix doctest 232 * pygrass: number_of() add support for boundaries and centroids (merge r73394 from trunk)233 * pygrass: Provide better error message when raster row index is out of range; Raise IndexError (instead of fatal exit) when operating on a colsed map. This is a more Py htonic way.231 * pygrass: number_of() add support for boundaries and centroids 232 * pygrass: Provide better error message when raster row index is out of range; Raise IndexError (instead of fatal exit) when operating on a colsed map. This is a more Pythonic way. 234 233 * pygrass: raster PEP8 cleanup 235 234 * pygrass: shortcuts: Fix use of python reserved words 236 * pygrass: fix wrongly reports lines for point vector maps, see #3549 (g76: merge r73393 from trunk)235 * pygrass: fix wrongly reports lines for point vector maps, see #3549 237 236 * python ctypes: add __int64 to ctypes_type_map 238 237 239 238 ==== Projection support ==== 240 239 241 * Support of PROJ v.5 242 240 * Support of PROJ v.5 added 241 * configure: use new PROJ API only with proj-5.1.x or higher, otherwise fall back to old PROJ.4 API 243 242 244 243 ==== Library changes ==== … … 254 253 * lib/init: clean up sqlite db if existing, see #3697 255 254 * libinit: use clean_default_db() from script.setup 256 * libpython: add functions to finish a GRASS session257 255 * libinit: rewriting to use functions in lib/python/scripts 258 256 * libproj: +new GRASS API for coordinate transformation, use new PROJ 5+ API starting with proj-5.1.0 if available … … 262 260 * libraster: update documentation for Map type ("raster", "reclass", "GDAL-link", or "virtual") 263 261 * libraster: add support for GDAL 2.4 on MS Windows 264 * libsegment: + all in memory cache262 * libsegment: all-in-memory cache added 265 263 * libsegment: do not zero fill, use lseek in Segment_open() 266 264 * libstats: init vars … … 270 268 * Vlib: change topology building messages to verbose messages, use grass_int64 for count of vertices 271 269 * Vlib: fix for self-intersections in Vect_line_intersection2(): snap self-intersection only once 270 * Vlib: fix size estimation of spatial indices 272 271 * Vlib: fix self-intersections in Vect_line_intersection2() 273 272 * Vlib: fix with_z = 0 for Vect_line_check_intersection2() and Vect_line_intersection2() … … 290 289 ==== User Manuals - Documentation ==== 291 290 292 * various examples added291 * manual pages: various examples added 293 292 * keyword index improved 294 * many typos fixed 293 * many typos fixed in source code comments 295 294 * expanded descriptions, notes and some references added 296 * G76:m.transform/i.ortho.transform: update manuals297 295 * G76:raster3dintro manual: more details and better structure for section: 3D raster import 298 296 … … 305 303 * winGRASS: add pip as depencency 306 304 * winGRASS: add python-ply as a dependency 307 * wingrass: Fix OSGEO4W_ROOT in grass.bat 308 * wingrass: wxpython packages rename to python-wx, see https://trac.osgeo.org/osgeo4w/ticket/577 305 * winGRASS: Fix OSGEO4W_ROOT in grass.bat 306 * winGRASS: wxpython packages renamed to python-wx, see https://trac.osgeo.org/osgeo4w/ticket/577 307 * winGRASS: switch to PROJ 5.2 and GDAL 2.3 308 309 309 310 310 ==== Docker support ====