Skip to main content

A custom DTM object that returns a constant value in a certain polygon

Project description

py-static-dtm

This is a package for creating custom static DTMs using polygons to define the DTM geographic area.

The main packages here are: fastkml and shapely. pyproj is only used here to convert the coordinates to UTM.

One key feature is the ability to create a DTM out of a kml file. For creating a kml file easily you can tap into google earth and export the kml you sketched.

The tests

The tests use a set of points to assert the behavior against a kml file of haifa port. You can load the kml into google earth to see the polygon.

In the docs folder there is another kml file. Loading it to google earth will show on top of the polygon all the points the tests are checking. This file was manually created, if the tests will change, the file may loose its validity.

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

py_static_dtm-1.0.0a5.tar.gz (12.6 kB view details)

Uploaded Source

Built Distribution

py_static_dtm-1.0.0a5-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file py_static_dtm-1.0.0a5.tar.gz.

File metadata

  • Download URL: py_static_dtm-1.0.0a5.tar.gz
  • Upload date:
  • Size: 12.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for py_static_dtm-1.0.0a5.tar.gz
Algorithm Hash digest
SHA256 5b9137eec0780c1036ed461925e9f699c32b330c54ef5c790c8c81f0a94e83b9
MD5 25f10d5668381f67ce9a7b5b3e61dc09
BLAKE2b-256 fcf4e2cc3e7589ed6e2c16ba6b1f3e085701684e50650630699bda2c1ed47ebe

See more details on using hashes here.

File details

Details for the file py_static_dtm-1.0.0a5-py3-none-any.whl.

File metadata

File hashes

Hashes for py_static_dtm-1.0.0a5-py3-none-any.whl
Algorithm Hash digest
SHA256 06fb1f042a543bd83b914cee1b60025b834813bce8ab66677e33af191d4b5b2d
MD5 14241d79d072b184ab1a5ccf787fa160
BLAKE2b-256 4843c7926134f852bd6693632f5e6b9ff8b6ac714502e4ded10cd0a2580d3ef1

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