The path strings are not escaped, so dissolve[13] is '\a' or '\x07'
and not 'a', which makes the path invalid.
For Windows paths, the best practice is to either use forward slashes
(like unix), or use raw escape with r as a string prefix, e.g.
dissolve = r'C:\OSGeo4W64\apps...'
On 12 July 2014 0
Hello all,
Does anybody have suggestions on this issue?
I am just interested on dissolving polygons, if there is another way
around, too.
thanks
On Jul 11, 2014 9:21 AM, "kalu671" wrote:
> Hello Dan,
> I tried to use the syntax and I am getting the error:
> "The filename, directory name, or volu
Hello Dan,
I tried to use the syntax and I am getting the error:
"The filename, directory name, or volume label syntax is incorrect."
my syntax is as below:
inFile = "D:\Dir1\Polygons.shp"
outFile = "D:\Dir2\Dissolved_polygons.shp"
dissolve = 'C:\OSGeo4W64\apps\saga\saga_cmd shapes_polygons "Pol
Sorry, I meant Even (not Evan). Another workaround I found is the dissolve
polygons tool in SAGA (instaled from OSGeo4W). I found this tool very handy
since SAGA has a command line option and this specific tool allows up to
three dissolve fields to be specified. My syntax was:
saga_cmd shapes_p
Thanks Evan. I will try the workaround and use it until GDAL 1.10 has been
incorporated into OSGeo4W.
Since you’ve brought up the OSGeo4W installer… mine says my gdal library is
current (1.9.2-2) bu when I launch the shell I see the following, which
suggests an older version is actually gettin