Skip to content
Snippets Groups Projects
Commit cea92c01 authored by Kelvin Rodriguez's avatar Kelvin Rodriguez Committed by GitHub
Browse files

Merge pull request #17 from jlaura/latlon

Fixes latlon
parents 231e4031 f2c077d7
No related branches found
No related tags found
No related merge requests found
...@@ -145,7 +145,7 @@ def _(dem, image_pt, camera, max_its = 20, tolerance = 0.001): ...@@ -145,7 +145,7 @@ def _(dem, image_pt, camera, max_its = 20, tolerance = 0.001):
while iterations != max_its: while iterations != max_its:
lon, lat, alt = pyproj.transform(ecef, lla, intersection.x, intersection.y, intersection.z) lon, lat, alt = pyproj.transform(ecef, lla, intersection.x, intersection.y, intersection.z)
px, py = dem.latlon_to_pixel(lon, lat) px, py = dem.latlon_to_pixel(lat, lon)
height = dem.read_array(1, [px, py, 1, 1])[0][0] height = dem.read_array(1, [px, py, 1, 1])[0][0]
next_intersection = camera.imageToGround(image_pt, float(height)) next_intersection = camera.imageToGround(image_pt, float(height))
......
from setuptools import setup, find_packages from setuptools import setup, find_packages
setup( setup(
name='knoten', name='knoten',
version='0.2.0', version='0.2.1',
long_description='', long_description='',
packages=find_packages(), packages=find_packages(),
include_package_data=True, include_package_data=True,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment