fasterize - Fast Polygon to Raster Conversion
Provides a drop-in replacement for rasterize() from the 'raster' package that takes polygon vector or data frame objects, and is much faster. There is support for the main options provided by the rasterize() function, including setting the field used and background value, and options for aggregating multi-layer rasters. Uses the scan line algorithm attributed to Wylie et al. (1967) <doi:10.1145/1465611.1465619>.
Last updated 2 months ago
rasterrcpprcpparmadillosfspatial
12.19 score 182 stars 20 packages 1.3k scripts 4.4k downloadsPROJ - Generic Coordinate System Transformations Using 'PROJ'
A wrapper around the generic coordinate transformation software 'PROJ' that transforms coordinates from one coordinate reference system ('CRS') to another. This includes cartographic projections as well as geodetic transformations. The intention is for this package to be used by user-packages such as 'reproj', and that the older 'PROJ.4' and version 5 pathways be provided by the 'proj4' package.
Last updated 5 months ago
11.05 score 16 stars 27 packages 87 scripts 7.6k downloadsgeojson - Classes for 'GeoJSON'
Classes for 'GeoJSON' to make working with 'GeoJSON' easier. Includes S3 classes for 'GeoJSON' classes with brief summary output, and a few methods such as extracting and adding bounding boxes, properties, and coordinate reference systems; working with newline delimited 'GeoJSON'; and serializing to/from 'Geobuf' binary 'GeoJSON' format.
Last updated 1 years ago
geojsongeospatialconversiondatainput-outputbboxpolygongeobufcrsndgeojsonspatial
10.48 score 32 stars 13 packages 147 scripts 4.2k downloadsvapour - Access to the 'Geospatial Data Abstraction Library' ('GDAL')
Provides low-level access to 'GDAL' functionality. 'GDAL' is the 'Geospatial Data Abstraction Library' a translator for raster and vector geospatial data formats that presents a single raster abstract data model and single vector abstract data model to the calling application for all supported formats <https://gdal.org/>. This package is focussed on providing exactly and only what GDAL does, to enable developing further tools.
Last updated 5 months ago
cppgdalgdal-api
9.46 score 85 stars 5 packages 57 scripts 740 downloadstidync - A Tidy Approach to 'NetCDF' Data Exploration and Extraction
Tidy tools for 'NetCDF' data sources. Explore the contents of a 'NetCDF' source (file or URL) presented as variables organized by grid with a database-like interface. The hyper_filter() interactive function translates the filter value or index expressions to array-slicing form. No data is read until explicitly requested, as a data frame or list of arrays via hyper_tibble() or hyper_array().
Last updated 1 months ago
9.44 score 90 stars 2 packages 484 scripts 794 downloadstrip - Tracking Data
Access and manipulate spatial tracking data, with straightforward coercion from and to other formats. Filter for speed and create time spent maps from tracking data. There are coercion methods to convert between 'trip' and 'ltraj' from 'adehabitatLT', and between 'trip' and 'psp' and 'ppp' from 'spatstat'. Trip objects can be created from raw or grouped data frames, and from types in the 'sp', sf', 'amt', 'trackeR', 'mousetrap', and other packages, Sumner, MD (2011) <https://figshare.utas.edu.au/articles/thesis/The_tag_location_problem/23209538>.
Last updated 5 months ago
7.95 score 12 stars 2 packages 137 scripts 768 downloadsncmeta - Straightforward 'NetCDF' Metadata
Extract metadata from 'NetCDF' data sources, these can be files, file handles or servers. This package leverages and extends the lower level functions of the 'RNetCDF' package providing a consistent set of functions that all return data frames. We introduce named concepts of 'grid', 'axis' and 'source' which are all meaningful entities without formal definition in the 'NetCDF' library <https://www.unidata.ucar.edu/software/netcdf/>. 'RNetCDF' matches the library itself with only the named concepts of 'variables', 'dimensions' and 'attributes'.
Last updated 1 months ago
7.95 score 11 stars 9 packages 113 scripts 2.9k downloadsdecido - Bindings for 'Mapbox' Ear Cutting Triangulation Library
Provides constrained triangulation of polygons. Ear cutting (or ear clipping) applies constrained triangulation by successively 'cutting' triangles from a polygon defined by path/s. Holes are supported by introducing a bridge segment between polygon paths. This package wraps the 'header-only' library 'earcut.hpp' <https://github.com/mapbox/earcut.hpp.git> which includes a reference to the method used by Held, M. (2001) <doi:10.1007/s00453-001-0028-4>.
Last updated 2 months ago
7.48 score 15 stars 19 packages 18 scripts 1.9k downloadssilicate - Common Forms for Complex Hierarchical and Relational Data Structures
Generate common data forms for complex data suitable for conversions and transmission by decomposition as paths or primitives. Paths are sequentially-linked records, primitives are basic atomic elements and both can model many forms and be grouped into hierarchical structures. The universal models 'SC0' (structural) and 'SC' (labelled, relational) are composed of edges and can represent any hierarchical form. Specialist models 'PATH', 'ARC' and 'TRI' provide the most common intermediate forms used for converting from one form to another. The methods are inspired by the simplicial complex <https://en.wikipedia.org/wiki/Simplicial_complex> and provide intermediate forms that relate spatial data structures to this mathematical construct.
Last updated 11 months ago
hierarchical-datasimplicial-complexspatial-datastructural-primitivestopologytriangulation
7.28 score 54 stars 7 packages 111 scripts 347 downloadssilicate - Common Forms for Complex Hierarchical and Relational Data Structures
Generate common data forms for complex data suitable for conversions and transmission by decomposition as paths or primitives. Paths are sequentially-linked records, primitives are basic atomic elements and both can model many forms and be grouped into hierarchical structures. The universal models 'SC0' (structural) and 'SC' (labelled, relational) are composed of edges and can represent any hierarchical form. Specialist models 'PATH', 'ARC' and 'TRI' provide the most common intermediate forms used for converting from one form to another. The methods are inspired by the simplicial complex <https://en.wikipedia.org/wiki/Simplicial_complex> and provide intermediate forms that relate spatial data structures to this mathematical construct.
Last updated 11 months ago
hierarchical-datasimplicial-complexspatial-datastructural-primitivestopologytriangulation
7.27 score 53 stars 7 packages 111 scripts 304 downloadsceramic - Download Online Imagery Tiles
Download imagery tiles to a standard cache and load the data into raster objects. Facilities for 'AWS' terrain <https://registry.opendata.aws/terrain-tiles/> terrain and 'Mapbox' <https://www.mapbox.com/> servers are provided.
Last updated 9 months ago
7.05 score 92 stars 123 scripts 271 downloadstabularaster - Tidy Tools for 'Raster' Data
Facilities to work with vector and raster data in efficient repeatable and systematic work flow. Missing functionality in existing packages is included here to allow extraction from raster data with 'simple features' and 'Spatial' types and to make extraction consistent and straightforward. Extract cell numbers from raster data and return the cells as a data frame rather than as lists of matrices or vectors. The functions here allow spatial data to be used without special handling for the format currently in use.
Last updated 11 months ago
6.80 score 49 stars 64 scripts 366 downloadsquadmesh - Quadrangle Mesh
Create surface forms from matrix or 'raster' data for flexible plotting and conversion to other mesh types. The functions 'quadmesh' or 'triangmesh' produce a continuous surface as a 'mesh3d' object as used by the 'rgl' package. This is used for plotting raster data in 3D (optionally with texture), and allows the application of a map projection without data loss and many processing applications that are restricted by inflexible regular grid rasters. There are discrete forms of these continuous surfaces available with 'dquadmesh' and 'dtriangmesh' functions.
Last updated 2 years ago
6.60 score 25 stars 1 packages 53 scripts 321 downloadspalr - Colour Palettes for Data
Colour palettes for data, based on some well known public data sets. Includes helper functions to map absolute values to known palettes, and capture the work of image colour mapping as raster data sets.
Last updated 5 months ago
6.35 score 3 stars 4 packages 51 scripts 1.2k downloadscrsmeta - Extract Coordinate System Metadata
Obtain coordinate system metadata from various data formats. There are functions to extract a 'CRS' (coordinate reference system, <https://en.wikipedia.org/wiki/Spatial_reference_system>) in 'EPSG' (European Petroleum Survey Group, <http://www.epsg.org/>), 'PROJ4' <https://proj.org/>, or 'WKT2' (Well-Known Text 2, <http://docs.opengeospatial.org/is/12-063r5/12-063r5.html>) forms. This is purely for getting simple metadata from in-memory formats, please use other tools for out of memory data sources.
Last updated 5 years ago
6.14 score 5 stars 34 packages 3 scripts 5.4k downloadsgraticule - Meridional and Parallel Lines for Maps
Create graticule lines and labels for maps. Control the creation of lines or tiles by setting their placement (at particular meridians and parallels) and extent (along parallels and meridians). Labels are created independently of lines.
Last updated 11 months ago
5.94 score 18 stars 96 scripts 325 downloadsncdump - Extract Metadata from 'NetCDF' Files as Data Frames
Tools for handling 'NetCDF' metadata in data frames. The metadata is provided as relations in tabular form, to avoid having to scan printed header output or to navigate nested lists of raw metadata.
Last updated 7 years ago
5.36 score 3 stars 38 scripts 196 downloadsunjoin - Separate a Data Frame by Normalization
Separate a data frame in two based on key columns. The function unjoin() provides an inside-out version of a nested data frame. This is used to identify duplication and normalize it (in the database sense) by linking two tables with the redundancy removed. This is a basic requirement for detecting topology within spatial structures that has motivated the need for this package as a building block for workflows within more applied projects.
Last updated 5 years ago
5.16 score 12 stars 8 packages 4 scripts 251 downloadslazysf - Delayed Read for 'GDAL' Vector Data Sources
Lazy read for drawings. A 'dplyr' back end for data sources supported by 'GDAL' vector drivers, that allows working with local or remote sources as if they are in-memory data frames. Basic features works with any drawing format ('GDAL vector data source') supported by the 'sf' package.
Last updated 11 months ago
spatial-gdal-sf-dbi
5.04 score 22 stars 10 scripts 106 downloadstraipse - Shared Tools for Tracking Data
A collection of commonly used tools for animal movement and other tracking data. Variously distance, angle, bearing, distance-to, bearing-to and speed are provided for geographic data that can be used directly or within 'tidyverse' syntax. Distances and bearings are calculated using modern geodesic methods as provided by Charles F. F. Karney (2013) <doi:10.1007/s00190-012-0578-z> via the 'geodist' and 'geosphere' packages.
Last updated 2 years ago
4.91 score 18 stars 3 packages 7 scripts 507 downloadstripEstimation - Metropolis Sampler and Supporting Functions for Estimating Animal Movement from Archival Tags and Satellite Fixes
Data handling and estimation functions for animal movement estimation from archival or satellite tags. Helper functions are included for making image summaries binned by time interval from Markov Chain Monte Carlo simulations.
Last updated 2 years ago
4.19 score 4 stars 13 scripts 399 downloadsarea - Calculate Area of Triangles and Polygons
Calculate the area of triangles and polygons using the shoelace formula. Area may be signed, taking into account path orientation, or unsigned, ignoring path orientation. The shoelace formula is described at <https://en.wikipedia.org/wiki/Shoelace_formula>.
Last updated 10 months ago
3.78 score 12 stars 6 scripts 255 downloadstextures - Plot 3D Textures as 2D Graphics (Kinda)
Illustrate the use of texture mapping in rgl for depicting images in graphics or spatial coordinate systems, and mapped onto arbitrary shapes.
Last updated 1 years ago
3.78 score 12 stars 8 scriptsguerrilla - Illustrate Various Methods of Interpolation for Irregular Data
Examples of interpolating irregular data, to illustrate the mechanics of various methods and some easy tools to run them.
Last updated 11 months ago
3.48 score 15 stars 4 scriptslazyraster - Generate Raster Data Lazily from 'GDAL'
Read raster data at a specified resolution on-demand via 'GDAL' (the Geospatial Data Abstraction Library <https://gdal.org/>). Augments the 'raster' package by never reading data from a raster source until necessary for generating an in-memory 'raster' object. A 'lazyraster' object may be cropped and converted to 'raster' object, and by default will only read a small amount of data sufficient for an overall summary. The amount of data read can be controlled by specifying the output dimensions.
Last updated 3 years ago
3.45 score 27 stars 21 scripts 55 downloadsffraster - Native Raster Files
Provides a loose couplings between the facilities of `raster` and `ff`, to allow a file-backed raster grid to be modified as if it were an array in memory.
Last updated 6 years ago
3.40 score 5 stars 9 scriptstissot - The Tissot Indicatrix
Create and plot the Tissot Indicatrix.
Last updated 11 months ago
3.23 score 17 stars 4 scriptsquad - Intermediate Forms of Raster Grids
Raster grids and quads as first class types with helpers. Provides a low level API for generating mesh index and vertices from the simplest abstraction of raster grid, input dimension and (optionally) extent to generate components of meshes for downstream visualization and efficient coordinate transformation. API functions may be 'Linked To' in the R headers library way.
Last updated 11 months ago
gridmeshquadraster
3.08 score 1 stars 1 packages 4 scripts 15 downloadsggdal - GDAL Rendering for 'ggplot2'
A 'ggplot2' extension that enables image data from GDAL data sources (DSN).
Last updated 1 years ago
2.93 score 17 stars 2 scriptscontrolledburn - Rasterize Index
Rasterize without materializing any pixel values. Rasterization of polygons starts with classifying pixels by polygon, and in terms of scanline algorithms this is natively stored very efficiently as an index of start and stops of edges by scanline. We produce these intermediate structures, so they can be used as an efficient format of polygon rasterization, or for the complement of this, data extraction from materialized rasters. This package was derived from 'fasterize', removing Armadillo and the raster package.
Last updated 11 months ago
compressionlazypolygonsraster
2.90 score 8 stars 2 scriptsgrout - Create Raster Tiles
Create raster tiles abstractly.
Last updated 4 months ago
2.70 score 5 stars 3 scriptspolymer - Flexible and Intuitive Overlay Methods
General intersections via a triangle pool from disparate polygon inputs. Overlap is determined via finite-element decomposition of all component edges in all inputs into triangles. Then triangles instances are classified (by point-in-polygon lookup) by objects within layers.
Last updated 11 months ago
2.54 score 7 stars 3 scriptsscgraph - Common Forms for Graph Structures
Provides support for the 'silicate' common form data structure for igraph.
Last updated 6 years ago
edgesigraphsc-form
2.54 score 7 stars 10 scriptsL3bin - Integerized Sinusoidal Binning Scheme for Level 3 Data
The NASA Ocean Biology processing Group L3 bin scheme, based on the sinusoidal map projection. Psuedo code for the binning scheme was published in Appendix A of NASA Technical Memorandum 104566, Vol. 32., listed in URL.
Last updated 2 years ago
2.30 score 4 stars 2 scriptsgdalwebsrv - GDAL Imagery Services 'GDAL_WMS' (Web Map Services)
Provide imagery services via GDAL's Web Map Services. <https://gdal.org/drivers/raster/wms.html>
Last updated 2 years ago
2.30 score 4 stars 1 scriptsvtkr - Read a Limited Subset of Visualization Toolkit Formats
Read some VTK formats. VTK is the Visualization Toolkit <https://en.wikipedia.org/wiki/VTK>.
Last updated 5 years ago
2.30 score 4 stars 3 scriptsrearcut - Constrained Triangulation of Polygons by 'Ear Clipping/Cutting'
Constrained triangulation of polygons implemented by the 'Mapbox' 'Javascript' library 'earcut'.
Last updated 7 years ago
2.30 score 4 stars 4 scriptsscdb - Database Backend for Common Form Data
Creates a database backend from `silicate` data.
Last updated 6 years ago
2.22 score 3 stars 11 scriptswince - Write NetCDF Files for the Obvious Situations
Create a 3D 'NetCDF' with time or depth as the third dimension, and convention-conforming coordinate system metadata. Eventually we'll set this up to write slice by slice which is easy once the file is instantiated, but atm it's purely an experiment. We might include capability to create 4D ones too.
Last updated 2 years ago
2.18 score 3 stars 3 scriptsgranulated - Define Rectangular Regions with Granularity
A granule is a rectangular extent with an implied discretization. The default granularity is 1x1, the range is a whole divisor of itself. This is the general concept of a raster, a rectangular window with discretization. The common extent or bounding box concept can be thought of as the degenerate case (1x1).
Last updated 3 years ago
2.18 score 3 stars 1 scriptsactivate - Activate to Determine the Context of Subsequent Manipulations
A simple context-controlling mechanism to 'activate' a named sub-entity in an object. The generic functions are provided with bare default methods. It is expected that other packages will import the generic and specialize it.
Last updated 7 years ago
2.18 score 1 stars 1 packages 3 scriptsplover - What the Package Does (One Line, Title Case)
Point in polygon.
Last updated 2 years ago
2.00 score 2 stars 1 scriptspfft - What the Package Does (one line, title case)
What the package does (one paragraph).
Last updated 6 years ago
2.00 score 2 stars 3 scriptsearthcircle - Create Those Geographic Circles
Create geographic circles, note this is not the Tissot Inidicatrix see hypertidy/tissot for that.
Last updated 12 months ago
1.70 score 1 stars 2 scriptsgridcol - Gridded Vectors
Vectors for cell indexes from raster grids.
Last updated 7 years ago
1.70 score 1 stars 3 scriptstidyff - Create Native raster Files With ff
Couplings between raster and ff files.
Last updated 7 years ago
1.70 score 1 stars 6 scriptsCMIP5files - What the Package Does (one line, title case)
What the package does (one paragraph).
Last updated 8 years ago
1.70 scorecells - Grid Logic
Grid logic for rasters. Grid logic involves a rectangular extent and a 'grain', the discretization of that extent into rectangular cells. This logic exists in several packages but here is intended to be completely independent of data usage.
Last updated 3 years ago
1.00 score 1 stars 6 scripts