-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example - writing a GIS Tiff file to DSS. #54
Comments
Is there a specific example how this should be done? |
Working Example - Conversion from TIFF to DSS But I have since noticed small projection inconsistancies so any specific example / help would be appreciated!. Notice this line of code, Which i believe mostly works around the bug. (and causes the profile error to be raised) :
|
in grid.pyx , the function lower_left_xy_from_transform is :
why the value of lower_left_y is y_max? There is a source about the coordinate-reference-systems For identification, each cell in the grid has a pair of integer indices (i, j) indicating the position, by cell count, of its southwest (or minimum-x, minimum-y) corner, relative to the UTM zone coordinate origin. To find the indices of the cell in which a point is located, find the point’s easting and northing in the projected coordinate system defined above, and calculates the indices with the following formulas. We know that transform[2] and transform[5] is the upper_left location. So the xmin and ymin are absolutely correct in the lower_left_xy_from_transform function.But why ymin is unused. |
By the way, I find that when x_cellsize is not equal to y_cellsize, the result will be far away from the result generated by votex. |
Hello, I have struggled to write a valid GIS tiff, to a dss file.
I had to leave disabled the 'raise_profile_error', because the values calculated by the pydsstools, appear to be calculated using the top left of the grid, instead of the bottom left.
The comment on the 25th of november here mentions this as well:
#31
The end result is that the raster, ends up shifted up, by the distance of the height of the raster If i provide values that pass your validation.
The text was updated successfully, but these errors were encountered: