{"name": "MapBiomas Fogo", "package_name": "mapbiomas_fogo", "version": "1.4", "experimental": false, "qgis_min": "3.0.0", "qgis_max": "4.99.0", "downloads": 426, "uploaded_by": "newton787", "upload_datetime": "2026-08-03T04:29:44.999485", "changelog": "Version 1.4 \r\n\r\nBug Fixes:\r\nResolved API endpoint connectivity problems\r\n\r\n\r\nCompatibility:\r\nQGIS 3.0 - 4.99\r\n\r\nMapBiomas Fire Plugin - Behavior Modifications\r\nSummary of Changes\r\nThis document describes the changes implemented in the MapBiomas Fire\r\nplugin regarding the download behavior of fire features (FGB -\r\nFlatGeobuf).\r\n\r\nNew Download Behavior for Features\r\n1. Brazil (Default)\r\nAction: Loads the FlatGeobuf layer normally, with no additional\r\nprocessing\r\n\r\nResult: Fire features for all of Brazil for the selected years\r\n\r\n2. Other Territorial Clipping\r\nAction: Performs an INTERSECT between the fire features (FGB) and the\r\nfull boundaries of the territory provided by the API (not just\r\nbounding box)\r\n\r\nResult: Only the fire features located inside the selected territory\r\nboundaries are added to the canvas\r\n\r\nExample: If you select Cerrado, only the fire inside the Cerrado\r\nboundaries will be displayed\r\n\r\n3. Custom Geometry\r\nAction:\r\n\r\nApplies configured treatments to the geometry (dissolve, selection,\r\netc.)\r\n\r\nPerforms an INTERSECT between the fire features (FGB) and the custom\r\ngeometry\r\n\r\nDoes NOT upload to the API - works locally within QGIS\r\n\r\nResult: Only the fire features located inside the custom geometry are\r\nadded to the canvas\r\n\r\nUsage Workflow\r\nFor Downloading with a Specific Territory:\r\nOpen the MapBiomas Fire plugin\r\n\r\nGo to the Download tab\r\n\r\nSelect the desired years from the combobox (multiple years can be\r\nselected)\r\n\r\nGo to the Territorial Clipping tab\r\n\r\nSelect the desired territory (e.g., a state, biome, etc.)\r\n\r\nClick OK\r\n\r\nResult: Fire features will be loaded with an automatic intersect to\r\nthe selected territory\r\n\r\nFor Downloading with Custom Geometry:\r\nOpen the MapBiomas Fire plugin\r\n\r\nCreate a polygon vector layer in QGIS representing your area of\r\ninterest\r\n\r\nGo to the Download tab\r\n\r\nSelect the desired years\r\n\r\nGo to the Custom Geometry tab\r\n\r\nSelect your layer from the combobox\r\n\r\n(Optional) Check \"Selected features only\" if you want to use only\r\nselected features\r\n\r\nClick OK\r\n\r\nResult: Fire features will be loaded with an intersect to the custom\r\ngeometry (without sending data to the API)\r\n\r\nBehavior of Other Queries\r\nAll other plugin functionalities (rasters, heatmaps, statistics, etc.)\r\ncontinue to work exactly as before:\r\n\r\nUse the territoryId passed to the API\r\n\r\nReceive data already processed by the server\r\n\r\nBehavior remains unchanged\r\n\r\nTechnical Details\r\nAdded Imports\r\nQgsCoordinateReferenceSystem\r\n\r\nQgsGeometry\r\n\r\nQgsField\r\n\r\nQgsFeature\r\n\r\njson\r\n\r\nNew Methods in MapbiomasfogoDialog\r\n_build_qgs_geometry_from_geojson(geometry_payload) (static)\r\n\r\nConverts GeoJSON to QgsGeometry\r\n\r\nFallback for older QGIS versions via OGR\r\n\r\n_intersect_with_territory_geometry(fgb_layer, territory_ids,\r\napi_client, year)\r\n\r\nRetrieves territory geometry via API\r\n\r\nPerforms intersect with FGB\r\n\r\n_intersect_with_user_geometry(fgb_layer, user_geometry_layer, year)\r\n\r\nRetrieves geometry from user layer\r\n\r\nPerforms intersect with FGB\r\n\r\n_get_dissolved_geometry(vector_layer, selected_only=False)\r\n\r\nCombines multiple features into a single geometry\r\n\r\nRespects feature selection\r\n\r\n_perform_intersect(fgb_layer, clip_geometry, year, clip_source_name)\r\n\r\nExecutes the intersect\r\n\r\nCreates a temporary memory layer with the result\r\n\r\nAdds it to the project\r\n\r\nModifications to Existing Methods\r\n_load_selected_fgb_layers(api_client=None)\r\n\r\nNow collects selected territories\r\n\r\nPasses api_client to operations\r\n\r\n_load_fgb_layer(year, territory_ids=None, user_geometry_layer=None,\r\napi_client=None)\r\n\r\nAdded parameters for territories and custom geometry\r\n\r\nImplemented intersect logic\r\n\r\naccept()\r\n\r\nPasses api_client to _load_selected_fgb_layers()\r\n\r\nCompatibility\r\n\u2713 QGIS 3.x\r\n\r\n\u2713 QGIS 4.x\r\n\r\n\u2713 OGR/GDAL (for GeoJSON conversion)\r\n\r\nPotential Log Messages\r\nWhen working with intersection, you may see log messages such as:\r\n\r\n[MapBiomas Fire] Starting intersect with territories: ['1-2-3']\r\n\r\n[MapBiomas Fire] Performing intersect with Territory (2024)\r\n\r\n[MapBiomas Fire] Intersect completed: 1234 features for 2024\r\n(Territory)\r\n\r\n[MapBiomas Fire] Starting intersect with custom geometry\r\n\r\nImportant Notes\r\nPerformance: The intersect is computed locally within QGIS, so it may\r\ntake time for large FGB files\r\n\r\nFallback: If an error occurs during intersection, the layer is loaded\r\nnormally (unclipped)\r\n\r\nMemory: Resulting layers from the intersection are created as\r\ntemporary memory layers\r\n\r\nFeature Selection: If using custom geometry with \"Selected features\r\nonly\", only selected features will be used in the intersect\r\ncalculation\r\n\r\nVersion: 1.4\r\n\r\nDate: Agust 2025\r\n\r\nPlugin: MapBiomas Fire", "external_deps": null, "download_url": "https://plugins.qgis.org/plugins/mapbiomas_fogo/version/1.4/download/"}