File: test_projection.py

package info (click to toggle)
stactools 0.5.3-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 23,796 kB
  • sloc: python: 4,498; xml: 554; sh: 395; makefile: 34
file content (7 lines) | stat: -rw-r--r-- 269 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
from shapely.geometry import Point
from stactools.core import projection


def test_no_precision() -> None:
    # This errors in stactools v0.5.0 because precision is None (needs to be an integer)
    projection.reproject_shape("EPSG:4326", "EPSG:4326", Point((0, 0)))