Re: [gdal-dev] RE clip intersected

2009-07-17 Thread Frank Warmerdam
steve.tout...@inspq.qc.ca wrote: I finally got gdal_polygonize.py and tried it and generate a shapefile. I might not use it as a solution for what I described below but I would like to use it for other purpose. My understanding is this function merge contiguous cells with the same pixel value

Re: [gdal-dev] RE clip intersected

2009-07-17 Thread Steve . Toutant
al-dev] RE clip intersected steve.tout...@inspq.qc.ca wrote: > > I might try this..is it the good way to do what I need? > > 1- Use gdal_polygonize.py to create a boundary (excluding pixels with no > value) of each image and save the boundary as a .shp > 2- Somehow fin

Re: [gdal-dev] RE clip intersected

2009-07-17 Thread Frank Warmerdam
steve.tout...@inspq.qc.ca wrote: I might try this..is it the good way to do what I need? 1- Use gdal_polygonize.py to create a boundary (excluding pixels with no value) of each image and save the boundary as a .shp 2- Somehow find the intersected region of the 2 polygons (boundaries) created

[gdal-dev] RE clip intersected

2009-07-17 Thread Steve . Toutant
I might try this..is it the good way to do what I need? 1- Use gdal_polygonize.py to create a boundary (excluding pixels with no value) of each image and save the boundary as a .shp 2- Somehow find the intersected region of the 2 polygons (boundaries) created above and save the result to .shp 3-