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.0a3.tar.gz (12.3 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: py_static_dtm-1.0.0a3.tar.gz
  • Upload date:
  • Size: 12.3 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.0a3.tar.gz
Algorithm Hash digest
SHA256 79f86847e4808cae15d469b5db63a7fe9dc38a90fcff0839240ead9b34cafe90
MD5 3267d02245904bb54c9401ec6188ff44
BLAKE2b-256 4e94e73683d05f3f82f04a20a0dd15b6d2897617251aa3548e79287b6471598c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for py_static_dtm-1.0.0a3-py3-none-any.whl
Algorithm Hash digest
SHA256 2966ebee9300a8a2e83414c71a9062ebe52c797c9e48ef1cadab61425f28bf84
MD5 b0afe7f321a6a6068fd6126298e437e3
BLAKE2b-256 ed6c51527e5e4d8f59a656dc85ef02a2e6278e4a48e0a8d2a71674068d7eb988

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