The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
Tivy provides tools for spatial analysis of fisheries data, including distance calculations and coordinate processing.
Calculate distances from fishing locations to the coastline:
# Basic distance calculation
distances <- coast_distance(
lon = your_data$longitude,
lat = your_data$latitude,
distance_type = "haversine",
unit = "nm"
)
# With custom coastline data
distances <- coast_distance(
lon = your_data$longitude,
lat = your_data$latitude,
coastline = custom_coastline,
unit = "km"
)
Convert coordinates between formats:
# Convert DMS to decimal degrees
decimal_coords <- dms_to_decimal(
coordinates = c("15°30'S", "75°45'W"),
hemisphere = "S",
correct_errors = TRUE
)
# Handle coordinate errors automatically
problematic_coords <- c("15°70'S", "invalid") # Invalid minutes
corrected <- dms_to_decimal(
coordinates = problematic_coords,
correct_errors = TRUE
)
Determine if coordinates are on land or at sea:
Use the included Peru coastline:
Create distance categories for analysis:
Create and analyze fishing zones:
For detailed parameter descriptions, see the function documentation.
Sinnott, R.W. (1984). Virtues of the Haversine. Sky and Telescope, 68(2), 159.
Veness, C. (2002-2022). Calculate distance, bearing and more between Latitude/Longitude points. Movable Type Scripts. https://www.movable-type.co.uk/scripts/latlong.html
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.