Changes in version 4.3.1 (2026-03-03) Updated bathymetry to GEBCO 2025 grid, Improved densification of lines, Added a warning in assign_areas() to indicate when a point might be on the edge of the area of interest, Added an option in create_PolyGrids() to build empty grids (which can then be re-used across scripts to increase consistency). Changes in version 4.2.1 (2025-02-16) Improved create_Arrow() to avoid the occurrence of 'strange heads' due to tight turns, Updated projection info of Coast, Added st_transform in load_Coastline(), just like in the other load_X functions to ensure consistent crs info. Changes in version 4.2.0 (2024-10-15) Added create_Ellipse() function, Added create_CircularArrow() function, Increased timeout in download within load_Bathy(), Moved from stars to isoband in get_iso_polys() as the former wouldn't work with large rasters (Thanks to M. D. Sumner), Updated bathymetry to GEBCO 2024 grid, Added ellipses in add_Legend(), Added custom path example in create_Arrow(). Changes in version 4.1.1 (2024-05-28) Optimized create_Arrow() which should now be faster and less prone to errors, and added 'yx' option so that projected coordinates may be used as inputs. Changes in version 4.1.0 (2024-05-06) Modified the behavior of add_Legend() with Boxexp. Udpated Basemaps, now including the new legends. Added cell options to add_Cscale(). Added "strict" option in get_iso_polys(). Changes in version 4.0.8 (2024-04-23) Added add_Legend() and create_Hashes() functions. Updated get_iso_polys() for more flexibility. Changes in version 4.0.7 (2024-02-05) Updated SmallBathy() to the 2023 version of GEBCO. Updated coastline as obtained through load_Coastline(), see: (https://github.com/ccamlr/geospatial_operations). Created a separate document with advanced grids, available on GitHub (https://github.com/ccamlr/CCAMLRGIS/blob/master/Advanced_Grids/Advanced_Grids.md) Changes in version 4.0.6 (2023-09-27) Added Rotate_obj() function. Created a separate document with base maps, available on GitHub (https://github.com/ccamlr/CCAMLRGIS/blob/master/Basemaps/Basemaps.md) Changes in version 4.0.5 (2023-09-15) Added create_Arrow() function. Fixed bug in seabed_area caused by change in terra::expanse. Changed SmallBathy, now requires parentheses eg: plot(SmallBathy()). Fixed some dependencies issues. Changes in version 4.0.4 (2023-02-07) Improved create_Pies() when gridding is required. Added finer controls of color legend in add_Cscale(). Updated SmallBathy to GEBCO 2022. Changes in version 4.0.3 New implementation of line densification. Now all lines than span more than 0.1 degree longitude are densified (before, only isolatitude lines were densified). Changes in version 4.0.2 (2022-11-10) Added get_iso_polys function. Changes in version 4.0.1 (2022-08-22) Re-built manual as per CRAN instructions (switch to HTML5): Removed bold emphasis on text. Changes in version 4.0.0 (2022-05-10) Due to the incoming retirement of packages rgdal and rgeos, the CCAMLRGIS package has been recoded to use the packages sf and terra. The main difference to users is that in order to plot objects, one must replace: plot(MyObject) with: plot(st_geometry(MyObject)) Also, to access the data inside objects, instead of MyObject@data, type MyObject directly. Convert sf objects to sp objects using as_Spatial() if preferred. Simplified create_X() functions to only use dataframe input. Added get_C_intersection() function. Removed distance to isobath calculations in get_depths(). Changes in version 3.2.0 (2021-09-08) Added the create_Pies and add_PieLegend functions. Changes in version 3.1.0 (2021-08-12) Added the load_Bathy function. Changes in version 3.0.7 (2021-06-18) Added the area and centroid location for each cell in the outputs of create_PolyGrids. Changes in version 3.0.6 (2020-09-10) Moved to spatial operations using EPSG codes. Now using EPSG:6932 to project to Lambert azimuthal equal-area projection. This was included in all internal projections as well as load_ functions. Added project_data function. Added Latitudes/Longitudes to label table when using the add_labels function in 'manual' mode. This may be used to find Latitudes/Longitudes by clicking on a map. Updated SmallBathy to GEBCO 2020. assign_areas doesn't re-order columns of the input dataframe any more (when using NamesIn parameter). Changes in version 3.0.5 (2020-07-30) Changed how other packages and functions are loaded when CCAMLRGIS is loaded. Now, only sp is loaded (unavoidable) which removes some past package conflicts (e.g., masking of dplyr functions when raster was loaded). Added 'NamesIn' parameter to assign_areas, get_depths and create_x functions. See help on these functions for details. Added a warning in assign_areas when 'Input' locations are impossible (Latitudes not within -90 to 90 and Longitudes not within -180 to 180). Changes in version 3.0.4 (2020-06-07) Changed crs arguments to accommodate rgdal and sp updates. Changes in version 3.0.3 (2020-03-23) Modified the way locations that are falling on a grid cell edge are dealt with (what was done in Version 3.0.2 did not always work). This sometimes occurs when building equal-area grids using create_PolyGrids. Now, those locations that are falling between cells are isolated and their Latitude and Longitude are randomly shifted by -0.0001 or +0.0001. This is done within a while loop, and, while there are locations that do not fall inside a cell, their locations are randomly shifted by a value increasing by 0.0001 increments (e.g., at the third unsuccessful iteration, Latitudes and Longitudes are randomly shifted by -0.0003 or +0.0003). Changes in version 3.0.2 (2020-03-16) Simplified Depth_cols and Depth_cuts. Added Depth_cols2 and Depth_cuts2 in which the Fishable Depth is highlighted in shades of green. In create_PolyGrids, when using equal area, added a condition to shift latitudes by -0.0001 degree for those latitudes that are too close to an integer value. Without this fix, those latitudes were not assigned to a grid cell as they were falling on an edge between cells. In create_PolyGrids, added the possibility to only input Lat/Lon without data, in which case the count of locations is gridded. In add_RefGrid, added the possibility to place LabLon wherever desired (ie not constrained to the grid produced by ResLat and ResLon). Changes in version 3.0.1 (2020-01-07) Added p4s argument in load functions to force the Lambert azimuthal equal-area projection when loading via GEOJSON. Changes in version 3.0.0 (2019-12-18) Recoded the entire package Added several new functions: add_col Add colors add_Cscale Add a color scale add_labels Add labels add_RefGrid Add a Reference grid assign_areas Assign Areas create_Stations Create Stations get_depths Get depths of locations from bathymetry raster Added bathymetry data Changes in version 2.2.3.9000 small patches to existing load functions after the issue with rdgal readOGR fcn was resolved this version will only run on R versions >= 3.4.0 Changes in version 2.2.0.9000 Seabed area estimation function and example bathymetry data added Functionalities to be added in the near-medium term: extract_area functions to assign management area codes to georeferenced point data Changes in version 2.1.0.9000 create_Lines and create_Points functions have been added Vignette updated with new functions Automated testing from travis and appveyor