{
  "_id": "6a508c4ec30f0868bbf2068e",
  "Package": "affinity",
  "Title": "Raster Georeferencing, Grid Affine Transforms, Cell Abstraction",
  "Version": "0.2.5",
  "Authors@R": "person(\"Michael D.\", \"Sumner\", email = \"mdsumner@gmail.com\", role = c(\"aut\", \"cre\"))",
  "Description": "Tools for raster georeferencing, grid affine transforms,\nand general raster logic. These functions provide converters\nbetween raster specifications, world vector, geotransform,\n'RasterIO' window, and 'RasterIO window' in 'sf' package list\nformat. There are functions to offset a matrix by padding any\nof four corners (useful for vectorizing neighbourhood\noperations), and helper functions to harvesting user clicks on\na graphics device to use for simple georeferencing of images.\nMethods used are available from\n<https://en.wikipedia.org/wiki/World_file> and\n<https://gdal.org/user/raster_data_model.html>.",
  "License": "GPL-3",
  "LazyData": "true",
  "LazyDataCompression": "xz",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.1.1",
  "URL": "https://github.com/hypertidy/affinity",
  "BugReports": "https://github.com/hypertidy/affinity/issues",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libgdal-dev gdal-bin libgeos-dev libproj-dev\nlibsqlite3-dev",
  "Repository": "https://hypertidy.r-universe.dev",
  "Date/Publication": "2021-06-15 01:49:13 UTC",
  "RemoteUrl": "https://github.com/hypertidy/affinity",
  "RemoteRef": "HEAD",
  "RemoteSha": "d55748a57f1abc331974e9a516de0fa8ecf8e1d4",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-10 05:59:26 UTC",
    "User": "root"
  },
  "Author": "Michael D. Sumner [aut, cre]",
  "Maintainer": "Michael D. Sumner <mdsumner@gmail.com>",
  "_user": "hypertidy",
  "_type": "src",
  "_file": "affinity_0.2.5.tar.gz",
  "_fileid": "https://r2.ropensci.org/abf1c28a1798550a1925453c7b1e5fbfbf2f4cb7bd750a30036a48299cf26b25",
  "_filesize": 728145,
  "_sha256": "abf1c28a1798550a1925453c7b1e5fbfbf2f4cb7bd750a30036a48299cf26b25",
  "_expires": "2026-10-18T06:08:12.000Z",
  "_created": "2026-07-10T05:59:26.000Z",
  "_published": "2026-07-10T06:08:13.916Z",
  "_jobs": [
    {
      "job": 86297330665,
      "time": 155,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8219505597"
    },
    {
      "job": 86297330668,
      "time": 143,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8219502645"
    },
    {
      "job": 86297330663,
      "time": 80,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8219594766"
    },
    {
      "job": 86297330658,
      "time": 103,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8219553608"
    },
    {
      "job": 86296744127,
      "time": 281,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8219465955"
    },
    {
      "job": 86297330654,
      "time": 137,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8219500988"
    },
    {
      "job": 86297330679,
      "time": 97,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8219490860"
    },
    {
      "job": 86297330687,
      "time": 109,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8219494227"
    },
    {
      "job": 86297330680,
      "time": 93,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8219489932"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/hypertidy/actions/runs/29072476064",
  "_status": "success",
  "_upstream": "https://github.com/hypertidy/affinity",
  "_commit": {
    "id": "d55748a57f1abc331974e9a516de0fa8ecf8e1d4",
    "author": "Michael Sumner <mdsumner@gmail.com>",
    "committer": "Michael Sumner <mdsumner@gmail.com>",
    "message": "fix readme front page!\n",
    "time": 1623721753
  },
  "_maintainer": {
    "name": "Michael D. Sumner",
    "email": "mdsumner@gmail.com",
    "login": "mdsumner",
    "mastodon": "@mdsumner@rstats.me",
    "bluesky": "@mdsumner.bsky.social",
    "description": "no names have an anonymous function",
    "uuid": 4107631
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.2.3",
      "role": "Depends"
    },
    {
      "package": "raster",
      "role": "Imports"
    },
    {
      "package": "reproj",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    }
  ],
  "_owner": "hypertidy",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 14,
  "_contributors": [
    {
      "user": "mdsumner",
      "count": 25,
      "uuid": 4107631
    }
  ],
  "_userbio": {
    "uuid": 29297592,
    "type": "organization",
    "name": "hypertidy",
    "followers": 28,
    "description": "[ ... ]"
  },
  "_downloads": {
    "count": 337,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/affinity"
  },
  "_devurl": "https://github.com/hypertidy/affinity",
  "_searchresults": 8,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/affinity.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/hypertidy/affinity",
  "_realowner": "hypertidy",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.5",
      "date": "2021-06-02"
    }
  ],
  "_exports": [
    "affinething",
    "assignproj",
    "bl",
    "br",
    "domath",
    "extent_dim_to_gt",
    "geo_transform0",
    "geo_world0",
    "geotransform_to_world",
    "gt_dim_to_extent",
    "image0",
    "image1",
    "raster_io0",
    "raster_to_gt",
    "raster_to_rasterio",
    "raster_to_sfio",
    "raster_to_world",
    "rasterio_to_sfio",
    "sfio_to_rasterio",
    "text0",
    "tl",
    "tr",
    "world_to_geotransform"
  ],
  "_datasets": [
    {
      "name": "monterey",
      "title": "Monterey Bay elevation",
      "object": "monterey",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [],
      "rows": 270,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "adjacencies",
      "title": "Adjacency, for use in creating area based meshes",
      "topics": [
        "adjacencies",
        "bl",
        "br",
        "image0",
        "image1",
        "text0",
        "tl",
        "tr"
      ]
    },
    {
      "page": "affinething",
      "title": "Use affine logic interactively georegister a raster",
      "topics": [
        "affinething"
      ]
    },
    {
      "page": "assignproj",
      "title": "Assign projection",
      "topics": [
        "assignproj"
      ]
    },
    {
      "page": "domath",
      "title": "Calculate the math of an affine transform",
      "topics": [
        "domath"
      ]
    },
    {
      "page": "extent_dim_to_gt",
      "title": "Create geotransform from extent and dimension",
      "topics": [
        "extent_dim_to_gt"
      ]
    },
    {
      "page": "geo_transform0",
      "title": "Geo transform parameter creator",
      "topics": [
        "geo_transform0"
      ]
    },
    {
      "page": "geo_world0",
      "title": "World file parameter creator",
      "topics": [
        "geotransform_to_world",
        "geo_world0"
      ]
    },
    {
      "page": "gt_dim_to_extent",
      "title": "Determine extent from eotransform vector and dimension",
      "topics": [
        "gt_dim_to_extent"
      ]
    },
    {
      "page": "monterey",
      "title": "Monterey Bay elevation",
      "topics": [
        "monterey"
      ]
    },
    {
      "page": "raster_io",
      "title": "GDAL RasterIO parameter creator",
      "topics": [
        "raster_io",
        "raster_io0"
      ]
    },
    {
      "page": "raster_to_gt",
      "title": "Geotransform from raster object",
      "topics": [
        "raster_to_gt"
      ]
    },
    {
      "page": "raster_to_rasterio",
      "title": "RasterIO window from raster object",
      "topics": [
        "raster_to_rasterio",
        "raster_to_sfio"
      ]
    },
    {
      "page": "raster_to_world",
      "title": "World vector from raster object.",
      "topics": [
        "raster_to_world"
      ]
    },
    {
      "page": "rasterio_to_sfio",
      "title": "The sf/stars RasterIO list",
      "topics": [
        "rasterio_to_sfio"
      ]
    },
    {
      "page": "sfio_to_rasterio",
      "title": "sf package RasterIO from RasterIO window vector",
      "topics": [
        "sfio_to_rasterio"
      ]
    },
    {
      "page": "world_to_geotransform",
      "title": "Create geotransform from world vector",
      "topics": [
        "world_to_geotransform"
      ]
    }
  ],
  "_readme": "https://github.com/hypertidy/affinity/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "crsmeta",
    "lattice",
    "lifecycle",
    "PROJ",
    "raster",
    "Rcpp",
    "reproj",
    "rlang",
    "sp",
    "terra",
    "wk"
  ],
  "_vignettes": [
    {
      "source": "adjacencies.Rmd",
      "filename": "adjacencies.html",
      "title": "adjacencies",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2020-09-09 05:34:10",
      "modified": "2021-05-18 11:06:05",
      "commits": 2
    }
  ],
  "_score": 4.845098040014257,
  "_indexed": true,
  "_nocasepkg": "affinity",
  "_universes": [
    "hypertidy",
    "mdsumner"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.5",
      "date": "2026-07-10T06:01:54.000Z",
      "distro": "resolute",
      "commit": "d55748a57f1abc331974e9a516de0fa8ecf8e1d4",
      "fileid": "https://r2.ropensci.org/8dfc181030e5f80efd46dad48eb3d4d469a55f7c6bb8b084e1798beb236e608d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hypertidy/actions/runs/29072476064"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.5",
      "date": "2026-07-10T06:01:42.000Z",
      "distro": "resolute",
      "commit": "d55748a57f1abc331974e9a516de0fa8ecf8e1d4",
      "fileid": "https://r2.ropensci.org/0f42853ee9cd6852e0c0b14e5490516dc5971ab8ea26364f8d48b1aed2552853",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hypertidy/actions/runs/29072476064"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.5",
      "date": "2026-07-10T06:07:40.000Z",
      "commit": "d55748a57f1abc331974e9a516de0fa8ecf8e1d4",
      "fileid": "https://r2.ropensci.org/3ca4dd59ed0086d6455778fe1a80e3362ee4727c16af9e7096645ce6121c9fbe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hypertidy/actions/runs/29072476064"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.5",
      "date": "2026-07-10T06:05:05.000Z",
      "commit": "d55748a57f1abc331974e9a516de0fa8ecf8e1d4",
      "fileid": "https://r2.ropensci.org/b19527e89664aac057b198874e37ae797634f6d55654b199f9bbef6bd6cea819",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hypertidy/actions/runs/29072476064"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.5",
      "date": "2026-07-10T06:01:56.000Z",
      "commit": "d55748a57f1abc331974e9a516de0fa8ecf8e1d4",
      "fileid": "https://r2.ropensci.org/1ae3f171658f54e590e57d6b3132494104573c01a9ab7d389328ba03fa840729",
      "status": "success",
      "buildurl": "https://github.com/r-universe/hypertidy/actions/runs/29072476064"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.5",
      "date": "2026-07-10T06:00:52.000Z",
      "commit": "d55748a57f1abc331974e9a516de0fa8ecf8e1d4",
      "fileid": "https://r2.ropensci.org/34e891d9a498c32fd873526ea21897d4c6a114776cd0f56c3f3476bdefcc6764",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hypertidy/actions/runs/29072476064"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.5",
      "date": "2026-07-10T06:01:08.000Z",
      "commit": "d55748a57f1abc331974e9a516de0fa8ecf8e1d4",
      "fileid": "https://r2.ropensci.org/3ec5644e290bea2af3c083c7dedf44ad557345414f1f81bb15a8eaabdbfe1723",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hypertidy/actions/runs/29072476064"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.5",
      "date": "2026-07-10T06:00:49.000Z",
      "commit": "d55748a57f1abc331974e9a516de0fa8ecf8e1d4",
      "fileid": "https://r2.ropensci.org/369d482b96021dbc9a6a7ef6ed23c578486cb323bd8b277814dd3bba5b79d500",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hypertidy/actions/runs/29072476064"
    }
  ]
}