tunned-geobr 1.0.16__tar.gz → 1.0.18__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/PKG-INFO +1 -1
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/pyproject.toml +1 -1
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/__init__.py +2 -1
- tunned_geobr-1.0.18/tunned_geobr/read_quilombola_areas.py +95 -0
- tunned_geobr-1.0.16/tunned_geobr/read_quilombola_areas.py +0 -103
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/LICENSE.txt +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/README.md +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tests/__init__.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tests/read_state.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tests/test_list_geobr.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tests/test_lookup_muni.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tests/test_read_amazon.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tests/test_read_biomes.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tests/test_read_census_tract.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tests/test_read_comparable_areas.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tests/test_read_conservation_units.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tests/test_read_country.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tests/test_read_disaster_risk_area.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tests/test_read_health_facilities.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tests/test_read_health_region.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tests/test_read_immediate_region.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tests/test_read_indigenous_land.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tests/test_read_intermediate_region.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tests/test_read_meso_region.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tests/test_read_metro_area.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tests/test_read_micro_region.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tests/test_read_municipal_seat.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tests/test_read_municipality.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tests/test_read_neighborhood.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tests/test_read_pop_arrangements.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tests/test_read_region.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tests/test_read_schools.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tests/test_read_semiarid.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tests/test_read_state.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tests/test_read_statistical_grid.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tests/test_read_urban_area.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tests/test_read_urban_concentrations.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tests/test_read_weighting_area.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tests/test_utils.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/data/grid_state_correspondence_table.csv +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/list_geobr.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/lookup_muni.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_ama_anemometric_towers.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_amazon.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_amazon_ibas.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_apcb_amazon.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_apcb_caatinga.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_apcb_cerrado_pantanal.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_apcb_mata_atlantica.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_apcb_pampa.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_apcb_zcm.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_archaeological_sites.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_areas_under_contract.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_atlantic_forest_ibas.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_atlantic_forest_law_limits.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_baze_sites.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_biodiesel_plants.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_biomes.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_biomethane_plants.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_biosphere_reserves.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_cave_potential.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_census_tract.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_climate.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_climate_aggressiveness.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_comparable_areas.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_compression_stations.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_conservation_units.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_country.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_disaster_risk_area.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_drainage_ducts.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_ebas.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_etanol_plants.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_existent_biomass_ute.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_existent_cgh.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_existent_eolic.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_existent_fossile_ute.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_existent_nuclear_ute.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_existent_pch.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_existent_solar.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_existent_substations.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_existent_transmission_lines.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_existent_uhe.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_exploration_blocks.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_exploration_production_environment.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_federal_highways.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_federal_union_areas.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_fossil_occurrences.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_fuel_bases.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_gas_distribution_pipelines.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_gas_transport_pipelines.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_geographic_regions.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_geology.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_geomorphology.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_glp_bases.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_gnl_terminals.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_health_facilities.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_health_region.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_heliports.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_hydroelectric_feasibility_studies.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_hydroelectric_inventory_aai_studies.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_ibama_embargoes.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_icmbio_embargoes.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_icmbio_infractions.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_immediate_region.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_indigenous_land.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_intermediate_region.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_isolated_systems.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_meso_region.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_metro_area.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_micro_region.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_mining_processes.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_municipal_seat.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_municipality.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_municipality_direct.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_natural_caves.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_natural_gas_delivery_points.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_natural_gas_processing_hub.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_neighborhood.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_og_basement.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_og_effective_geographic_basin.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_og_ipa_direct_evidence.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_og_ipa_exploratory_activity.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_og_ipa_exploratory_intensity.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_og_ipa_need_for_knowledge.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_og_ipa_prospectiveness.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_og_ipa_supply_infrastructure.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_og_legal_pre_salt_polygon.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_og_predominant_fluid_type.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_og_probabilistic_effective_basin.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_og_total_ipa.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_og_unconventional_resources.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_oil_and_derivatives_terminal.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_oil_wells.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_pan_strategic_areas 2.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_pan_strategic_areas.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_pedology.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_pio_ducts.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_pio_terminals.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_planned_biomass_ute.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_planned_cgh.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_planned_eolic.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_planned_fossile_ute.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_planned_nuclear_ute.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_planned_pch.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_planned_solar.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_planned_substations.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_planned_transmission_lines.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_planned_uhe.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_pop_arrangements.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_ports.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_private_aerodromes.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_processing_facilities.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_production_fields.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_public_aerodromes.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_railways.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_region.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_rppn.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_schools.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_sedimentary_basins.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_semiarid.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_settlements.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_sigef_properties.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_sigel_hydroelectric_developments.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_sigel_thermoelectric_plants.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_sigel_wind_turbines.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_sigel_windpower_polygons.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_sigel_windpower_transmission_lines.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_snci_properties.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_state.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_state_direct.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_state_highways.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_statistical_grid.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_subsystem_interconnected.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_transmission_lines_ons.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_urban_area.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_urban_concentrations.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_vegetation.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_water_bodies_ana.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_waterways.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_weighting_area.py +0 -0
- {tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/utils.py +0 -0
@@ -135,4 +135,5 @@ from .read_sigel_wind_turbines import read_sigel_wind_turbines
|
|
135
135
|
from .read_sigel_windpower_transmission_lines import read_sigel_windpower_transmission_lines
|
136
136
|
from .read_sigel_hydroelectric_developments import read_sigel_hydroelectric_developments
|
137
137
|
from .read_sigel_windpower_polygons import read_sigel_windpower_polygons
|
138
|
-
from .read_sigel_thermoelectric_plants import read_sigel_thermoelectric_plants
|
138
|
+
from .read_sigel_thermoelectric_plants import read_sigel_thermoelectric_plants
|
139
|
+
from .read_drainage_ducts import read_drainage_ducts
|
@@ -0,0 +1,95 @@
|
|
1
|
+
import geopandas as gpd
|
2
|
+
import tempfile
|
3
|
+
import os
|
4
|
+
import requests
|
5
|
+
from zipfile import ZipFile
|
6
|
+
from io import BytesIO
|
7
|
+
import urllib3
|
8
|
+
|
9
|
+
def read_quilombola_areas(simplified=False):
|
10
|
+
"""Download Quilombola Areas data from INCRA.
|
11
|
+
|
12
|
+
This function downloads and processes data about Quilombola Areas (Áreas Quilombolas)
|
13
|
+
in Brazil. These are territories recognized and titled to remaining quilombo communities.
|
14
|
+
Original source: INCRA - Instituto Nacional de Colonização e Reforma Agrária
|
15
|
+
|
16
|
+
Parameters
|
17
|
+
----------
|
18
|
+
simplified : boolean, by default False
|
19
|
+
If True, returns a simplified version of the dataset with fewer columns
|
20
|
+
|
21
|
+
Returns
|
22
|
+
-------
|
23
|
+
gpd.GeoDataFrame
|
24
|
+
Geodataframe with Quilombola Areas data
|
25
|
+
Columns:
|
26
|
+
- geometry: Geometry of the area
|
27
|
+
- nome: Area name
|
28
|
+
- municipio: Municipality
|
29
|
+
- uf: State
|
30
|
+
- area_ha: Area in hectares
|
31
|
+
- fase: Current phase in the titling process
|
32
|
+
- familias: Number of families
|
33
|
+
- portaria: Ordinance number
|
34
|
+
- decreto: Decree number
|
35
|
+
- titulo: Title number
|
36
|
+
- data_titulo: Title date
|
37
|
+
|
38
|
+
Example
|
39
|
+
-------
|
40
|
+
>>> from tunned_geobr import read_quilombola_areas
|
41
|
+
|
42
|
+
# Read Quilombola Areas data
|
43
|
+
>>> quilombos = read_quilombola_areas()
|
44
|
+
"""
|
45
|
+
|
46
|
+
url = "https://certificacao.incra.gov.br/csv_shp/zip/Áreas%20de%20Quilombolas.zip"
|
47
|
+
|
48
|
+
try:
|
49
|
+
# Download the zip file
|
50
|
+
# Disable SSL verification due to INCRA's certificate issues
|
51
|
+
response = requests.get(url, verify=False)
|
52
|
+
if response.status_code != 200:
|
53
|
+
raise Exception("Failed to download data from INCRA")
|
54
|
+
|
55
|
+
# Suppress the InsecureRequestWarning
|
56
|
+
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
|
57
|
+
|
58
|
+
# Create a temporary directory
|
59
|
+
with tempfile.TemporaryDirectory() as temp_dir:
|
60
|
+
# Extract the zip file
|
61
|
+
with ZipFile(BytesIO(response.content)) as zip_ref:
|
62
|
+
zip_ref.extractall(temp_dir)
|
63
|
+
|
64
|
+
# Find the shapefile
|
65
|
+
shp_files = [f for f in os.listdir(temp_dir) if f.endswith('.shp')]
|
66
|
+
if not shp_files:
|
67
|
+
raise Exception("No shapefile found in the downloaded data")
|
68
|
+
|
69
|
+
# Read the shapefile
|
70
|
+
gdf = gpd.read_file(os.path.join(temp_dir, shp_files[0]))
|
71
|
+
gdf = gdf.to_crs(4674) # Convert to SIRGAS 2000
|
72
|
+
|
73
|
+
if simplified:
|
74
|
+
# Keep only the most relevant columns
|
75
|
+
columns_to_keep = [
|
76
|
+
'geometry',
|
77
|
+
'nome', # Area name
|
78
|
+
'municipio', # Municipality
|
79
|
+
'uf', # State
|
80
|
+
'area_ha', # Area in hectares
|
81
|
+
'fase' # Current phase
|
82
|
+
]
|
83
|
+
|
84
|
+
# Filter columns that actually exist in the dataset
|
85
|
+
existing_columns = ['geometry'] + [col for col in columns_to_keep[1:] if col in gdf.columns]
|
86
|
+
gdf = gdf[existing_columns]
|
87
|
+
|
88
|
+
except Exception as e:
|
89
|
+
raise Exception(f"Error downloading Quilombola Areas data: {str(e)}")
|
90
|
+
|
91
|
+
return gdf
|
92
|
+
|
93
|
+
if __name__ == '__main__':
|
94
|
+
quilombos = read_quilombola_areas()
|
95
|
+
print(quilombos)
|
@@ -1,103 +0,0 @@
|
|
1
|
-
import geopandas as gpd
|
2
|
-
import tempfile
|
3
|
-
import os
|
4
|
-
import requests
|
5
|
-
from zipfile import ZipFile
|
6
|
-
from io import BytesIO
|
7
|
-
import urllib3
|
8
|
-
import time
|
9
|
-
from pathlib import Path
|
10
|
-
|
11
|
-
def read_quilombola_areas(simplified=False, local_file=None):
|
12
|
-
"""Download Quilombola Areas data from INCRA.
|
13
|
-
|
14
|
-
This function downloads and processes data about Quilombola Areas (Áreas Quilombolas)
|
15
|
-
in Brazil. These are territories recognized and titled to remaining quilombo communities.
|
16
|
-
Original source: INCRA - Instituto Nacional de Colonização e Reforma Agrária
|
17
|
-
|
18
|
-
Parameters
|
19
|
-
----------
|
20
|
-
simplified : boolean, by default False
|
21
|
-
If True, returns a simplified version of the dataset with fewer columns
|
22
|
-
local_file : string, optional
|
23
|
-
Path to a local zip file containing the data, by default None
|
24
|
-
If provided, the function will use this file instead of downloading from INCRA
|
25
|
-
|
26
|
-
Returns
|
27
|
-
-------
|
28
|
-
gpd.GeoDataFrame
|
29
|
-
Geodataframe with Quilombola Areas data
|
30
|
-
Columns:
|
31
|
-
- geometry: Geometry of the area
|
32
|
-
- nome: Area name
|
33
|
-
- municipio: Municipality
|
34
|
-
- uf: State
|
35
|
-
- area_ha: Area in hectares
|
36
|
-
- fase: Current phase in the titling process
|
37
|
-
- familias: Number of families
|
38
|
-
- portaria: Ordinance number
|
39
|
-
- decreto: Decree number
|
40
|
-
- titulo: Title number
|
41
|
-
- data_titulo: Title date
|
42
|
-
|
43
|
-
Example
|
44
|
-
-------
|
45
|
-
>>> from tunned_geobr import read_quilombola_areas
|
46
|
-
|
47
|
-
# Read Quilombola Areas data
|
48
|
-
>>> quilombos = read_quilombola_areas()
|
49
|
-
|
50
|
-
# Or use a local file that was previously downloaded
|
51
|
-
>>> quilombos = read_quilombola_areas(local_file="path/to/Áreas de Quilombolas.zip")
|
52
|
-
"""
|
53
|
-
|
54
|
-
url = "https://certificacao.incra.gov.br/csv_shp/zip/Áreas%20de%20Quilombolas.zip"
|
55
|
-
|
56
|
-
# If a local file is provided, use it instead of downloading
|
57
|
-
if local_file and os.path.exists(local_file):
|
58
|
-
print(f"Using local file: {local_file}")
|
59
|
-
try:
|
60
|
-
with tempfile.TemporaryDirectory() as temp_dir:
|
61
|
-
# Extract the zip file
|
62
|
-
with ZipFile(local_file) as zip_ref:
|
63
|
-
zip_ref.extractall(temp_dir)
|
64
|
-
|
65
|
-
# Find the shapefile
|
66
|
-
shp_files = [f for f in os.listdir(temp_dir) if f.endswith('.shp')]
|
67
|
-
if not shp_files:
|
68
|
-
raise Exception("No shapefile found in the local file")
|
69
|
-
|
70
|
-
print(f"Found shapefile: {shp_files[0]}")
|
71
|
-
|
72
|
-
# Read the shapefile
|
73
|
-
gdf = gpd.read_file(os.path.join(temp_dir, shp_files[0]))
|
74
|
-
gdf = gdf.to_crs(4674) # Convert to SIRGAS 2000
|
75
|
-
|
76
|
-
print(f"Successfully loaded {len(gdf)} Quilombola Areas from local file")
|
77
|
-
|
78
|
-
if simplified:
|
79
|
-
# Keep only the most relevant columns
|
80
|
-
columns_to_keep = [
|
81
|
-
'geometry',
|
82
|
-
'nome', # Area name
|
83
|
-
'municipio', # Municipality
|
84
|
-
'uf', # State
|
85
|
-
'area_ha', # Area in hectares
|
86
|
-
'fase' # Current phase
|
87
|
-
]
|
88
|
-
|
89
|
-
# Filter columns that actually exist in the dataset
|
90
|
-
existing_columns = ['geometry'] + [col for col in columns_to_keep[1:] if col in gdf.columns]
|
91
|
-
gdf = gdf[existing_columns]
|
92
|
-
|
93
|
-
return gdf
|
94
|
-
except Exception as e:
|
95
|
-
raise Exception(f"Error processing local file: {str(e)}")
|
96
|
-
|
97
|
-
# If no local file is provided, return a message with download instructions
|
98
|
-
# This is consistent with the approach in read_snci_properties as mentioned in the MEMORY
|
99
|
-
return "O download automático dos dados de Áreas Quilombolas está temporariamente indisponível.\nPor favor, faça o download manual através do link:\n" + url + "\n\nApós o download, você pode usar o parâmetro local_file:\nquilombos = read_quilombola_areas(local_file='caminho/para/Áreas de Quilombolas.zip')"
|
100
|
-
|
101
|
-
if __name__ == '__main__':
|
102
|
-
quilombos = read_quilombola_areas()
|
103
|
-
print(quilombos)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/data/grid_state_correspondence_table.csv
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_existent_transmission_lines.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_exploration_production_environment.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_hydroelectric_feasibility_studies.py
RENAMED
File without changes
|
{tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_hydroelectric_inventory_aai_studies.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_natural_gas_delivery_points.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_og_effective_geographic_basin.py
RENAMED
File without changes
|
File without changes
|
{tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_og_ipa_exploratory_activity.py
RENAMED
File without changes
|
{tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_og_ipa_exploratory_intensity.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_og_ipa_supply_infrastructure.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_og_probabilistic_effective_basin.py
RENAMED
File without changes
|
File without changes
|
{tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_og_unconventional_resources.py
RENAMED
File without changes
|
{tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_oil_and_derivatives_terminal.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_sigel_hydroelectric_developments.py
RENAMED
File without changes
|
{tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_sigel_thermoelectric_plants.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{tunned_geobr-1.0.16 → tunned_geobr-1.0.18}/tunned_geobr/read_sigel_windpower_transmission_lines.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|