Timeline for Crop raster from vector problem
Current License: CC BY-SA 3.0
14 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 25, 2018 at 7:28 | history | edited | nmtoken | CC BY-SA 3.0 |
corrected spelling
|
Dec 30, 2015 at 19:14 | vote | accept | Jonathan | ||
Dec 30, 2015 at 18:51 | comment | added | AndreJ | I used the one from arcscripts.esri.com/details.asp?dbid=10806. But it works because no .prj file is generated, and so gdalwarp uses the tif CRS. See my answer for full details. | |
Dec 30, 2015 at 18:39 | answer | added | AndreJ | timeline score: 1 | |
Dec 30, 2015 at 18:36 | comment | added | Jonathan | @AndreJ what shapefile repair tool did you use to get the .shx and .dbf from the .shp? I am going to replicate that and then see if when I do the clipping it works. Also why do you think it fails with the zipped version of the .shp but not with your reconstructed one? | |
Dec 30, 2015 at 16:49 | history | edited | Jonathan | CC BY-SA 3.0 |
added missing supplemental files to shape file link
|
Dec 30, 2015 at 16:06 | history | edited | Jonathan | CC BY-SA 3.0 |
added links to files in question
|
Dec 30, 2015 at 12:44 | comment | added | Jonathan | @AndreJ Ok here's the tif I'm using, that means something must be wrong with this: drive.google.com/file/d/0B0OJiariv_rheS1KdDU1bXg0NEU/… | |
Dec 30, 2015 at 12:05 | comment | added | Jonathan | @AndreJ here is the link: filedropper.com/citylimits | |
Dec 30, 2015 at 6:46 | comment | added | AndreJ | Can you upload the shapefile somehwere? | |
Dec 30, 2015 at 4:25 | comment | added | Maxim Dubinin | try checking topology of the vector layer | |
Dec 30, 2015 at 2:00 | comment | added | Jonathan |
Yes @user1269942, I followed the following syntax: inline gdalwarp -cutline city_limits.shp -crop_to_cutline philly_3857.tif philly_cropped.tif
|
|
Dec 29, 2015 at 23:49 | comment | added | user1269942 | what was the commandline statement that you used? did you use the -cutline flag? | |
Dec 29, 2015 at 22:50 | history | asked | Jonathan | CC BY-SA 3.0 |