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" <[email protected]> wrote: > 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 "Polygon > Dissolve" -POLYGONS = ' + inFile + ' -DISSOLVED = ' + outFile + ' -FIELD_1= > Value -DISSOLVE= 0' > > subprocess.call(dissolve, shell=True) > > Would you please suggest what did I do wrong? > > Thanks > > > > > -- > View this message in context: > http://osgeo-org.1560.x6.nabble.com/gdal-dev-Dissolve-shapefile-using-GDAL-OGR-tp5036930p5150675.html > Sent from the GDAL - Dev mailing list archive at Nabble.com. > _______________________________________________ > gdal-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev >
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
