Skip to main content

Convert (Fiona-supported) OGR data sources to plaintext WKT.

Project description

ogr2wkt

Convert Fiona-supported OGR data sources to pipe-delimited WKT format.

Why?

ogr2ogr's csv driver does not support pipe delimiters. If you want to use it to create a text file with WKT geometry which also contains attributes, you're out of luck unless you want a TAB-delimited file (which, why would you?)

Installation

This tool depends on Fiona, which in turn depends on GDAL. Fiona, when installed using a wheel, will automatically include its dependencies.

pip install ogr2wkt

Usage

ogr2wkt INPUT_FILE OUTPUT_FILE

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

ogr2wkt-0.0.2.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

ogr2wkt-0.0.2-py2.py3-none-any.whl (4.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file ogr2wkt-0.0.2.tar.gz.

File metadata

  • Download URL: ogr2wkt-0.0.2.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2

File hashes

Hashes for ogr2wkt-0.0.2.tar.gz
Algorithm Hash digest
SHA256 5561d039f14eb66a3f2f44f1864d6ebac443879da38427fa9d509011d0cd6583
MD5 d7422af18c5f4c692e22f643e31fb894
BLAKE2b-256 7ba478b186bee36920d203122ad1c0bfaa50591821e557a0d161cec9704ee31e

See more details on using hashes here.

File details

Details for the file ogr2wkt-0.0.2-py2.py3-none-any.whl.

File metadata

  • Download URL: ogr2wkt-0.0.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2

File hashes

Hashes for ogr2wkt-0.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 df69cf7c6ef0ee9fd8b7a5e7209f4a96681f796d07c0f040d436ea3540ee2933
MD5 da38de1b4e949492d44736a4ee7412e0
BLAKE2b-256 20dbf1f8eedba68baca79273a63448bf4ba38d43761b440be90de2e9eff5d4c1

See more details on using hashes here.

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