<p dir="ltr">Hello all,<br>
Does anybody have suggestions on this issue? <br>
I am just interested on dissolving polygons, if there is another way around, too.</p>
<p dir="ltr">thanks</p>
<div class="gmail_quote">On Jul 11, 2014 9:21 AM, "kalu671" <<a href="mailto:kalu671@gmail.com">kalu671@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello Dan,<br>
I tried to use the syntax and I am getting the error:<br>
"The filename, directory name, or volume label syntax is incorrect."<br>
<br>
my syntax is as below:<br>
inFile = "D:\Dir1\Polygons.shp"<br>
outFile = "D:\Dir2\Dissolved_polygons.shp"<br>
<br>
dissolve = 'C:\OSGeo4W64\apps\saga\saga_cmd shapes_polygons "Polygon<br>
Dissolve" -POLYGONS = ' + inFile + ' -DISSOLVED = ' + outFile + ' -FIELD_1=<br>
Value -DISSOLVE= 0'<br>
<br>
subprocess.call(dissolve, shell=True)<br>
<br>
Would you please suggest what did I do wrong?<br>
<br>
Thanks<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/gdal-dev-Dissolve-shapefile-using-GDAL-OGR-tp5036930p5150675.html" target="_blank">http://osgeo-org.1560.x6.nabble.com/gdal-dev-Dissolve-shapefile-using-GDAL-OGR-tp5036930p5150675.html</a><br>
Sent from the GDAL - Dev mailing list archive at Nabble.com.<br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</blockquote></div>