2022-02-22
magick
is added as suggested and used for color depth decreasing and in SVG whitespace clipping.Available value "geojsonsf"
for argument engine
in function spatial_read()
allows using package geojsonsf
for (fast) reading GeoJSON files.
update_coastline()
is now forced not to use s2 spherical geometry package. Fixed polygons merging in update_coastline()
.
Coastline is updated to version 2022-02-22T04:17.
Test building for development R 4.2.0.
Avoiding in code and examples comparions more than two objects using all.equal()
.
Corrected index in value_cr
, when number of columns and number in argunents.
New argument zoom
in function regrid()
simultaneously replaces expand=zoom
and mul=1/zoom
.
New argument fixed
in function compose_desing()
forms output layout, which is close to session grid.
New argument verbose
in function consistent_grid()
for verbose output.
New coersion (yet simplified) from SpatRaster
class (package terra).
segmentize()
for non-Windows systems.Test building for R 4.1.0.
New function segmentize()
to connect sequence of spatial points to line segments.
New return value ursaLegend
in function panel_plot()
for spatial objects (simple features, spatial abstrac class) instead of ursaColorTable
.
New arguments ...
in function session_grid()
for preliminary passing to regrid()
.
New argument connect
in function segmentize()
for creating either solid multi-segment or multiple consequent segments.
Patterned argument vertical
in function panel_annnotation()
can be numeric (degrees on label inclination).
panel_graticule()
puts marginal longitide/latitude captions at the plot edge in the case when panel has no external border for graticule labels and panel grids are not the same.
Coastline is updated to version 2021-05-20T05:37.
Argument expand
in regrid()
now supports length 1 or 2 (or, coerced to length 2). Grid expansion is proportional to the side of square, which area is equal to area inside of boundary box.
Package ragg
is added as suggested instead of package Cairo
, which is removed from suggested due to poor support font families.
Improved handling for systems with unsupported “cairo” graphic system.
Consistence with imported package sp (>=1.4-4) and suggested package sf
(>=0.9-6) is in progress with focus to “proj4string” declaration of CRS.
Additional value shape
for area
argument and additional value pickpoint
for geocode
argument in function .glance()
.
Package geojsonsf
(>=2.0.0) is added as suggested for faster sf
/GeoJSON import/export.
Package leaflet.providers
is added as suggested.
update_coastline()
: merging of splitted by meridian 180 polygons is changed.
Coastline is updated to version 2020-11-08T06:14
$proj4
in ursaGrid
objects is renamed to $crs
due to activity with PROJ library, but ursa
internally still continues operating with PROJ4 strings. Projection (CRS) values can be extracted or replaced by ursa_crs()
(or ursa_proj4()
, synonym to ursa_crs()
) functions.Consistence with imported package sp (>=1.4-0) and suggested package sf
(>=0.9-3) is in progress.
New argument engine
in function read_gdal()
for optional importind data via sf::gdal_read()
function.
New argument geometry
in spatial_intersecion()
for desired output geometry of spatial features intersection (enfine="sf"
).
New function consistent_grid()
for regrid keeping dimension ratio.
Zero tail of GTiff palettes are cropped for plotting.
In ursaProgressBar()
added argument tail
with default value FALSE
; use TRUE
(previous behaviour) if indication is appeared after progress step.
In compose_open
added value CairoPNG
for agrument device
/type
for handled by Cairo package, which is added as suggested.
Packagae ggmap
is removed from suggested list. Package rmarkdown
is added as suggested. Package widgetframe
is added as suggested for development purpose.
In allocate()
added argument resetGrid
with default value FALSE
for resetting session grid before raster formation.
spatial_write()
: fixed deprecated (sf
>= 0.9-0) argument update
->append
in suggested sf::sf_write()
.
Re-check “don’t test” examples.
Fixed for suggested package proj4
(>=1.0.10).
Tested on R-devel (r77878, r77936) and Rtools 4.0 (2020-02-05); no errors. For R-devel (r77936) suggested package raster
should be reinstalled.
Added argument title
in function print()
for objects of class ursaRaster
for optional header printing.
C-level: memcpy
is replaced by memmove
for overlapped memory areas.
C-level: fseek
is replaced by fseeko/fseeko64
for positions in large files.
Added argument retina
in functions for plotting. Not supported for tiles.
Package RColorBrewer
is added as suggested for cases when pal
attribute in colorize()
is equal to any palette name or category from RColorBrewer
.
Fixed replace function spatial_geometry<-
for Spatial (sp
) objects.
The environental variable PROJ_PATH
is temporal specified for GDAL utils for their execution, if GDAL is found (optional).
Coastline is updated to version 2020-01-09T05:30
Fixed behaviour for using in rmarkdown for self-contained documents
Path to R is taken from R.home("bin")
Fixed appeared “length > 1 in coercion to logical” in examples during CRAN check.
Packages leaflet
, leafem
, leafpop
are added as suggested for polar web mapping.
‘http’ protocol is changed to ‘https’ one for style=polarmap
in glance()
packages htmlwidgets
, htmltools
are added as suggested for development purpose without any next steps for involvement.
Added new argument ref
to functions band_blank()
and ursa_blank()
for more flexible blank detection.
Changed interface to ‘mapnik’ (https instead of http) and ‘mapsurfer’ (Tokenized Openroute service) tile services.
Improved formatting of numeric labels in legend_colorbar()
Coastline is updated to version 2019-09-21T05:39.
R function are used for reading of large binary files, if their size overflows ‘long’ capacity.
Duplicated band names are allowed now for print()
of ursa
objects.
Cancelled replacement “ESRI WKT” by “OGC WKT” format of projection file when writing “ESRI Shapefile”.
Connections (writing and simplified reading) are made public: spatial_write
and spatial_read
functions.
File extensions .webp
(if webp is installed), .jpg
, .jpeg
can be specified for attribute fileout
for saving image file, produced by display
, glance
, compose_open
. Package webp is added as suggested.
Coastline is updated to version 2018-12-13 09:34.
Default style for web basemaps is OSM Mapnik tiles insead of OSM static map due to limitations.
Parsing of metadata from object of package stars (>=0.2).
Domain changed from “arcticconnect.org” to “arcticconnect.ca” for style=polarmap
in glance()
Coastline is updated to version 2018-11-17 09:50.
Package tools is added as Suggested for MD5 manipulations.
Selective improvement of compressed raster matrices in c
, display
. Still far for full support.
obj[2] <- NULL
removes second band of raster object obj
.
Package rgeos is added as Suggested for geometry operations with sp
objects.
Added spatial_intersection
, spatial_symdifference
, and other functions for operations with geometries of spatial objects.
Added Author@R field in DESCRIPTION
.
Changed behaviour for opening of visualization for interactive()
session. Now, figures are opened outsize of GUI, by default. Use session_pngviewer(FALSE)
for restoring of previous behaviour.
Forced UTF-8 encoding for non-shapefiles for “sp” engine
PNG is removed in embedded Rscript by file.remove()
after Sys.which()
Accepting sf::st_set_geometry(x,NULL)
for extracting spatial_data()
of sf
objects
Version 3.8.8 is removed from CRAN
Fixed opening ENVI .hdr Labelled Rasters for Read-only file systems
Fixed ignoring of stdout
in system2
for interactive()
(appeared on Gui for Windows)
Added recipe to use visualization in shiny (imageOutput
/renderImage
)
Initial submission to CRAN
Coastline is updated to version 2018-06-03 09:34
Package IRdisplay
is added as ‘Suggested’.
In adopting to CRAN policy and reviews of CRAN members:
Reduced time of examples, fixed some features.
Changed cache management (after Uwe Ligges code review).
In *.Rd files ‘\{dontrun}’ is replaced to ‘\{donttest}’ (after Swetlana Herbrandt review). Packages caTools
, ggmap
are added as ‘Suggested’ for running of examples.
Support importing of 3-dimensional ‘stars’ arrays
Improvement of character encoding for attributes of spatial objects
Coastline is updated to version 2018-03-27 09:31
Corrected graticules and scalebar for ‘+proj=merc’ projection class for non zero latitude of true scale (e.g., ‘+lat_ts=80.8’)
Package fasterize
is suggested. Version of suggested package sf
should be >=0.6-1
.
Imporing results of sf::gdal_read
.
Increased contrasting in cubehelix for low-colored palettes.
Fixed cubehelix for colorizing with breakvalue=0
Corrected band names for opening rasters using GDAL
Performance improvement for Group Summary (comparisson) of ursaRaster
class.
Coastline is updated 2018-03-07
Added argument coords
for function allocate
.
New wrappers and checkers for spatial (vector GIS) objects.
Some issues for web services are fixed.
in DESCRIPTION file ‘exportPattern’ is replaced by multiple ‘export’ for ability to use non-public funstions which names don’t start with “.”
In panel_coastline
improved detection of polygons’ coodrinates spreading in result of reprojection
Changed registration of native routines.
Package knitr
is added as suggested.
In spatial_coordinates()
: fixed return value for ‘POINT’ geometry for ‘sf’ engine.
In glance()
: if all attributes are NA
, then plot only geometry.
In band_blank()
1) fixed inaccuracy for values not in memory 2) added argument verbose
.
In cubehelix()
canceled auto brightness changing if dark
and light
are specified
In read_envi
and open_envi
added argument cache
to use cache for compressed files.
Internal land polygons (coastline) data are replaced from GSHHG to OSM. Function update_coastline
is added to update coastline data personally.
Caching is introduced for downloaded files.
Changed structure of inst
directory by adding subdirectories requisite
with neccessary files and optional
with secondary files and directories.
Added family of functions spatial_xxxxxxx
to retrieve properties from non-raster spatial objects: simple features (package sf) and Spatial abstract class (package sp).
Argument ‘attr’ is replaced to ‘field’ in internal functions .spatialize
and .glance
.
Argument ‘r’ is replaced to ‘rotate’ in public function cubehelix
.
In coersion from “stack” to “brick”: if nodata values are the same, then nodata is assigned.
in polygonize
added choice of “engine” by means applying functions from either sp or sf packages.
Improved consistence beetween ‘dim’ interity in non-public .regrid()
Supporting categories in exporting to data.frame
Back to patch of failure with ‘rgdal’ of Unix build machine at r-forge
minor improvement to spatial allocation of vector objects with crossing of 180 degree longitude
allocate(): slightly improvement for regular grid detection
background for future functionality
added possibility of image annotation; argument ‘label’ in ‘panel_annotation’ can be object of class ‘array’
fixed divergent coloring for (only) two values in ‘cubehelix()’
‘ggmap’, ‘foreign’ are removed from the list of suggested packages; ‘ncdf4’ is added to the list of suggested packages.
gentle requirements to “chessboard” grid in ‘panel_new()’
fix layout in ‘compose_design()’ for images like strips
in suggestion, sf (>= 0.5-0)
‘nominatim’ geocoding for 180-longitute-objects is more correct, but traffic is higher
alternate geocoding service in the case of base one failure
Minor fixes for categories after resample
‘glance()’ is recoded
Non-ascii for geocoding in ‘glance’
New function ‘get_earthdata’ for retreiving MODIS mosaics.
Added package ‘jpeg’ in the category ‘Imported’.
Introduce geocode to ‘glance’. There is no relation between data and geocoded place.
Introduce tiles to ‘glance’. Now static maps and tiles for basemap in “+proj=merc”
Dismiss from dQuote() and sQuote(), which put non-symmetrical quotes in Rgui; GDAL does’t understand it.
‘inst/glance’ contains mock-up to create vector/raster file associantion with glance()
‘glance’ can work without package ‘sf’; however “package:methods” should be in “search()”
Rename ‘panel_gridline’ to ‘panel_graticule’.