Re: [gdal-dev] Gdal contour number of contour with -p

2018-10-05 Thread Julien Cabieces
Yes, polygons are properly disjoints. I agree with your proposal, two attributes with a_min/a_max seems to be the better option. I'll try to propose a patch in the days to come. Regards, Julien On 28/09/2018 17:50, Even Rouault wrote: > On mercredi 26 septembre 2018 09:30:53 CEST Julien Cabie

Re: [gdal-dev] Gdal contour number of contour with -p

2018-09-28 Thread Even Rouault
On mercredi 26 septembre 2018 09:30:53 CEST Julien Cabieces wrote: > Hi, > > I notice that executing gdal_contour has different number of contour > with or without -p option. > > gdal_contour -b 1 -a level -fl 1 -f GPKG NETCDF:"/tmp/myfile.nc":MYVAR > /tmp/outfile.gpkg > > This generates one co

[gdal-dev] Gdal contour number of contour with -p

2018-09-26 Thread Julien Cabieces
Hi, I notice that executing gdal_contour has different number of contour with or without -p option. gdal_contour  -b 1 -a level -fl 1 -f GPKG NETCDF:"/tmp/myfile.nc":MYVAR /tmp/outfile.gpkg This generates one contour line. gdal_contour  -p -b 1 -a level -fl 1 -f GPKG NETCDF:"/tmp/myfile.nc":MYV

Re: [gdal-dev] gdal contour as transparent png/tif or svg/eps/pdf

2014-06-26 Thread Even Rouault
Le samedi 21 juin 2014 18:10:38, Robert Grah a écrit : > Hey there, > > im trying to get a contour out of an GeoTiff file as transparent PNG or > TIFF or even better as PDF/SVG or EPS file in my C++ program. I found > gdal_contour but was not able to get PDF driver running. > How can I install mor

[gdal-dev] gdal contour as transparent png/tif or svg/eps/pdf

2014-06-21 Thread Robert Grah
Hey there, im trying to get a contour out of an GeoTiff file as transparent PNG or TIFF or even better as PDF/SVG or EPS file in my C++ program. I found gdal_contour but was not able to get PDF driver running. How can I install more drivers to GDAL? So my approach so far is like following: gda

Re: [gdal-dev] GDAL contour

2012-12-19 Thread Frank Warmerdam
On Wed, Dec 19, 2012 at 3:00 PM, Geoff Shipton wrote: > I am considering using GDAL contour as a way to generate bathymetry > contours. > > > > Can anyone point me to a bit more information than is available here: > > > > http://www.gdal.org/gdal_contour.html > > > > For example what is available

[gdal-dev] GDAL contour

2012-12-19 Thread Geoff Shipton
I am considering using GDAL contour as a way to generate bathymetry contours. Can anyone point me to a bit more information than is available here: http://www.gdal.org/gdal_contour.html For example what is available as file types for ? It seems to work just fine for .TIF images are the

Re: [gdal-dev] gdal contour, output polygon

2009-03-12 Thread ValiSystem
that's a very interesting option ! I think i could write a tool in C++ to do the grouping, and use the original line strings for the elevation lines/text. thanks a lot On 12/03/09 17:26, Jamie Adams wrote: You could also try using gdal_polygonize , b

Re: [gdal-dev] gdal contour, output polygon

2009-03-12 Thread Jamie Adams
You could also try using gdal_polygonize, but you'd need to find a way to reclass your source raster to discrete groups (i.e, elevation ranges). This could be done pretty easily using python, maybe something like val_repl.py

Re: [gdal-dev] gdal contour, output polygon

2009-03-12 Thread ValiSystem
Hum, i'm working with a world wide data set, it may add some strange artifacts around the 180, but i'll give it a try, it's very likely that the average data will be much better. thanks for the help ! (sorry for the dupe :/ ) On 11/03/09 21:14, Chaitanya kumar CH wrote: Vali, I don't know a

[gdal-dev] gdal contour, output polygon

2009-03-11 Thread ValiSystem
Hello ! I'm trying to generate polygons from gdal contour output. Most of the linestrings generated where closed, so it's not a too bad start. The problem is to define interior and exterior of the polygon : it seems that interior and exterior has no consistent meaning from the linestrings (it

[gdal-dev] Gdal contour again ....

2008-08-12 Thread Antonio P�rez
Hello everybody: My question is related with gdal_contour.exe utility This utility works fine writing data vectorized shp and kml formats but something must be wrong with dgn format. The aspect of the file (loaded in microstation) is quite strange, polygons appears broken. May be because my gdal_

[gdal-dev] Gdal contour problem

2008-08-06 Thread Antonio P�rez
> Hello everybody: > My question is related with gdal_contour.exe utility > This utility works fine writing data vectorized shp and kml formats but > something must be wrong with dgn format. > > The aspect of the file (loaded in microstation) is quite strange, polygons > appears broken. > ( I send