Dados Espaciais do Brasil
Project description
Open Geodata
Pacote para disponibilizar dados espaciais!
Todos os datasets estão com datum WGS84 (EPSG: 4326).
Instalar
pip3 install open-geodata --upgrade
Como Usar?
from open_geodata import geo
# List geodataframes
geo.get_dataset_names()
# Load geodataframe
geo.load_dataset('sp_250k_wgs84')
from open_geodata import lyr
# Add Layers
lyr.base.google_hybrid(min_zoom, max_zoom)
from open_geodata import folium_plus
# Create Map
m = folium_plus.adds.create_map_multitiles()
m
from open_geodata import converts
converts.df2geojson(df, lat='latitude', long='longitude', remove_coords_properties=True)
Datasets
br_ibge
Limites de Municípios e Estados.
sp_250k
Limites administrativos municipais do Estado de São Paulo.
sp_piracicaba
Limites do Plano Diretor do Município de Piracicaba.
Teste
TODO
- https://github.com/twisted/incremental
- Definir os layers
- Participnar dados! https://dev.to/bowmanjd/easily-load-non-python-data-files-from-a-python-package-2e8g
- import pkg_resources https://stackoverflow.com/questions/779495/access-data-in-package-subdirectory
- Use of pkg_resources is discouraged in favor of importlib.resources, importlib.metadata, and their backports (importlib_resources, importlib_metadata). Please consider using those libraries instead of pkg_resources. https://setuptools.pypa.io/en/latest/pkg_resources.html
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
open_geodata-22.6.21.tar.gz
(17.6 MB
view hashes)
Built Distribution
Close
Hashes for open_geodata-22.6.21-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c82339e1b1ba53ecd11097728d32523ef8ffee21a688a3d6b5d324fdf1d84d30 |
|
MD5 | e91fad67c03d9f4ecae167243ce44909 |
|
BLAKE2b-256 | b8095a003ee94607cc173fbcae08dfcc18ace9a1e941948cd00a919172e80b23 |