Skip to content

Update BrasilData to 0.1.76 - #87

Closed
elpidioassinaturas wants to merge 1 commit into
opengeos:mainfrom
elpidioassinaturas:brasildata-0.1.76
Closed

elpidioassinaturas wants to merge 1 commit into
opengeos:mainfrom
elpidioassinaturas:brasildata-0.1.76

Conversation

@elpidioassinaturas

@elpidioassinaturas elpidioassinaturas commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Plugin: BrasilData (brasildata), elpidioassinaturas/BrasilData

What it does: this updates registry/brasildata.json from 0.1.75 to 0.1.76. Nothing else changes.

Unchanged: the permissions (edit, files, network), the minimum RustGIS (0.5.0) and the categories.

0.1.76: soil points from SoilData

  • Soil points (SoilData), new: laboratory analyses of soil layers from SoilData, the Brazilian Soil Data Repository (UTFPR and MapBiomas). They come through the Brazilian Soil Dataset 2024 (Samuel-Rosa & Horst, doi:10.60502/SoilData/BCAV2B): 47,322 layers with coordinates, from 14,334 profiles, collected from 1958 to 2024.
    • What you choose: an attribute (clay, sand, silt, organic carbon, CEC, pH, bulk density) at a depth of 5, 10, 30, 50 or 100 cm, or the soil class of each profile. The soil class is the order in the Brazilian soil classification (SiBCS); names from before 1999 are mapped to the closest current order.
    • How it works: RustGIS opens the whole 19.8 MB tab-separated file from the repository's Dataverse with layer.addUrl (x, y, delimiter). It then clips it by the work area, selects the layers at the depth and computes the fields. The plugin doesn't read the rows itself.
    • Classes: clay follows the SiBCS texture groups, and pH the Embrapa reaction classes. Each attribute uses a graduated style, so the legend lists its classes in order.
    • Licences: each point carries the licence of its source dataset. 40% of the layers are CC BY-NC 4.0, and the command's report counts them.
  • Tests:
    • cargo test (272 tests) passes; the smoke test of every command has 0 failures in rustgis-cli 0.5.0 and 0.8.0.
    • In both CLIs, every attribute over Minas Gerais. Clay at 10 cm gives 1,314 points.
    • An independent reading of the same file with Python gives the same organic carbon at 10 cm: 1,291 layers tagged MG, mean 19.44 g/kg against 19.43 g/kg.
    • In the 0.8.0 desktop app, with a separate plugins folder: clay at 10 cm and the soil class over Minas Gerais. Each finished in one click: the app downloaded the file and ran the command again.

Not tested: the web app. The repository sends CORS headers for any origin, but the command hasn't been run there.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated the BrasilData registry entry to reference release v0.1.76 and its matching checksum. This keeps the registry’s listed release information current.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The BrasilData registry entry now references release v0.1.76 and its updated SHA-256 checksum, replacing the v0.1.75 reference.

Changes: BrasilData registry update

Layer / File(s) Summary
Update BrasilData release reference
registry/brasildata.json
The source URL now points to release v0.1.76. The SHA-256 checksum was updated.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Feature

Possibly related PRs

Merge Risk: Minimal · up to 3a420

This updates the BrasilData registry entry to release v0.1.76. The release asset exists and matches the declared checksum, so no merge-blocking risk remains.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title "Update BrasilData to 0.1.76" names the main change: the registry entry for the BrasilData plugin moves from 0.1.75 to 0.1.76. The diff changes only the version reference and its SHA-256 che…
Description check Passed The description covers the plugin name and repository, what the update does, and the permissions, minimum RustGIS version and categories that stay unchanged. It also gives testing details. It does not…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "Update BrasilData to 0.1.76" names the main change: the registry entry for the BrasilData plugin moves from 0.1.75 to 0.1.76. The diff changes only the version reference and its SHA-256 checksum in registry/brasildata.json, so the title matches the changeset.

Full details: Description check

Explanation

The description covers the plugin name and repository, what the update does, and the permissions, minimum RustGIS version and categories that stay unchanged. It also gives testing details. It does not follow the template in two places. The template asks for the RustGIS version and platform used for testing in a 'How I tested it' line, and the author gives multiple versions and desktop, CLI and web details, so that is covered in substance. The template's checklist items (source.url is a release asset of the plugin repository, sha256 matches that file, and the plugin asks only for the permissions it uses) are not ticked or explicitly confirmed. The description also includes a large amount of feature detail for 0.1.76 that falls outside the registry-only change described in the raw summary and objectives.

