Skip to main content

Python package to use spatial data of Brazilian territorial levels available at IBGE

Project description

geodata

geodata is a Python package designed to simplify the process of working with geographical data from the IBGE (Brazilian Geography and Statistic Institute) API.

Features

  • Loads vector data of Brazil's geographical divisions without the need to download files;
  • Allows intuitive selection of the geographical division level and data resolution;
  • Export the vector data to the desired format without the need for third-party software.

Usage

import geodata as gd

# Initialize the geodata object
geolevel = gd.GeoLevel.STATE
quality = gd.Quality.MEDIUM
geo = gd.GeoData(geolevel=level, quality=quality)

# Load the polygons data to a variable
data_pol = geo.polygons

# Load only metadata
data_meta = geo.metadata

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ibge_geodata-1.0.0.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ibge_geodata-1.0.0-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file ibge_geodata-1.0.0.tar.gz.

File metadata

  • Download URL: ibge_geodata-1.0.0.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.12.3 Linux/6.11.0-29-generic

File hashes

Hashes for ibge_geodata-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e06287c27696396d32c80d81a1deb7b92cec4458ba032c5b91f4d44983340d9c
MD5 85693bca265c35815858d70bf2ee420f
BLAKE2b-256 eb44d95f1e2c494f784ce7f9585d2714667e6a99ae6f40433323fe00a7a3ce05

See more details on using hashes here.

File details

Details for the file ibge_geodata-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: ibge_geodata-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.12.3 Linux/6.11.0-29-generic

File hashes

Hashes for ibge_geodata-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a93dd815e16b021eb3f2327b90f95eaa86270d76fc83665d789f9a3439a14b19
MD5 73f1a259625654ea25f0dc087c018b24
BLAKE2b-256 92c1fd3e8842fbcd24eae319c68d2762986660870eaa94183a6bf90fee8bc70e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page