Skip to main content

Python wrapper for visualiation of shapely geometries.

Project description

Utility for plotting shapely geometries and WKTs

Example Usage:

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.0.0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

wktplot-0.0.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wktplot-0.0.0.tar.gz
  • Upload date:
  • Size: 3.8 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.0+

File hashes

Hashes for wktplot-0.0.0.tar.gz
Algorithm Hash digest
SHA256 ac5e170c12ab958f6e1b2b4b0d8bc8e254df0fa993df21aefaeff7da41ab46c1
MD5 bb7d15065feba30dcf46fa540af147dc
BLAKE2b-256 4b05f401aa5bab3f63c2e3d62b5a0c914f05ce419a088ce1f75c41ba0c72d2b6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wktplot-0.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.6 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.0+

File hashes

Hashes for wktplot-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d9d3995a82c55ac17895f17020c6e73bbf248fd4f3ef06adee6895f501cbc63f
MD5 93fa8cc9f4d991e64f175582a8e3011d
BLAKE2b-256 4c07526eaebad6d97e1c78dbc4537a960d3ccff94c333840a84ac653f7525f87

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