Re: [gdal-dev] [BULK] Re: Dissolve shapefile using GDAL/OGR

2014-07-11 Thread kalu671
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

[gdal-dev] Raster Color map in python

2014-05-18 Thread kalu671
I have a reference raster map and list of other rasters. I want to get color table from reference map and set to the list using python. I can read other parameters from raster but some how I can not get the color table (GetRasterColorTable())from the source file, let alone setting the table (SetRas