Resolution

Consider ticking or explicitly confirming the two checklist items in the template, specifically that source.url is a release asset of the plugin repository and that sha256 matches that file. The feature detail for 0.1.76 is not wrong, but it may be worth noting that the code change is in the plugin repository and not in this PR.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

A rabbit checks the registry row,
A newer BrasilData link to show.
The checksum hops along in place,
With v0.1.76 in the race.
Then carrots crunch beneath the moon,
The release is listed, neat and soon.

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 2ea7dbde-692a-45bd-abbf-c85308284feb
Commits

Reviewing files that changed from the base of the PR and between 8be4939 and 3a4205f.

Files selected for processing: 1

  • registry/brasildata.json

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@github-actions

Copy link
Copy Markdown

Code review

Bugs

  • None found. The diff changes only the source.url and sha256 in registry/brasildata.json (0.1.75 to 0.1.76). The URL pattern matches the previous entry, and the manifest id and version match the entry.

Security

  • The permissions are unchanged (edit, files, network). network is a wide permission, but it matches the plugin's purpose (many public data services). The new SoilData layer downloads a file with layer.addUrl. The URL list in module.txt has no explicit Dataverse host, so the URL is probably built at run time. I could not check where the download goes. Confidence: low.
  • The module is compiled, so I could not read its code. The commands named in its strings include layer.remove, edit.deleteField, table.remove, style.remove and share.exportLayer. These are plausible for a plugin that builds and replaces its own layers. A maintainer should confirm that it only removes layers it created. Confidence: low.

Performance

  • Nothing to flag. The 19.8 MB file download is described as running once per command.

Quality

  • The homepage points to the GitHub source repository (elpidioassinaturas/BrasilData), so the source is reachable. The PR scope is correct: it adds only a registry entry, with no plugin source.

CLAUDE.md

  • No CLAUDE.md issues found.

Plugin packages

id version runtime package module permissions module imports commands named in strings
brasildata 0.1.76 wasm 6,039,943 B 10,280,182 B edit, files, network rustgis.call, rustgis.result, rustgis.log analysis.simulate, edit.addField, edit.calculateField, edit.deleteField, edit.enable, gp.run, group.add, host.addLayer, host.features, host.layers, host.notify, host.view, info.commands, info.project, labels.enable, labels.field, labels.placement, labels.scaleRange, labels.style, layer.addUrl, layer.addZarr, layer.classStyle, layer.color, layer.definitionQuery, layer.displayFilters, layer.fields, layer.mask, layer.move, layer.moveDown, layer.outline, layer.remove, layer.rename, layer.scaleRange, layer.select, layer.symbology, layer.template, layer.visibility, layer.zoomTo, layout.remove, layout.update, map.addTiles, map.projection, map.removeTiles, map.tiles, ramp.add, raster.change, raster.function, raster.functionChain, raster.georeference, raster.info, raster.mask, raster.mosaic, raster.process, raster.stretch, raster.symbology, select.byAttributes, select.clear, select.layerFromSelection, service.add, share.exportLayer, style.add, style.apply, style.import, style.new, style.remove, table.open, table.remove, tool.set

Assessment of brasildata:

  • The package was downloaded and its SHA-256 verified by the trusted step. The manifest id, name and version (0.1.76) match the entry.
  • The module imports only rustgis.call, rustgis.result and rustgis.log, and exports memory, rustgis_alloc and rustgis_call. That is the required interface.
  • The new "Pontos de solo (SoilData)" command is documented in the manifest. Its description states the data source, the licences (including CC BY-NC for 40% of the points), and that the download is 19.8 MB.
  • The commands in the list fit a data-loading and styling plugin. The files permission is requested, and I could not tell from the strings which paths it uses. Please confirm that this was reviewed in earlier versions.
  • The author says the web app was not tested.

Change size

Compared: the whole PR against main (merge base 8be4939 to PR head 3a4205f).

Metric Value
Files changed 1 (0 added, 1 modified, 0 removed, 0 renamed)
Size before 275 B
Size after 275 B
Total size change +0 B
File Before After Change
registry/brasildata.json 275 B 275 B +0 B

@github-actions

github-actions Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

🧩 Plugin preview

Removed: the pull request is closed.

@elpidioassinaturas

Copy link
Copy Markdown
Contributor Author

Superseded by #88 (0.1.75 → 0.1.77, which includes the 0.1.76 changes). Closing this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants