Skip to main content

Python wrapper for visualiation of shapely geometries.

Project description

WKTPlot

Utility for plotting shapely geometries and WKTs

Badges

CircleCI Codacy Badge Codacy Badge

Usage

Example:

from wkt_plot import WKTPLOT

a = Polygon(...)
b = MultiPolygon(...)
c = LineString(...)
d = MultiLineString(...)
e = "LINESTRING (30 10, 10 30, 40 40)"

plot = WKTPLOT("path/to/save/directory")
plot.add_shape(a, fill_color="crimson", name="A Poly")
plot.add_shape(c, stroke_color="dimgray")
plot.add_shape(e, "cornflowerblue")
plot.save(plot_name="A with C with E")
plot.clear()

plot.add_shapes([
    (b, "magenta"),
    (c, "turquoise"),
    (d, "forestgreen")
]).save("BCD").clear()

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

wktplot-0.1.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

wktplot-0.1.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file wktplot-0.1.0.tar.gz.

File metadata

  • Download URL: wktplot-0.1.0.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for wktplot-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ca84ccc00798e6a43c2557f9fcf1da84c6e237fdae4f5b44550ddec11290bf73
MD5 09c7990f6a6a7d7bb193e2d4cf33f032
BLAKE2b-256 184d63a0a4898dc0aa3d989afefddf043ad3de90eb68d97c0a65c3842cc89f48

See more details on using hashes here.

File details

Details for the file wktplot-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: wktplot-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for wktplot-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 89bf83dd93fab615d9b18823198d67f47ce71162dde8cb001ec2b2306ddd665e
MD5 3e84ab65a90cc6135ad78dc2cc745890
BLAKE2b-256 77750bb607271fda917f503a059e902ad50660aa777bbac4b7d9b28cb6a38f5f

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