Re: [gdal-dev] Classification and combination with GDAL?

2011-12-09 Thread Chaitanya kumar CH
Carlos, This is a specialized case. You can do this programatically by using 'derived bands' in the VRT format[1]. It could be a lot easier to do this using a desktop GIS application like QuantamGIS [2]. QuantamGIS has a raster calculator utility that can do a lot of arithmetic operations like th

[gdal-dev] Classification and combination with GDAL?

2011-12-09 Thread SupportLists
Hi, I need to perform classification and combination of three ascii grids. This means for example: 1. Separate the data of each cell in the grid among three classes Layer1 Classes: A1,B1,C1 Layer2 Classes: A2,B2,C2 Layer3 Classes: A3,B3,C3 2. Then Combine the three classified grid

RE: [gdal-dev] ogr2ogr 1.9 gml3.2 output and multisurface

2011-12-09 Thread Gordon Tisher
Thanks Even, using -nlt GEOMETRY works great for my application. > This can be solved by 2 similar solutions. Add -nlt MULTIPOLYGON to > your ogr2ogr command line to force conversion of simple polygons to > multipolygons. > Or add -nlt GEOMETRY so that the target layer is just advertized as > bein

Re: [gdal-dev] ogr2ogr 1.9 gml3.2 output and multisurface

2011-12-09 Thread Even Rouault
Gordon, > Hi, > > I have a question regarding GML3.2 output from ogr2ogr in GDAL 1.9 (from > a daily build from a few days ago). I have a sample shapefile (found at > http://www.vdstech.com/mapdata/canada.zip) that I've tried to convert to > GML 3.2 using the command "ogr2ogr -f GML canada.xml c

[gdal-dev] ogr2ogr 1.9 gml3.2 output and multisurface

2011-12-09 Thread Gordon Tisher
Hi, I have a question regarding GML3.2 output from ogr2ogr in GDAL 1.9 (from a daily build from a few days ago). I have a sample shapefile (found at http://www.vdstech.com/mapdata/canada.zip) that I've tried to convert to GML 3.2 using the command "ogr2ogr -f GML canada.xml canada.shp -dsco FORMA