-
Notifications
You must be signed in to change notification settings - Fork 3
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
export in wgs84 #16
Comments
Given that this is more of a gippy==0.3.x issue, I'm going to try the GH issue transfer feature and bump this over to there. |
Thanks for confirming that it is a thing, just maybe not a GIPS thing. I feel like a temporary work-around shouldn't be too hard e.g. a couple GDAL system calls. I'll look into it. |
I've identified the issue, the extent width calculation:
Seems like an assumption that the extent is ok a unit grid. |
Looks like this has been addressed in the 1.0 branch. Really makes me want to get some time to do that port to |
added (commented out) debugging to find a spot where the "+1" I deleted for fixing #16 was being compensated for with a "-1". Leaving the commented debug output in place due to not being certain that this is completely resolved.
I can't remember if there is a trick to this. I tried several incantations, and even searched the issues, read the manual, etc.
I know that using
-r [raster template]
will work but that's not really practical for my current use case.Example:
Since the shapefile is epsg:4326, I naively expected that this would produce an image 0.15x0.15 degrees in extent (the size of a tile) and 3000x3000 pixels (the right number of pixels at that resolution).
What came out had the correct resolution, but the extent was bonkers - it wasn't the extent of the tile, or of the shapefile (which I initially thought had happened). I assume the bonkersness has to do with gdal_warp doing something or not doing something. Then I tried some other stuff that didn't work, but remembered that I'd been through all this at some point.
Is this a thing / a thing that can be accomplished?
The text was updated successfully, but these errors were encountered: