{
  "_id": "6adbb3b71f8fc22f6383d629",
  "Package": "geosam",
  "Title": "Geospatial Image Segmentation with SAM3",
  "Version": "0.1.2.9000",
  "Date": "2026-05-20",
  "Authors@R": "person(\"Kyle\", \"Walker\", , \"kyle@walker-data.com\", role = c(\"aut\", \"cre\"))",
  "Description": "Native R API for geospatial image segmentation using\nMeta's Segment Anything Model 3 (SAM3). Provides\ntidyverse-friendly interfaces for detecting objects in\nsatellite imagery using text prompts, point prompts, and\nexemplar-based detection. Features open-vocabulary object\ndetection powered by SAM3's text prompting. Built-in support\nfor downloading satellite imagery from Mapbox, Esri, and\nMapTiler.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/walkerke/geosam",
  "BugReports": "https://github.com/walkerke/geosam/issues",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "SystemRequirements": "Python (>= 3.12), SAM3\n(https://github.com/facebookresearch/sam3)",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nmake libmagick++-dev gsfonts libpng-dev libuv1-dev libssl-dev\nlibproj-dev python3 libsqlite3-dev libudunits2-dev zlib1g-dev",
  "Repository": "https://walkerke.r-universe.dev",
  "Date/Publication": "2026-09-14 19:57:14 UTC",
  "RemoteUrl": "https://github.com/walkerke/geosam",
  "RemoteRef": "HEAD",
  "RemoteSha": "36ee96444e9591eb4fe2aa1c57e4dfcf9cb134dc",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-23 19:15:09 UTC",
    "User": "root"
  },
  "Author": "Kyle Walker [aut, cre]",
  "Maintainer": "Kyle Walker <kyle@walker-data.com>",
  "_user": "walkerke",
  "_type": "src",
  "_file": "geosam_0.1.2.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/f5f0545fa449b7a6af1ecc9db19f6df71d7fe8eebc0e5e685432215616cc59e0",
  "_filesize": 5321658,
  "_sha256": "f5f0545fa449b7a6af1ecc9db19f6df71d7fe8eebc0e5e685432215616cc59e0",
  "_expires": "2027-01-31T19:21:23.000Z",
  "_created": "2026-10-23T19:15:09.000Z",
  "_published": "2026-10-23T19:21:26.885Z",
  "_upstream": "https://github.com/walkerke/geosam",
  "_status": "success",
  "_maintainer": {
    "name": "Kyle Walker",
    "email": "kyle@walker-data.com",
    "login": "walkerke",
    "twitter": "@kyle_e_walker",
    "description": "Geographer, R developer, spatial data scientist",
    "uuid": 4872833
  },
  "_jobs": [
    {
      "job": 120607534329,
      "time": 184,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "12526191655"
    },
    {
      "job": 120607534346,
      "time": 178,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12525239115"
    },
    {
      "job": 120607534368,
      "time": 110,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12525538295"
    },
    {
      "job": 120607534377,
      "time": 121,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12525099655"
    },
    {
      "job": 120604597558,
      "time": 382,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12525234063"
    },
    {
      "job": 120607534291,
      "time": 141,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12525104412"
    },
    {
      "job": 120607534406,
      "time": 95,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "12526171323"
    },
    {
      "job": 120607534298,
      "time": 110,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12526171363"
    },
    {
      "job": 120607534436,
      "time": 99,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12526575392"
    }
  ],
  "_buildurl": "https://github.com/r-universe/walkerke/actions/runs/40009068461",
  "_commit": {
    "id": "36ee96444e9591eb4fe2aa1c57e4dfcf9cb134dc",
    "author": "Kyle Walker <kyle@walker-data.com>",
    "committer": "Kyle Walker <kyle@walker-data.com>",
    "message": "Fix vertically mirrored imagery mosaics; write tiles via block writer\n\nThe tile stitcher flipped the mosaic and round-tripped it through an\nungeoreferenced PNG, relying on terra/GDAL flipping the rows back on\nread. Recent terra/GDAL builds read the PNG top-down, so the GeoTIFF\nhanded to SAM3 was upside down and every detection from sam_detect()\nand sam_explore() landed north/south mirrored within the fetched extent.\n\nBuild the GeoTIFF directly from the stitched pixel data instead, one\ntile row at a time with terra::writeStart()/writeValues(). This removes\nthe file-reader dependency and keeps peak memory below materialising\nthe full mosaic (64-tile 4096x4096 benchmark: 3.67 GB -> 0.97 GB max\nRSS versus a whole-array conversion).\n\nAdd a regression test using an asymmetric synthetic tile fixture that\nchecks pixel orientation, missing-tile fill and Web Mercator placement\nfor all three imagery providers.\n",
    "time": 1789415834
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "reticulate",
      "version": ">= 1.34",
      "role": "Imports"
    },
    {
      "package": "sf",
      "version": ">= 1.0",
      "role": "Imports"
    },
    {
      "package": "cli",
      "version": ">= 3.0",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.0",
      "role": "Imports"
    },
    {
      "package": "rappdirs",
      "role": "Imports"
    },
    {
      "package": "httr2",
      "role": "Imports"
    },
    {
      "package": "magick",
      "role": "Imports"
    },
    {
      "package": "terra",
      "role": "Imports"
    },
    {
      "package": "mapgl",
      "role": "Imports"
    },
    {
      "package": "shiny",
      "role": "Imports"
    },
    {
      "package": "base64enc",
      "role": "Imports"
    },
    {
      "package": "stars",
      "role": "Suggests"
    },
    {
      "package": "mapboxapi",
      "role": "Suggests"
    },
    {
      "package": "RColorBrewer",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "walkerke",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-50",
      "n": 7
    },
    {
      "week": "2025-51",
      "n": 17
    },
    {
      "week": "2026-01",
      "n": 2
    },
    {
      "week": "2026-02",
      "n": 1
    },
    {
      "week": "2026-03",
      "n": 6
    },
    {
      "week": "2026-04",
      "n": 2
    },
    {
      "week": "2026-05",
      "n": 1
    },
    {
      "week": "2026-06",
      "n": 3
    },
    {
      "week": "2026-08",
      "n": 2
    },
    {
      "week": "2026-11",
      "n": 1
    },
    {
      "week": "2026-21",
      "n": 1
    },
    {
      "week": "2026-32",
      "n": 3
    },
    {
      "week": "2026-38",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 48,
  "_contributors": [
    {
      "user": "walkerke",
      "count": 49,
      "uuid": 4872833
    }
  ],
  "_userbio": {
    "uuid": 4872833,
    "type": "user",
    "name": "Kyle Walker",
    "followers": 1312,
    "description": "Geographer, R developer, spatial data scientist"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/geosam"
  },
  "_devurl": "https://github.com/walkerke/geosam",
  "_searchresults": 17,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/geosam.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_cranurl": false,
  "_exports": [
    "geosam_clear_cache",
    "geosam_configure",
    "geosam_diagnose",
    "geosam_install",
    "geosam_status",
    "get_imagery",
    "is_geosam",
    "is_geosam_image",
    "sam_as_matrix",
    "sam_as_raster",
    "sam_as_sf",
    "sam_batch",
    "sam_bbox",
    "sam_count",
    "sam_dedupe",
    "sam_detect",
    "sam_explore",
    "sam_explore_image",
    "sam_filter",
    "sam_find_similar",
    "sam_image",
    "sam_is_loaded",
    "sam_load",
    "sam_merge_edges",
    "sam_scores",
    "sam_select",
    "sam_unload",
    "sam_view",
    "sam_view_image"
  ],
  "_help": [
    {
      "page": "geosam_clear_cache",
      "title": "Clear Imagery Cache",
      "topics": [
        "geosam_clear_cache"
      ]
    },
    {
      "page": "geosam_configure",
      "title": "Configure geosam Options",
      "topics": [
        "geosam_configure"
      ]
    },
    {
      "page": "geosam_diagnose",
      "title": "Diagnose geosam Installation Issues",
      "topics": [
        "geosam_diagnose"
      ]
    },
    {
      "page": "geosam_install",
      "title": "Install Python Dependencies for geosam",
      "topics": [
        "geosam_install"
      ]
    },
    {
      "page": "geosam_status",
      "title": "Check geosam Installation Status",
      "topics": [
        "geosam_status"
      ]
    },
    {
      "page": "get_imagery",
      "title": "Download Satellite Imagery",
      "topics": [
        "get_imagery"
      ]
    },
    {
      "page": "is_geosam",
      "title": "Check if Object is a geosam",
      "topics": [
        "is_geosam"
      ]
    },
    {
      "page": "is_geosam_image",
      "title": "Check if Object is a geosam_image",
      "topics": [
        "is_geosam_image"
      ]
    },
    {
      "page": "plot.geosam",
      "title": "Plot geosam Detection Results",
      "topics": [
        "plot.geosam"
      ]
    },
    {
      "page": "plot.geosam_image",
      "title": "Plot geosam_image Detection Results",
      "topics": [
        "plot.geosam_image"
      ]
    },
    {
      "page": "print.geosam",
      "title": "Print Method for geosam Objects",
      "topics": [
        "print.geosam"
      ]
    },
    {
      "page": "print.geosam_image",
      "title": "Print Method for geosam_image Objects",
      "topics": [
        "print.geosam_image"
      ]
    },
    {
      "page": "sam_as_matrix",
      "title": "Extract Masks as Matrices",
      "topics": [
        "sam_as_matrix"
      ]
    },
    {
      "page": "sam_as_raster",
      "title": "Extract Raster Masks from geosam Object",
      "topics": [
        "sam_as_raster"
      ]
    },
    {
      "page": "sam_as_sf",
      "title": "Extract sf Polygons from geosam or geosam_image Object",
      "topics": [
        "sam_as_sf"
      ]
    },
    {
      "page": "sam_batch",
      "title": "Batch Process Multiple Areas",
      "topics": [
        "sam_batch"
      ]
    },
    {
      "page": "sam_bbox",
      "title": "Get Bounding Box of Detections",
      "topics": [
        "sam_bbox"
      ]
    },
    {
      "page": "sam_count",
      "title": "Get Number of Detections",
      "topics": [
        "sam_count"
      ]
    },
    {
      "page": "sam_dedupe",
      "title": "Suppress Overlapping Duplicate Detections",
      "topics": [
        "sam_dedupe"
      ]
    },
    {
      "page": "sam_detect",
      "title": "Detect Objects in Geospatial Imagery Using SAM3",
      "topics": [
        "sam_detect"
      ]
    },
    {
      "page": "sam_explore",
      "title": "Interactive Discovery and Detection",
      "topics": [
        "sam_explore"
      ]
    },
    {
      "page": "sam_explore_image",
      "title": "Interactive Image Exploration and Detection",
      "topics": [
        "sam_explore_image"
      ]
    },
    {
      "page": "sam_filter",
      "title": "Filter Detections by Area or Score",
      "topics": [
        "sam_filter"
      ]
    },
    {
      "page": "sam_find_similar",
      "title": "Find Similar Objects Using Selected Detection as Exemplar",
      "topics": [
        "sam_find_similar"
      ]
    },
    {
      "page": "sam_image",
      "title": "Detect Objects in a Local Image",
      "topics": [
        "sam_image"
      ]
    },
    {
      "page": "sam_is_loaded",
      "title": "Check if Model is Loaded",
      "topics": [
        "sam_is_loaded"
      ]
    },
    {
      "page": "sam_load",
      "title": "Load SAM3 Model",
      "topics": [
        "sam_load"
      ]
    },
    {
      "page": "sam_merge_edges",
      "title": "Merge Polygons Split at Tile Boundaries",
      "topics": [
        "sam_merge_edges"
      ]
    },
    {
      "page": "sam_scores",
      "title": "Get Detection Scores",
      "topics": [
        "sam_scores"
      ]
    },
    {
      "page": "sam_select",
      "title": "Select Specific Detections by Index",
      "topics": [
        "sam_select"
      ]
    },
    {
      "page": "sam_unload",
      "title": "Unload SAM3 Model",
      "topics": [
        "sam_unload"
      ]
    },
    {
      "page": "sam_view",
      "title": "Interactive Viewer for SAM Detections",
      "topics": [
        "sam_view"
      ]
    },
    {
      "page": "sam_view_image",
      "title": "View Detection Results on Image",
      "topics": [
        "sam_view_image"
      ]
    }
  ],
  "_pkglogo": "https://github.com/walkerke/geosam/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/walkerke/geosam/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "base64enc",
    "bslib",
    "cachem",
    "class",
    "classInt",
    "cli",
    "commonmark",
    "curl",
    "DBI",
    "digest",
    "e1071",
    "evaluate",
    "fastmap",
    "fontawesome",
    "fs",
    "geojsonsf",
    "geometries",
    "glue",
    "here",
    "highr",
    "htmltools",
    "htmlwidgets",
    "httpuv",
    "httr2",
    "jquerylib",
    "jsonify",
    "jsonlite",
    "KernSmooth",
    "knitr",
    "later",
    "lattice",
    "lifecycle",
    "magick",
    "magrittr",
    "mapgl",
    "Matrix",
    "memoise",
    "mime",
    "openssl",
    "otel",
    "png",
    "promises",
    "proxy",
    "R6",
    "rapidjsonr",
    "rappdirs",
    "Rcpp",
    "RcppTOML",
    "reticulate",
    "rlang",
    "rmarkdown",
    "rprojroot",
    "s2",
    "sass",
    "sf",
    "sfheaders",
    "shiny",
    "sourcetools",
    "sys",
    "terra",
    "tinytex",
    "units",
    "vctrs",
    "viridisLite",
    "withr",
    "wk",
    "xfun",
    "xtable",
    "yaml"
  ],
  "_score": 4.7246035153967165,
  "_indexed": true,
  "_nocasepkg": "geosam",
  "_universes": [
    "walkerke"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.2.9000",
      "date": "2026-10-23T19:18:07.000Z",
      "distro": "resolute",
      "commit": "36ee96444e9591eb4fe2aa1c57e4dfcf9cb134dc",
      "fileid": "https://r2.ropensci.org/44cf9b3c4a0b6cad8fea58350e7a54fb57db8b240d1ec4d7fc20796c74baa99a",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/walkerke/actions/runs/40009068461"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.2.9000",
      "date": "2026-10-23T19:17:59.000Z",
      "distro": "resolute",
      "commit": "36ee96444e9591eb4fe2aa1c57e4dfcf9cb134dc",
      "fileid": "https://r2.ropensci.org/5314e9c4fe74915709acafdffc23eab15b88d6cecab4ed35de782e148233c264",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/walkerke/actions/runs/40009068461"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.2.9000",
      "date": "2026-10-23T19:18:49.000Z",
      "commit": "36ee96444e9591eb4fe2aa1c57e4dfcf9cb134dc",
      "fileid": "https://r2.ropensci.org/627b13d7d0fb3c189e40f0c40f48647193145c17d0cb7edac20e9ae6af3fd9c0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/walkerke/actions/runs/40009068461"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.2.9000",
      "date": "2026-10-23T19:20:42.000Z",
      "commit": "36ee96444e9591eb4fe2aa1c57e4dfcf9cb134dc",
      "fileid": "https://r2.ropensci.org/f12433524e0ae9f84b4376201cd68511bc7daebdee65cdc896c490bdb4ecdce7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/walkerke/actions/runs/40009068461"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.2.9000",
      "date": "2026-10-23T19:17:46.000Z",
      "commit": "36ee96444e9591eb4fe2aa1c57e4dfcf9cb134dc",
      "fileid": "https://r2.ropensci.org/993b6a573ffe2fc514cf3480cf4f482c9354b433a828ae141b6d5a2627322a59",
      "status": "success",
      "buildurl": "https://github.com/r-universe/walkerke/actions/runs/40009068461"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.2.9000",
      "date": "2026-10-23T19:16:26.000Z",
      "commit": "36ee96444e9591eb4fe2aa1c57e4dfcf9cb134dc",
      "fileid": "https://r2.ropensci.org/a35c630a3cc6689642c6f48f06e055df393d52fae2e850ee568afbc4820b421b",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/walkerke/actions/runs/40009068461"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.2.9000",
      "date": "2026-10-23T19:16:42.000Z",
      "commit": "36ee96444e9591eb4fe2aa1c57e4dfcf9cb134dc",
      "fileid": "https://r2.ropensci.org/9462549304486d92a55066338af03834297d5f9fab996368dee0807680d2ade9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/walkerke/actions/runs/40009068461"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.2.9000",
      "date": "2026-10-23T19:16:34.000Z",
      "commit": "36ee96444e9591eb4fe2aa1c57e4dfcf9cb134dc",
      "fileid": "https://r2.ropensci.org/17972058df4e39d5d3e778d72310e03a47282bed50a74b736b0bd9cfed4f0410",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/walkerke/actions/runs/40009068461"
    }
  ]
}