Skip to main content

shapefile to sql converter.

Project description

shp2posgis

Módulo python para converter arquivos no padrão shapefile da esri para arquivos sql que podem ser importados em bancos de dados postgresql/postgis.

Python module to convert esri shapefile format to sql files that can be imported into postgresql/postgis database.

Uso / Usage

primeiro é necessário instalar as dependências

First install dependencies

pip3 install -r requirements.txt

python3 na linha de comando / on command line

Uso detalhado pode ser visto usando:

Details about use are shown using:

python3 shp2postgis.py -h

ou / or

python3 shp2postgis.py --help

Para usar como biblioteca

To use as a library

from shps2postgis import Shps2Postgis

process = Shps2Postgis(dictInput, outputPath, schema, encoding, srid, verbose)

process.run()

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

shp2postgis-0.1.1.tar.gz (6.4 kB view hashes)

Uploaded Source

Built Distribution

shp2postgis-0.1.1-py3-none-any.whl (7.9 kB view hashes)

Uploaded Python 3

Supported by

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