{
  "_id": "6a1e84621d7bb097a0a66ba9",
  "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-06-02 07:17:04 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>",
  "MD5sum": "4bc386d2cffbee5cea20570a5a1df640",
  "_user": "ordnancesurvey",
  "_type": "src",
  "_file": "osbng_0.2.0.tar.gz",
  "_fileid": "c4453430597baa038774c66da795caee6eb1f8ac5c2734836b96c3654ce02ced",
  "_filesize": 4801546,
  "_sha256": "c4453430597baa038774c66da795caee6eb1f8ac5c2734836b96c3654ce02ced",
  "_created": "2026-06-02T07:17:04.000Z",
  "_published": "2026-06-02T07:21:06.488Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79019106887,
      "time": 115,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7351337545"
    },
    {
      "job": 79019106933,
      "time": 115,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7351337750"
    },
    {
      "job": 79019106899,
      "time": 200,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7351353841"
    },
    {
      "job": 79019106915,
      "time": 162,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7351343671"
    },
    {
      "job": 79018653888,
      "time": 190,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7351303121"
    },
    {
      "job": 79019106953,
      "time": 136,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7351344151"
    },
    {
      "job": 79019106872,
      "time": 92,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7351331324"
    },
    {
      "job": 79019106893,
      "time": 86,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7351329507"
    },
    {
      "job": 79019106916,
      "time": 99,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7351332800"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ordnancesurvey/actions/runs/26804508793",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/ordnancesurvey/osbng-r",
  "_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
  },
  "_maintainer": {
    "name": "Chris Jochem",
    "email": "chris.jochem@os.uk"
  },
  "_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": [
    {
      "week": "2025-28",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.2.0",
      "date": "2025-07-07"
    }
  ],
  "_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",
    "description": "Britain's mapping agency "
  },
  "_downloads": {
    "count": 132,
    "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": 5,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/osbng.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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-06-02T07:19:00.000Z",
      "distro": "noble",
      "commit": "ab401861f0f818e882ef2f419ae4282b8f4f198c",
      "fileid": "5d3ad580c243c3bbc2bb88cb9bf2b5a13abefb727854321471c19c732b027adb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ordnancesurvey/actions/runs/26804508793"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-06-02T07:18:59.000Z",
      "distro": "noble",
      "commit": "ab401861f0f818e882ef2f419ae4282b8f4f198c",
      "fileid": "ba3933f59ab206c9ff50e7267c44843f5c4ce31b7c47efd0b3ac21bd62a82302",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ordnancesurvey/actions/runs/26804508793"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-06-02T07:19:51.000Z",
      "commit": "ab401861f0f818e882ef2f419ae4282b8f4f198c",
      "fileid": "f392ebbe203dedb903e6a87762903a10a2facbcd99fa7cdb8a75c3bbeaf0f7e6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ordnancesurvey/actions/runs/26804508793"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-06-02T07:19:22.000Z",
      "commit": "ab401861f0f818e882ef2f419ae4282b8f4f198c",
      "fileid": "ab2e51fdac2a818a436e2c8760edee2c0d78bf51d003d1c224ea3b5150d52254",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ordnancesurvey/actions/runs/26804508793"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-06-02T07:19:42.000Z",
      "commit": "ab401861f0f818e882ef2f419ae4282b8f4f198c",
      "fileid": "4fc5248a1f3f83adb19699d18c00abf0097a7c725fe1807d93336af69bf18bbc",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ordnancesurvey/actions/runs/26804508793"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-06-02T07:18:32.000Z",
      "commit": "ab401861f0f818e882ef2f419ae4282b8f4f198c",
      "fileid": "70880d009909eda680a44f4b8564e1008365fd35212d6cd5cb878189617475fe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ordnancesurvey/actions/runs/26804508793"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-06-02T07:18:26.000Z",
      "commit": "ab401861f0f818e882ef2f419ae4282b8f4f198c",
      "fileid": "d1ba971fd8874592876ac421b775559d6f8e16c73f5f67ac6a80c3cb74cd6633",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ordnancesurvey/actions/runs/26804508793"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-06-02T07:18:44.000Z",
      "commit": "ab401861f0f818e882ef2f419ae4282b8f4f198c",
      "fileid": "35a0490229e55a1bab6917c0396d896011558266899a23fb4b9e69d44cb15361",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ordnancesurvey/actions/runs/26804508793"
    }
  ]
}