IDEA
|
I have already tried the method you are proposing and it has worked. I just thought it might be useful to have a tool that implements it directly. Thank you!
... View more
08-29-2019
04:33 AM
|
0
|
0
|
541
|
IDEA
|
A tool that calculates distance statistics (such as min, max, average) from a given point to the vertices of a polygon.
... View more
08-23-2019
07:34 AM
|
1
|
2
|
603
|
POST
|
Hi! I've had the same problem with this tool. It seems to be a bug concerning the naming of the input raster file. Suppose the input raster is named "c:\folder1\folder2\img.tif". The source code will isolate "img.tif" as the name of the "InRas" field of the dasymetric table. However, when the table is actually created, the field is named using only the file's base name, not the extension as well. So, it will be named "img". Portion ".tif" of the string must be removed. I have come up with this solution: Replace the following code line of "dasy.py": InRasField = (InRas.split("\\" ))[-1] with: InRasField = (InRas.split("\\" ))[-1] theRCharOffset = (-1) * len(".tif") InRasField = InRasField[:theRCharOffset] You'll find it in the first 30 lines of the python source code. Also, try giving a short name to your input raster (up to 10 chars). This worked for me, I hope it works for you too!
... View more
09-26-2014
03:36 AM
|
1
|
0
|
434
|
Title | Kudos | Posted |
---|---|---|
1 | 09-26-2014 03:36 AM | |
1 | 08-23-2019 07:34 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|