gdalraster 1.11.0 #407
ctoney
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
System requirements
bit64has been added to ImportsRcppInt64has been added in LinkingToNew utility functions for managing vector data sources
ogr_ds_exists(),ogr_ds_format(),ogr_ds_test_cap(),ogr_ds_create(),ogr_ds_layer_count(),ogr_ds_layer_names(),ogr_layer_exists(),ogr_layer_test_cap(),ogr_layer_create(),ogr_layer_field_names(),ogr_layer_delete(),ogr_field_index(),ogr_field_create(),ogr_geom_field_create(),ogr_field_rename(),ogr_field_delete(),ogr_execute_sql()ogr_def_field(),ogr_def_geom_field(),ogr_def_layer()New bindings to the GDAL VSIVirtualHandle API
VSIFilewrapsVSIVirtualHandlefor Standard C binary file I/O on regular file systems, URLs, cloud storage services, Zip/GZip/7z/RAR, and in-memory filesGDAL VSI for operations on virtual file systems (bug fix / enhancements)
vsi_mkdir(): the file mode was set incorrectly becausemodewas not passed correctly as octal literal.modeis now passed as a character string containing the file mode as octal.vsi_get_file_metadata(): returns metadata for network filesystem objects (/vsicurl/, /vsis3/, /vsiaz/, etc.), and with GDAL >= 3.7, /vsizip/ SOZip metadatavsi_set_path_option(): set a path specific option for a given path prefix, e.g., credential setting for a virtual file system (GDAL >= 3.6)vsi_clear_path_options(): clear path specific configuration options previously set withvsi_set_path_option()(GDAL >= 3.6)vsi_rmdir(): add argumentrecursive,TRUEto delete the directory and its contentvsi_mkdir(): add argumentrecursive,TRUEto create the directory and its ancestors0or-1invisibly indicating success/failure, consistent with GDAL return values. Those return values are now visible to be consistent with return values fromVSIFileclass methods.vsi_stat()withinfo = "size", andvsi_get_disk_free_space()now returnbit64::integer64typeGDALRaster-class
$info()and$infoAsJSON()now use the default command-line arguments for the underlyinggdalinfoutility. Arguments are configurable in the new read/write$infoOptionsfield, which is an empty vector by default (character(0)).rawtype, and add the setting$readByteAsRawas a class field (add support for Byte<->raw IO #314, thanks to @mdsumner)$infoOptionsand$quietfor applying per-object settingsTRUEby default$getActualBlockSize(): retrieve the actual block size for a given block offset$get_pixel_line(): class method alternative to calling the stand-alone functionget_pixel_line()on an object of classGDALRaster(get_pixel_line (or a helper) needs to truncate #339)$getProjection(): equivalent to$getProjectionRef()(consistent withosgeo.gdal.Dataset.getProjection()/osgeo.gdal.Dataset.getProjectionRef()in the GDAL Python API)$getDefaultRAT(): add progress bar since retrieving large raster attribute tables could take >30 secStand-alone processing functions
calc(): add support for multiband output (create multiple bands with calc #319)calc(): add input validation forvar.names, must be inexprget_pixel_line(): an object of classGDALRastercan now be passed for thegtparameter, in which case the geotransform will be obtained from the object and bounds checking on the raster extent will be done (original behavior forgtas numeric vector is unchanged) (get_pixel_line (or a helper) needs to truncate #339)ogr2ogr(): add parameteropen_optionsto support options on the source datasetread_ds(): add parameteras_rawto read a Byte raster as Rrawtype (add support for Byte<->raw IO #314, thanks to @mdsumner)GDAL configuration
dump_open_datasets(): dump a list of all open datasets (shared or not) to the consoleget_num_cpus(): get the number of processors detected by GDALget_usable_physical_ram(): get usable physical RAM reported by GDALhas_spatialite(): returnsTRUEif GDAL was built with SpatiaLite supporthttp_enabled(): returnsTRUEif GDAL was built with libcurl support.cpl_http_cleanup(): wrapper ofCPLHTTPCleanup()for internal use (2024-05-29)Geometry functions
g_is_empty(),g_is_valid(),g_name(),g_intersects(),g_equals(),g_disjoint(),g_touches(),g_contains(),g_within(),g_crosses(),g_overlaps(),g_intersection(),g_union(),g_difference(),g_sym_difference(),g_distance(),g_length(),g_area(),g_centroid()bbox_transform(): transform a bounding box to a different projectiong_transform(): now usesOGR_GeomTransformer_Create()andOGR_GeomTransformer_Transform()in the GDAL API, enhanced version ofOGR_G_Transform(); add argumentswrap_date_lineanddate_line_offsetDocumentation
Authors@ROther internal changes and fixes
GDALRasterclass methods$info(),$infoAsJSON()and$getDefaultRAT()CPLHTTPCleanup()upon R session exitGDALRasterclass method$setFilename(): set the filename of an uninitializedGDALRasterobject, currently undocumented / for internal useGDALRasterclass method_getGDALDatasetH(): get the GDAL dataset handle for internal usebuildRAT(): if the input raster is an object of classGDALRaster, use it by reference rather than instantiating anotherGDALRasterobject internallycalc(): close input raster dataset before exit when a differing extent is detected"-json"as acl_argtoogrinfo()This discussion was created from the release gdalraster 1.11.0.
Beta Was this translation helpful? Give feedback.
All reactions