[gdal-dev] hdf5dataset.cpp patch

2010-08-23 Thread David Burken
Hi Everyone, gdalinfo was core dumping in method HDF5AttrIterate on some hdf5 data we have. The value of nAttrSize was greater than the hard coded array length of 8192. I changed the array size to be dynamic and it seems to be working now on my small sample of two data sets. svn diff belo

Re: [gdal-dev] KML's extendedData not visible

2010-08-23 Thread christopher.schmidt
> no, the LIBKML driver does not do what are looking for, either, as > far as I know > I would suggest as a work-around, to hold your data in some other format, > and just use KML as display, on demand. The libkml driver supports ExtendedData attributes as attributes of the simple features in

Re: [gdal-dev] KML's extendedData not visible

2010-08-23 Thread maplabs
On Tue, 24 Aug 2010 01:02:33 0200, Volker Fröhlich wrote: > I've got a question concerning KML and OGR. I noticed, that QGIS doesn't show > data within KML's . QGIS reads KML via OGR. QGIS' Jürgen E. > Fischer pointed out, ogrinfo doesn't show that data either.   Hi Volker-     reading K

[gdal-dev] KML's extendedData not visible

2010-08-23 Thread Volker Fröhlich
Dear GDAL/OGR developers! I've got a question concerning KML and OGR. I noticed, that QGIS doesn't show data within KML's . QGIS reads KML via OGR. QGIS' Jürgen E. Fischer pointed out, ogrinfo doesn't show that data either. The file in question was even written by ogr2ogr and the XML looks perf

Re: [gdal-dev] Re: Artifacts when presenting WMS based on a number of adjoining vrt files with overviews

2010-08-23 Thread jonas nielsen
The original images that the overviews are built on are 1 by 1 pixels. And yes, the artifacts appear without reprojection. -Jonas On Mon, Aug 23, 2010 at 6:24 PM, Jukka Rahkonen wrote: > jonas nielsen gmail.com> writes: > > > > > > > Help would > > be sincerely appreciated: > > > > > >

[gdal-dev] ogr2ogr ESRI Shapefile only outputs 55.384 instead of 55.38361

2010-08-23 Thread james pruett
Q: Is there any kind of-f %.6f type option for ogr2ogr like there is for cs2cs ? I don't seem to get all the precision... My lat shows 55.384 where it should be 55.38361936 Thanks for continued help! -jim -- Using Meridan 2 UK file: C\:> ogr2ogr -s_

Re: [gdal-dev] Working with NED elevation data - part 2

2010-08-23 Thread Stephen Woodbridge
On 8/23/2010 3:05 PM, Even Rouault wrote: Le lundi 23 août 2010 05:28:17, Stephen Woodbridge a écrit : Even, It seems the adding: #include resolves the segv issue. Strange, I think there's no particular good reason why it worked with GTiff and not VRT. I assume you compile on a 64bit platfo

Re: [gdal-dev] Working with NED elevation data - part 2

2010-08-23 Thread Even Rouault
Le lundi 23 août 2010 05:28:17, Stephen Woodbridge a écrit : > Even, > > It seems the adding: > > #include > > resolves the segv issue. Strange, I think there's no particular good reason why it worked with GTiff and not VRT. I assume you compile on a 64bit platform and that without header the

Re: [gdal-dev] Assigning SpatialReference to OGRLayer

2010-08-23 Thread Even Rouault
You cannot do that. The layer can set the spatial reference when building its definition, but the user cannot change that. You could achieve this by wrapping your layer into a OGR VRT though. See http://gdal.org/ogr/drv_vrt.html But for shapefiles, the easier will be to write a .prj file. You c

Re: [gdal-dev] OVERWRITING a Layer

2010-08-23 Thread Even Rouault
Look at the example at http://gdal.org/java/org/gdal/ogr/DataSource.html#CreateLayer(java.lang.String, %20org.gdal.osr.SpatialReference,%20int,%20java.util.Vector) Replace DIM=2 by OVERWRITE=YES Alternatively you could delete the layer before with DeleteLayer(), because not all drivers support O

[gdal-dev] Assigning SpatialReference to OGRLayer

2010-08-23 Thread Anders Moe
Hi everyone I was wondering how I should assign a spatial reference to my OGRLayer. virtual OGRSpatialReference * OGRLayer::GetSpatialRef () There seems to be

[gdal-dev] OVERWRITING a Layer

2010-08-23 Thread ahmet temiz
hello in gdal-java application. I encountered this problem. ERROR 1: Layer postlayer12 already exists, CreateLayer failed. Use the layer creation option OVERWRITE=YES to replace it. how can I solve this problem ? regards ___ gdal-dev mailing list gda

[gdal-dev] Re: Artifacts when presenting WMS based on a number of adjoining vrt files with overviews

2010-08-23 Thread Jukka Rahkonen
jonas nielsen gmail.com> writes: > > > Help would > be sincerely appreciated: > >   > > We are > seeing artifacts when presenting WMS images based on a number of adjoining > .vrt > files with overviews. Hi, What are the dimensions in pixels of the original images with 10 cm pixel size? Is i

Re: [gdal-dev] Working with NED elevation data - part 2

2010-08-23 Thread Brent Fraser
Steve, Excellent info! I had been contemplating using GDAL's VRT format to create an elevation web service so I could display X,Y and Z on mouse moves in web mapping, but was unsure about the performance. Looks like fcgi could work. FYI, I think I'll use Google's XML format (http://co

[gdal-dev] Artifacts when presenting WMS based on a number of adjoining vrt files with overviews

2010-08-23 Thread jonas nielsen
Hi List, Help would be sincerely appreciated: We are seeing artifacts when presenting WMS images based on a number of adjoining .vrt files with overviews. Background. We are processing 47.000 files containing aerial photos of 1 km by 1 km each, at a resolution of 10 cm by 10 cm. These are t

Re: [gdal-dev] how to clip the shape file

2010-08-23 Thread Chaitanya kumar CH
Vajram, Unless you want to do this with many files, you can just mention the raster's extents in the ogr2ogr utility with the options -spat and/or -clipsrs and convert the shapefile into a new shapefile that covers the raster. On Mon, Aug 23, 2010 at 2:56 PM, mail2vajram wrote: > > I want to ac

[gdal-dev] how to clip the shape file

2010-08-23 Thread mail2vajram
I want to access shape files using GDAL, and i have a shape file and raster image. then how to clip the shape file which covers that rasterhow to do this. Thank you -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/how-to-clip-the-shape-file-tp5451928p5451928.html

[gdal-dev] ecw gdalinfo problem

2010-08-23 Thread Kiks
Hi to all, I've got a problem since I upgraded my mapserver. When I run gdalnfo myfile.ecw this error popup: "Cannot find entry point ??0CNSJPBox@@q...@xz od the procedure in the library NCSEcw.dll" NCSEcw.dll version is 1.5.2.312 Is this correct? Any ideas about it? Thanks, Kiks -- Vi