{
  "_id": "6ae44f418d250e7ad09f13b1",
  "Package": "osbng",
  "Title": "Geospatial Grid Indexing with the British National Grid",
  "Version": "0.2.0",
  "Authors@R": "c(\nperson(\"Chris\", \"Jochem\", email = \"chris.jochem@os.uk\", role = c(\"cre\", \"aut\")),\nperson(\"Ordnance Survey Ltd\", role = c(\"cph\", \"fnd\")),\nperson(\"Steve\", \"Kingston\", role = c(\"ctb\")),\nperson(\"Kate\", \"New\", role = c(\"ctb\")),\nperson(\"Tom\", \"Peterken\", role = c(\"ctb\")))",
  "Description": "Offers a streamlined programmatic interface to Ordnance\nSurvey's British National Grid (BNG) index system, enabling\nefficient spatial indexing and analysis based on grid\nreferences. It supports a range of geospatial applications,\nincluding statistical aggregation, data visualisation, and\ninteroperability across datasets. Designed for developers and\nanalysts working with geospatial data in Great Britain, 'osbng'\nsimplifies integration with geospatial workflows and provides\nintuitive tools for exploring the structure and logic of the\nBNG system.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.1",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "URL": "https://ordnancesurvey.github.io/osbng-r/,\nhttps://github.com/OrdnanceSurvey/osbng-r",
  "BugReports": "https://github.com/OrdnanceSurvey/osbng-r/issues",
  "Repository": "https://ordnancesurvey.r-universe.dev",
  "Date/Publication": "2025-07-07 07:13:20 UTC",
  "RemoteUrl": "https://github.com/ordnancesurvey/osbng-r",
  "RemoteRef": "HEAD",
  "RemoteSha": "ab401861f0f818e882ef2f419ae4282b8f4f198c",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-30 07:50:12 UTC",
    "User": "root"
  },
  "Author": "Chris Jochem [cre, aut],\nOrdnance Survey Ltd [cph, fnd],\nSteve Kingston [ctb],\nKate New [ctb],\nTom Peterken [ctb]",
  "Maintainer": "Chris Jochem <chris.jochem@os.uk>",
  "_user": "ordnancesurvey",
  "_type": "src",
  "_file": "osbng_0.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/5195887da3527ea2a8affa20aaec830d2cac5cf3d8bb2af85b4a9a6644e5eb64",
  "_filesize": 4802586,
  "_sha256": "5195887da3527ea2a8affa20aaec830d2cac5cf3d8bb2af85b4a9a6644e5eb64",
  "_expires": "2027-02-07T08:03:11.000Z",
  "_created": "2026-10-30T07:50:12.000Z",
  "_published": "2026-10-30T08:03:12.950Z",
  "_upstream": "https://github.com/ordnancesurvey/osbng-r",
  "_status": "success",
  "_maintainer": {
    "name": "Chris Jochem",
    "email": "chris.jochem@os.uk"
  },
  "_jobs": [
    {
      "job": 123953005686,
      "time": 132,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12962581330"
    },
    {
      "job": 123953005660,
      "time": 110,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12962576229"
    },
    {
      "job": 123953005682,
      "time": 144,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12962387476"
    },
    {
      "job": 123953005793,
      "time": 170,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12963021466"
    },
    {
      "job": 123952067698,
      "time": 170,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12961923292"
    },
    {
      "job": 123953005738,
      "time": 91,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12961953342"
    },
    {
      "job": 123953005694,
      "time": 67,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12961724465"
    },
    {
      "job": 123953005673,
      "time": 74,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12962606180"
    },
    {
      "job": 123953005770,
      "time": 83,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12962161777"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ordnancesurvey/actions/runs/41022234282",
  "_commit": {
    "id": "ab401861f0f818e882ef2f419ae4282b8f4f198c",
    "author": "Chris Jochem <wcjochem@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #4 from OrdnanceSurvey/dev\n\nrelease version 0.2.0",
    "time": 1751872400
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "geos",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "sf",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "ordnancesurvey",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "geospatial",
    "ordnance-survey-grid",
    "ordnancesurvey",
    "spatial",
    "spatial-indexing"
  ],
  "_stars": 5,
  "_contributors": [
    {
      "user": "wcjochem",
      "count": 5,
      "uuid": 7605755
    }
  ],
  "_userbio": {
    "uuid": 2436924,
    "type": "organization",
    "name": "Ordnance Survey",
    "followers": 242,
    "description": "Britain's mapping agency "
  },
  "_downloads": {
    "count": 417,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/osbng"
  },
  "_devurl": "https://github.com/ordnancesurvey/osbng-r",
  "_pkgdown": "https://ordnancesurvey.github.io/osbng-r/",
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/osbng.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/ordnancesurvey/osbng-r",
  "_realowner": "ordnancesurvey",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.0",
      "date": "2025-07-05"
    }
  ],
  "_exports": [
    "as_bng_reference",
    "bbox_to_bng",
    "bng_distance",
    "bng_dwithin",
    "bng_grid_100km",
    "bng_grid_10km",
    "bng_grid_1km",
    "bng_grid_50km",
    "bng_grid_5km",
    "bng_is_neighbour",
    "bng_kdisc",
    "bng_kring",
    "bng_neighbours",
    "bng_to_bbox",
    "bng_to_children",
    "bng_to_grid_geom",
    "bng_to_parent",
    "bng_to_xy",
    "geom_to_bng",
    "geom_to_bng_intersection",
    "geom_to_bng_intersection_explode",
    "get_bng_resolution",
    "get_bng_resolution_string",
    "is_bng_reference",
    "is_valid_bng",
    "is_valid_bng_resolution",
    "list_bng_bounds",
    "list_bng_prefixes",
    "list_bng_resolution",
    "xy_to_bng"
  ],
  "_help": [
    {
      "page": "as_bng_reference",
      "title": "Create BNG reference objects",
      "topics": [
        "as_bng_reference",
        "as_bng_reference.BNGReference",
        "as_bng_reference.character",
        "as_bng_reference.default",
        "is_bng_reference"
      ]
    },
    {
      "page": "bng_to_bbox",
      "title": "Convert bounding boxes",
      "topics": [
        "bbox_to_bng",
        "bbox_to_bng.data.frame",
        "bbox_to_bng.matrix",
        "bbox_to_bng.numeric",
        "bng_to_bbox",
        "bng_to_grid_geom"
      ]
    },
    {
      "page": "bng_distance",
      "title": "Distance calculations",
      "topics": [
        "bng_distance",
        "bng_dwithin"
      ]
    },
    {
      "page": "bng_grid",
      "title": "Map BNG References to Spatial Objects",
      "topics": [
        "bng_grid",
        "bng_grid_100km",
        "bng_grid_10km",
        "bng_grid_1km",
        "bng_grid_50km",
        "bng_grid_5km"
      ]
    },
    {
      "page": "bng_kring",
      "title": "Spatial neighbourhoods in the British National Grid index system",
      "topics": [
        "bng_kdisc",
        "bng_kring"
      ]
    },
    {
      "page": "bng_neighbours",
      "title": "Identify neighbouring grid squares",
      "topics": [
        "bng_is_neighbour",
        "bng_neighbours"
      ]
    },
    {
      "page": "bng_to_children",
      "title": "Navigate the British National Grid hierarchy",
      "topics": [
        "bng_to_children",
        "bng_to_parent"
      ]
    },
    {
      "page": "bng_to_xy",
      "title": "Convert BNG References",
      "topics": [
        "bng_to_xy",
        "xy_to_bng",
        "xy_to_bng.data.frame",
        "xy_to_bng.matrix",
        "xy_to_bng.numeric"
      ]
    },
    {
      "page": "BNGReference",
      "title": "BNG Reference objects",
      "topics": [
        "as.data.frame.BNGReference",
        "BNGReference",
        "c.BNGReference",
        "unique.BNGReference",
        "[.BNGReference",
        "[<-.BNGReference",
        "[[.BNGReference",
        "[[<-.BNGReference"
      ]
    },
    {
      "page": "geom_to_bng",
      "title": "Spatial index for geometries",
      "topics": [
        "geom_to_bng",
        "geom_to_bng.geos_geometry",
        "geom_to_bng.sf",
        "geom_to_bng.sfc",
        "geom_to_bng_intersection",
        "geom_to_bng_intersection.geos_geometry",
        "geom_to_bng_intersection.sf",
        "geom_to_bng_intersection.sfc"
      ]
    },
    {
      "page": "geom_to_bng_intersection_explode",
      "title": "Spatial data frame for indexed geometries",
      "topics": [
        "geom_to_bng_intersection_explode",
        "geom_to_bng_intersection_explode.geos_geometry",
        "geom_to_bng_intersection_explode.sf",
        "geom_to_bng_intersection_explode.sfc"
      ]
    },
    {
      "page": "get_bng_resolution",
      "title": "BNG reference resolution",
      "topics": [
        "bng_resolutions",
        "get_bng_resolution",
        "get_bng_resolution_string",
        "list_bng_resolution"
      ]
    },
    {
      "page": "list_bng",
      "title": "List the components of the British National Grid",
      "topics": [
        "list_bng",
        "list_bng_bounds",
        "list_bng_prefixes"
      ]
    },
    {
      "page": "print.BNGReference",
      "title": "Printing BNG References",
      "topics": [
        "format.BNGReference",
        "print.BNGReference"
      ]
    },
    {
      "page": "Regions",
      "title": "Region Boundaries for London",
      "topics": [
        "Regions"
      ]
    },
    {
      "page": "valid",
      "title": "Check validity of a BNG Reference",
      "topics": [
        "is_valid_bng",
        "is_valid_bng.BNGReference",
        "is_valid_bng.character",
        "is_valid_bng_resolution",
        "valid"
      ]
    }
  ],
  "_readme": "https://github.com/ordnancesurvey/osbng-r/raw/HEAD/README.md",
  "_rundeps": [
    "geos",
    "libgeos",
    "wk"
  ],
  "_vignettes": [
    {
      "source": "osbng_indexing_polygon_examples.Rmd",
      "filename": "osbng_indexing_polygon_examples.html",
      "title": "Indexing Polygon Example",
      "engine": "knitr::rmarkdown",
      "headings": [
        "British National Grid Indexing Polygon Examples",
        "Indexing Functions Accepting Geometries",
        "geom_to_bng",
        "geom_to_bng_intersection",
        "geom_to_bng_intersection_explode",
        "Examples",
        "Optional sf Dependency",
        "Alternative: geom_to_bng_intersection"
      ],
      "created": "2025-05-19 13:07:13",
      "modified": "2025-07-07 07:13:20",
      "commits": 2
    },
    {
      "source": "osbng_overview.Rmd",
      "filename": "osbng_overview.html",
      "title": "osbng Overview",
      "engine": "knitr::rmarkdown",
      "headings": [
        "BNG Index System",
        "Resolutions",
        "BNGReference",
        "Indexing",
        "Indexing geos Geometries",
        "Point",
        "LineString",
        "Visualise the results",
        "Polygon",
        "Hierarchy",
        "Parent",
        "Children",
        "Traversal",
        "K-disc",
        "K-ring",
        "Neighbours",
        "Distance",
        "Grids"
      ],
      "created": "2025-07-07 07:13:20",
      "modified": "2025-07-07 07:13:20",
      "commits": 1
    }
  ],
  "_score": 4.698970004336019,
  "_indexed": true,
  "_nocasepkg": "osbng",
  "_universes": [
    "ordnancesurvey"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-30T07:52:18.000Z",
      "distro": "resolute",
      "commit": "ab401861f0f818e882ef2f419ae4282b8f4f198c",
      "fileid": "https://r2.ropensci.org/4886bee30dac6c4e3026f19763cb5e34fdcc89ee6bda2d861ea41b5866706b8a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ordnancesurvey/actions/runs/41022234282"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-30T07:52:02.000Z",
      "distro": "resolute",
      "commit": "ab401861f0f818e882ef2f419ae4282b8f4f198c",
      "fileid": "https://r2.ropensci.org/02e46a612e9f0bb7299f37ca2b6df3ca058ace82ae4f685c066eb2a5e5ac80ea",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ordnancesurvey/actions/runs/41022234282"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-10-30T08:01:43.000Z",
      "commit": "ab401861f0f818e882ef2f419ae4282b8f4f198c",
      "fileid": "https://r2.ropensci.org/dd8f39449619dd7e68a3bec4cb51033fe9224df20bcf74f36ca2192d541b8e34",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ordnancesurvey/actions/runs/41022234282"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-10-30T08:02:01.000Z",
      "commit": "ab401861f0f818e882ef2f419ae4282b8f4f198c",
      "fileid": "https://r2.ropensci.org/e96e5ad8616220bd9949261ef8537a061f188fc1a992addfa2bdf3c0a9e96c4a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ordnancesurvey/actions/runs/41022234282"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-10-30T07:51:58.000Z",
      "commit": "ab401861f0f818e882ef2f419ae4282b8f4f198c",
      "fileid": "https://r2.ropensci.org/0d2a6f96c70ba02ec03c27470f7312d8df9abc010bdeafcb717d6048167a328e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ordnancesurvey/actions/runs/41022234282"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-30T07:51:16.000Z",
      "commit": "ab401861f0f818e882ef2f419ae4282b8f4f198c",
      "fileid": "https://r2.ropensci.org/8d450dac709f74cf448a819f192b0077f98008cfbdb8ca836aad5aa584d8160a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ordnancesurvey/actions/runs/41022234282"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-30T07:51:23.000Z",
      "commit": "ab401861f0f818e882ef2f419ae4282b8f4f198c",
      "fileid": "https://r2.ropensci.org/1f351a93f9977dd67975ba1347b7247e2901f0ebcdca295085966b777f5b88f1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ordnancesurvey/actions/runs/41022234282"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-30T07:51:24.000Z",
      "commit": "ab401861f0f818e882ef2f419ae4282b8f4f198c",
      "fileid": "https://r2.ropensci.org/e97c94c48e5afb463f2fcf68c7baaec57336751450dbeb67c4a076d031c68544",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ordnancesurvey/actions/runs/41022234282"
    }
  ]
}