Skip to content

BrasilData 0.1.25: a Layout button, GEDI vegetation structure and MapBiomas clipped by the area - #53

Merged
giswqs merged 1 commit into
opengeos:mainfrom
elpidioassinaturas:brasildata-0.1.25
Nov 9, 2026
Merged

giswqs merged 1 commit into
opengeos:mainfrom
elpidioassinaturas:brasildata-0.1.25

Conversation

@elpidioassinaturas

@elpidioassinaturas elpidioassinaturas commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Plugin: BrasilData (brasildata), elpidioassinaturas/BrasilData

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

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

0.1.25: a Layout button, GEDI vegetation structure and MapBiomas clipped by the area

  • Layout button (group Área): it lays out a sheet ready to export with the topmost visible BrasilData layer. The sheet has the area's name as the title and the layer's meaning as the subtitle. It also has the colour bar or the class legend, the sources in the footer, the grid's projection, a metre grid and a locator. It is built with layout.publication and layout.update.
    • Indicators by municipality and census tracts become a choropleth of their main variable, in 5 classes. The classes are quantiles with 30 features or more, and natural breaks with fewer.
    • Reference polygons larger than the area (neighbouring municipalities, regions, basins) get a light translucent veil, their outline and their names, instead of filling the sheet with one colour.
  • GEDI L4D (Vegetação e meio ambiente): canopy height, aboveground biomass and canopy cover at 30 m, from ORNL DAAC's imputed GEDI waveforms. The plugin reads only the area's window of the UTM-zone COG (layer.addUrl with bbox, #1210) and puts it on the project grid. It needs Earthdata Login.
  • MapBiomas clipped by the area: for 2019 to 2024, the land-cover classes come as a raster window of the Source Cooperative mirror. The window is clipped to the area and put on the project grid with the most frequent class.
  • Census tracts: IBGE's fields V0001 to V0007 get readable names (pessoas, domicilios…), and the plugin adds the population density.
  • Fixes:
    • The IBGE special regions (Amazônia Legal, Semiárido, SUDENE, MATOPIBA, coastal municipalities) no longer bring their complement ("NÃO-Amazônia Legal") in the same colour.
    • "Todos os indicadores" no longer runs out of fuel with 9 municipalities.

Which RustGIS:

  • 0.5.0: the GEDI commands say they need a newer RustGIS. MapBiomas falls back to the nationwide tile map, with the reason.
  • 0.6.0: both work in rustgis-cli.
  • Desktop app: both work once #1581 (plugin window reads) is released.
  • Earthdata token: in 0.6.0, the first request after a remembered Earthdata token is restored is cancelled (#1626). The plugin then says to click again.

Tested:

  • The smoke test (scripts/smoke.py) passes with no failures in rustgis-cli 0.5.0 and 0.6.0.
  • In Viçosa (MG), the layouts of the census tracts, the municipalities and the indicators were exported in 0.5.0 and 0.6.0. The GEDI biomass layout was exported in 0.6.0 (mean 42.1 Mg/ha).
  • All 105 data commands were run in Viçosa and in a drawn rectangle, with a layout for each map.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated the Brazil data registry entry to reference release v0.1.25 and its corresponding checksum, replacing the previous v0.1.24 release details.

…Biomas clipped by the area

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

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown

Code review

The diff changes one file, registry/brasildata.json: the package URL moves from v0.1.24 to v0.1.25 and the SHA-256 changes to match. The file size is unchanged. No plugin source is added, so the scope rule is met.

Bugs

  • None found in the diff. The URL version, the filename and the manifest version (0.1.25) agree. The report says the SHA-256 was verified. Confidence: high.

Security

  • The package is a WebAssembly module, and module.wasm is compiled, so its code can't be read here. The homepage points to https://github.com/elpidioassinaturas/BrasilData, which is the source repository. A maintainer should still confirm the tag v0.1.25 matches the released binary. Confidence: medium.
  • The strings name layer.remove, edit.deleteField, layout.remove, style.remove, table.remove and map.removeTiles. This is plausible for a plugin that builds and replaces its own layers, layouts and styles. The PR text doesn't say these only touch BrasilData-created items, so a maintainer may want to check that. The strings can't show it either way. Confidence: low.
  • The files permission is requested together with network. network is not among the two permissions your prompt mentions, but it was already granted before this PR. The strings include a files command that downloads census-tract GPKG files, and a GitHub releases/latest update check. The permissions are unchanged in this PR. Confidence: low.
  • The URLs in the strings point at Brazilian public-data services (IBGE, ANM, ANA, INCRA, CAR, IBAMA, MapBiomas, BCB), NASA (Earthdata, ASF, CMR), Copernicus and OpenTopography S3, Source Cooperative, ipea on GitHub, and api.github.com. These match the stated purpose. The new GEDI and MapBiomas features need NASA and Source Cooperative access, which fits. Confidence: high.

Performance

  • None found. The PR text says it fixes a fuel overrun in "Todos os indicadores".

Quality

  • None found. The PR description is detailed and says what was tested.

CLAUDE.md

  • No applicable guideline violations found.

Plugin packages

id version runtime package module permissions module imports commands named in strings
brasildata 0.1.25 wasm 4,944,517 B 6,893,788 B edit, files, network rustgis.log, rustgis.call, rustgis.result edit.addField, edit.calculateField, edit.deleteField, edit.enable, gp.run, host.addLayer, host.features, host.layers, host.notify, host.view, info.commands, info.project, labels.enable, labels.field, layer.addUrl, layer.color, layer.displayFilters, layer.fields, layer.outline, layer.remove, layer.rename, 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.info, raster.mask, raster.mosaic, raster.process, raster.stretch, raster.symbology, select.byAttributes, select.layerFromSelection, service.add, style.add, style.apply, style.import, style.new, style.remove, table.open, table.remove, tool.set

Assessment

  • The package was inspected, and the hash was verified.
  • The imports are exactly the three allowed ones: rustgis.log, rustgis.call and rustgis.result.
  • The manifest id, name and version match the registry entry. The description matches the data sources found in the strings.
  • I did not check the module.wasm exports (memory, rustgis_alloc, rustgis_call), and module.wat does not exist.
  • The new layout.update command (the Layout button) fits the stated purpose.
  • The commands listed under Security are the points a reviewer should confirm against the source.
  • The module is large (6.9 MB), but nothing in the report suggests a problem.

Change size

Compared: the whole PR against main (merge base 8c3c365 to PR head 2bd57ea).

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 9, 2026 •

Copy link
Copy Markdown

🧩 Plugin preview

Removed: the pull request is closed.

@coderabbitai

coderabbitai Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The brasildata registry entry now points to release v0.1.25 and uses its updated SHA-256 checksum.

Changes: BrasilData release update

Layer / File(s) Summary
Update release metadata
registry/brasildata.json
The download URL now points to v0.1.25, and the SHA-256 checksum is updated.

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

Change: Feature

Possibly related PRs

Merge Risk: Minimal · up to 2bd57

The registry update points to an available, checksum-matched BrasilData 0.1.25 package. No actionable merge-blocking risk remains.

Pre-merge checks: Passed 5

Check name Status Explanation
Title check Passed The title names the release (BrasilData 0.1.25) and three of its changes: a Layout button, GEDI vegetation structure, and MapBiomas clipped by the area. The PR only bumps registry/brasildata.json from…
Description check Passed The description follows the repository template. It gives the plugin name and repository link, what the plugin does, and how it was tested (RustGIS 0.5.0 and 0.6.0, rustgis-cli, desktop app caveat). I…
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
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 names the release (BrasilData 0.1.25) and three of its changes: a Layout button, GEDI vegetation structure, and MapBiomas clipped by the area. The PR only bumps registry/brasildata.json from v0.1.24 to v0.1.25 with a new SHA-256, and the description says that release contains these features. The title is specific and matches the release the entry points to, though it reads as a release-notes line rather than a description of the registry edit itself.

Full details: Description check

Explanation

The description follows the repository template. It gives the plugin name and repository link, what the plugin does, and how it was tested (RustGIS 0.5.0 and 0.6.0, rustgis-cli, desktop app caveat). It also lists the permissions and minimum RustGIS version. The template's two checkboxes are not ticked, and the description does not confirm that source.url is a release asset of the plugin's repository or that sha256 matches that file. The template's 'desktop / web / CLI' test field is only partly addressed, since the web surface is not mentioned. The description is long and covers release notes beyond the registry change, but the required information is present.

Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

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 release link,
The new checksum is set in ink.
v0.1.25 is ready to go,
The registry records what it should show.
One hop forward, neat and bright,
Then off I nibble through the night.

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: e91cc26d-21de-4294-82ae-5f50fe3b7efc
Commits

Reviewing files that changed from the base of the PR and between 8c3c365 and 2bd57ea.

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.

@giswqs
giswqs merged commit 31a7e73 into opengeos:main Nov 9, 2026
6 checks passed
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.

3 participants