Humboldt commited on
Commit
126357b
·
1 Parent(s): e497482

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -2
app.py CHANGED
@@ -71,8 +71,9 @@ if file_str:
71
  # in the as_crs coords
72
  # geo_tiff.get_coords(i, j)
73
  # in WGS 84 coords
74
- # print(geo_tiff.get_wgs_84_coords(i, j))
75
- # print(geo_tiff.get_wgs_84_coords(0, 0))
 
76
 
77
  # degrees per Pixel in x-direction
78
  deg_pixel_x = (geo_tiff.get_wgs_84_coords(i, j)[
@@ -83,6 +84,10 @@ if file_str:
83
  start_x = geo_tiff.get_wgs_84_coords(0, 0)[0]
84
  start_y = geo_tiff.get_wgs_84_coords(i, j)[1]
85
 
 
 
 
 
86
  size = (416, 416)
87
 
88
  Image.MAX_IMAGE_PIXELS = 10000000000
 
71
  # in the as_crs coords
72
  # geo_tiff.get_coords(i, j)
73
  # in WGS 84 coords
74
+ print('Koordinaten')
75
+ print(geo_tiff.get_wgs_84_coords(i, j))
76
+ print(geo_tiff.get_wgs_84_coords(0, 0))
77
 
78
  # degrees per Pixel in x-direction
79
  deg_pixel_x = (geo_tiff.get_wgs_84_coords(i, j)[
 
84
  start_x = geo_tiff.get_wgs_84_coords(0, 0)[0]
85
  start_y = geo_tiff.get_wgs_84_coords(i, j)[1]
86
 
87
+ print(start_x, start_y)
88
+ print(deg_pixel_x,deg_pixel_y )
89
+ print('_'*50 + ' Ende '+ '_'*50)
90
+
91
  size = (416, 416)
92
 
93
  Image.MAX_IMAGE_PIXELS = 10000000000