Skip to main content

Discovery-WKTUtils

image

To Install as Package, add the following line to requirements.txt:

git+https://github.com/asfadmin/Discovery-WKTUtils.git@prod#egg=WKTUtils

(The package name will be 'WKTUtils'. You can change 'prod' to desired branch).

Install the requirements file:

python3 -m pip install -r requirements.ext --upgrade

FilesToWKT:

You must open shapefiles in read binary mode, before passing them into the function.

from WKTUtils.FilesToWKT import filesToWKT
f = open("path/to/file.shp", "rb")
# NOTE: f can be a list of files too. filesToWKT([f1, f2, ...]).getWKT()
wkt = filesToWKT(f).getWKT()

Download files

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

Source Distribution

wktutils-2.0.0.tar.gz (4.6 MB view details)

Uploaded Source

Built Distribution

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

WKTUtils-2.0.0-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

Details for the file wktutils-2.0.0.tar.gz.

File metadata

  • Download URL: wktutils-2.0.0.tar.gz
  • Upload date:
  • Size: 4.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.19

File hashes

Hashes for wktutils-2.0.0.tar.gz
Algorithm Hash digest
SHA256 b9bc132e86f4efbe59e7f825de36bb343ec89bdc30dd242e163b5cb398be57fa
MD5 6fdf67e76722973b35963aac758d743a
BLAKE2b-256 a53e57ae381ea2c1ded6e8d5646889d1fdd915fb56faf56b085383a8057334a1

See more details on using hashes here.

File details

Details for the file WKTUtils-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: WKTUtils-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 16.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.19

File hashes

Hashes for WKTUtils-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2c91ec82c756878c4757bac17db38ac3855eb5fc6ec3a4e43665105926860718
MD5 1327455683e60863ee3790a64f84795f
BLAKE2b-256 fa4669ea8fa5ffd079a13bf21725cbd13d16ffe99e87125eef7e6c4a5702fff3

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 files

1.1.6

2 files

1.1.5

2 files

1.1.4

2 files

1.1.3

2 files

1.1.2

2 files

1.1.1

2 files

1.1.0

2 files

1.0.1

2 files

1.0.0

2 files

0.2.0

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

0.0.16

2 files

0.0.15

2 files

0.0.14

2 files

0.0.7

2 files

0.0.6

2 files

0.0.5

1 file

0.0.4

1 file

0.0.3

1 file

0.0.2

1 file

Supported by

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