21.12.2022 Views

python_para_desenvolvedores_2ed

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

210 Processamento numérico

# Escreve os nomes

for l, x, y in zip(*lxy):

pyplot.text(x+2e5, y-6e5, l,

color='#eeeecc')

pyplot.savefig('mapa2.png', dpi=150)

Saída:

Para processamento de informações georreferenciadas de forma mais

sofisticada, existe o projeto MapServer 57 , um servidor de aplicação voltado

para GIS (Geographic Information System) que suporta diversas linguagens,

inclusive Python.

Além de módulos de terceiros, também é possível usar a planilha do

BrOffice.org 58 para gerar gráficos com o Python, através da API chamada

Python-UNO Bridge 59 .

57 Site oficial em http://mapserver.org/.

58 Disponível em: http://www.broffice.org/.

59 Mais informações em: http://udk.openoffice.org/python/python-bridge.html.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!