Re: [gdal-dev] Countour polygons instead of lines

2008-09-03 Thread Ari Jolma
Matthew Perry kirjoitti: On Tue, Sep 2, 2008 at 2:26 PM, Ari Jolma <[EMAIL PROTECTED]> wrote: Did you ever want gdal_contour to produce polygons instead of lines? ... I wonder what's the current situation. Does GRASS do this? Indirectly, yes. You can use r.reclass to create

Re: [gdal-dev] Countour polygons instead of lines

2008-09-03 Thread Nikos Alexandris
On Wed, 2008-09-03 at 10:40 +0300, Ari Jolma wrote: > > Indirectly, yes. You can use r.reclass to create areas of similar > > elevation from the raster DEM and r.to.vect to covert to polygons. Also, use the "-s" switch (in r.to.vect) to get smoothed and not edgy polygons :-) _

[gdal-dev] gdal_merge and the treatment of nodata value

2008-09-03 Thread Andreas Neumann
Hi, I am using gdal_merge to merge different rasters. The problem is that the nodata values appear as black and I want to have them white. Is there an option to set nodata values to white with gdal_merge? Or would I have to do this as a postprocessing? The problem is that the images are too larg

Re: [gdal-dev] RE: progressive rendering

2008-09-03 Thread Tamas Szekeres
2008/9/3 Norman Barker <[EMAIL PROTECTED]>: > Hi, > > I have updated the RFC > > http://trac.osgeo.org/gdal/wiki/rfc24_progressive_data_support > > To take in all of your comments, and I have added a comment about how > this is a progressive format driver, but is no longer asynchronous, and > I am

Re: [gdal-dev] gdal_merge and the treatment of nodata value

2008-09-03 Thread Frank Warmerdam
Andreas Neumann wrote: Hi, I am using gdal_merge to merge different rasters. The problem is that the nodata values appear as black and I want to have them white. Is there an option to set nodata values to white with gdal_merge? Or would I have to do this as a postprocessing? The problem is tha

[gdal-dev] OCI driver not adding data to Oracle Table

2008-09-03 Thread Clay, Bruce
I have been trying to use the OCI driver to create a table and load data into it. I have been using the same code loop in the past to create shapefiles without problems. No errors are reported during the CreateFeature and SetField process based on return status but no data shows up in the table.

Re: [gdal-dev] gdal_merge and the treatment of nodata value

2008-09-03 Thread Andreas Neumann
Thanks for having a look at my problem. I am adding more information: I am merging a number of rgb tiff files (scanned city maps), but they don't align perfectly at the outer edges. This means that on the edges of the resulting output file, where the tiff files don't align, I get borders with nod

Re: [gdal-dev] OCI driver not adding data to Oracle Table

2008-09-03 Thread Lucena, Ivan
Bruce, I have seem this error message before and I think is it exactly what you though but just for troubleshooting, could you try to re-create the columns as NUMERIC without (precision,scale) and run it again. That will point out where the error occurs. Maybe. Ivan Clay, Bruce wrote: I ha

RE: [gdal-dev] RE: progressive rendering

2008-09-03 Thread Norman Barker
Hi Tamas, Looks like we are getting there in terms of defining the interface :-) My comments are inline. -Original Message- From: Tamas Szekeres [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2008 5:33 AM To: Norman Barker Cc: gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev]

[gdal-dev] gdal error 4

2008-09-03 Thread Christian Willmes
Hello, I have a problem with the gdal Installation on our webserver. I'm new to gdal, to be specific I try to get some raster data into mapserver, but there occours the following error according gdal and I could not find anything what helped me out on google and other mailinglists. I get the

Re: [gdal-dev] module of a complex dataset

2008-09-03 Thread Antonio Valentino
Il giorno Tue, 02 Sep 2008 10:49:02 -0400 Frank Warmerdam <[EMAIL PROTECTED]> ha scritto: [...] > > I think that it would be nice to have a base set of *PixelFunctions* > > (mod, phase, real, imag, sum, diff, etc.) bundled with the GDAL > > library in order to allow the user to cook its own virtu

Re: [gdal-dev] gdal_merge and the treatment of nodata value

2008-09-03 Thread Matt Wilkie
Hi Andreas, If you use gdalwarp rather than gdal_merge you could use the -srcnodata and -dstnodata flags to change the null value: gdalwarp in-01.tif in-02.tif outimage.tif -srcnodata 0 -dstnodata 255 This assumes the nodata in all the input images are the identical (0, or black). Since

Re: [gdal-dev] RE: progressive rendering

2008-09-03 Thread Tamas Szekeres
2008/9/3 Norman Barker <[EMAIL PROTECTED]>: > > > It would be useful to maintain both ReadNextBlock and RasterIO in the > case of JPIP, it can be advantageous (if the client can handle it) to > call regions of a server image on tile boundaries -> ReadNextBlock, but > in most cases I think RasterIO

[gdal-dev] Projection information in the aux.xml

2008-09-03 Thread Robert Beckwith
I am currently using GDAL and MrSID DSDK for reading and georeferencing raster files. Currently it is using the .aux file for projection information and this is working fine for .sid and .tiff files. (I have tried using 1.5.0, 1.5.2 and the current dev branch) Now it seems like starting with

RE: [gdal-dev] RE: progressive rendering

2008-09-03 Thread Norman Barker
Hi Tamas, Comments inline, thanks again for your thoughts. -Original Message- From: Tamas Szekeres [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2008 10:59 AM To: Norman Barker Cc: gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] RE: progressive rendering 2008/9/3 Norman Bark

Re: [gdal-dev] gdal error 4

2008-09-03 Thread Frank Warmerdam
Christian Willmes wrote: Hello, I have a problem with the gdal Installation on our webserver. I'm new to gdal, to be specific I try to get some raster data into mapserver, but there occours the following error according gdal and I could not find anything what helped me out on google and other

[gdal-dev] Postgis 8.3 support

2008-09-03 Thread Craig Miller
Does OGR support Postgis 8.3 under Windows? I have the following defined in my nmake.opt but am still getting all sorts of linker errors: # PostGIS Libraries PG_INC_DIR = C:\pg\include\ PG_LIB = C:\pg\lib\libpq.lib wsock32.lib Craig _

Re: [gdal-dev] RE: progressive rendering

2008-09-03 Thread Even Rouault
Norman, just a very quick review of the latest state of the RFC after a quick reading of it... - do we really need to make new classes GDALAsyncDataset and GDALAsyncRasterBand. I've raised that point on previous email. --> potential problem for the corresponding C API, but, I agree, not criti

[gdal-dev] example GML v2.

2008-09-03 Thread nicholas . g . lawrence
Hello list, I am looking for a GML v2.1 file for testing purposes It does not have to be very large at all, or of any particular area, just enough to test that the import works. Any suggestions on where I can find one? Regards, nick ***

[gdal-dev] Clipping shapefiles

2008-09-03 Thread Matthew Huck
Hi, I've got a reasonably large shapefile that I wish to break down into areas that match the topographic maps in NZMG. I've got a python script that creates a shapefile with each topomap as a polygon in it (and I can create a shapefile per topo map too if required). What I can't work out how to

[gdal-dev] KML and custom styles

2008-09-03 Thread Kralidis,Tom [Burlington]
Hi: using svn trunk, the KML output has reletively simple style definitions by default. OGC KML allows for styles to be remotely defined within the element, which refs a local or remote file, and XPointer to a given style def. For example: somefile.kml#mystyle ...would use the style mystyl