[gdal-dev] Data Binding dgal Layer in .NET

2008-09-30 Thread Ackerman, Cameron T HEC
Hi All: I'm a noob and trying to bind information from a Layer in GDAL to a Datagridview in .NET. Does anyone have experience or a sample to get me started? I'm trying to get around NOT creating a copy of the data into a specialized class object but use it in it's native form. Many thanks, cam

Re: [gdal-dev] How to add a OGRSpatialReference to an OGRLayer?

2008-09-30 Thread Frank Warmerdam
On Tue, Sep 30, 2008 at 11:11 PM, Tom Kazimiers <[EMAIL PROTECTED]> wrote: > >> >> Tom, >> >> In fact there is no GDAL way to do this. You can however manually >> put a .prj file with an ArcGIS PE string along side the shapefiles. >> >> Best regards, >> >> > Frank, > > thanks for the answer. So do

Re: [gdal-dev] PAM & nodata values

2008-09-30 Thread Frank Warmerdam
Matt, I have had no problem reproducing your bug. Could you file a ticket on th issue. The following change fixes the bug, but I need a ticket to push the fix back into the source tree. Thanks! Best regards, [EMAIL PROTECTED] svn diff Index: nitfdataset.cpp ==

Re: [gdal-dev] How to add a OGRSpatialReference to an OGRLayer?

2008-09-30 Thread Tom Kazimiers
Frank Warmerdam schrieb: > On Tue, Sep 30, 2008 at 10:55 PM, Tom Kazimiers <[EMAIL PROTECTED]> wrote: > >> Hi, >> >> unfortunately I have no experience with OGR and want to display a >> SHP-File (on WinCE, but I don't think that matters). The rendering works >> well, but is slow - so I will add

Re: [gdal-dev] How to add a OGRSpatialReference to an OGRLayer?

2008-09-30 Thread Frank Warmerdam
On Tue, Sep 30, 2008 at 10:55 PM, Tom Kazimiers <[EMAIL PROTECTED]> wrote: > Hi, > > unfortunately I have no experience with OGR and want to display a > SHP-File (on WinCE, but I don't think that matters). The rendering works > well, but is slow - so I will add some caching. One thing of faster > r

[gdal-dev] How to add a OGRSpatialReference to an OGRLayer?

2008-09-30 Thread Tom Kazimiers
Hi, unfortunately I have no experience with OGR and want to display a SHP-File (on WinCE, but I don't think that matters). The rendering works well, but is slow - so I will add some caching. One thing of faster rendering is to use SetSpatialFilterRect() I guess. This works, as written in the docs,

Re: [gdal-dev] gdalwarp interpolation artifacts

2008-09-30 Thread Seth Price
The problem will be in all methods if I recall correctly, but to varying degrees. In the original resampling method, they all use kernels of varying sizes. When said kernel would sample against the edge of the image, it defaults to bilinear resampling (I think). Cubicspline has the largest

[gdal-dev] PAM & nodata values

2008-09-30 Thread Matt Klaric
I'm attempting to set the nodata value on an NITF image and then subsequently read this nodata value back out of the image. However this read fails to find the newly set nodata value. See the attached source code and an example image. You can see that the nodata value is being set for (the first

Re: [gdal-dev] gdalwarp interpolation artifacts

2008-09-30 Thread Roger André
Well, the good news is that the artifacts don't seem to be present when I use the plain "cubic" resampling method. The bad news is that the the quality of that method isn't good enough for me to use. I think my solution is going to have to be that I manually cut pieces out of the low-res mosaic t

Re: [gdal-dev] gdalwarp interpolation artifacts

2008-09-30 Thread Roger André
Hi Seth and Frank, Thanks for the feedback. I just finished reading the changelog link that Seth sent and all I can say is, "Wow, nice job!" I did some further testing last night using a single GTOPO30 tile, and doing a 10x upsample. The artifacts are present in it at columns 6000 and 12000, so

[gdal-dev] Memory allocation for NetCDF driver

2008-09-30 Thread Rich Signell
GDAL gang, Something to put on the wish list for the NetCDF driver: the ability to write the data in chunks to the NetCDF file to conserve memory. I've got a big geoTIFF (20,000 x 15,000) that I wanted to convert to NetCDF, but ran out of memory: gdal_translate psdem_2005_geo.tif -of netcdf psde

Re: [gdal-dev] ogr2ogr: How can I get GML output file in 2D?

2008-09-30 Thread kai.zimmerl
Thanks, Stefan, I tried it but it didn't help! (I wonder what the 2.5D option is for since the output seems to default to 2.5D) /Kai -Ursprungligt meddelande- Från: Stefan Keller [mailto:[EMAIL PROTECTED] Skickat: den 29 september 2008 20:24 Till: Zimmerl Kai Kopia: gdal-dev@lists.osgeo.or