Re: [gdal-dev] MEM Driver under Vista 64?

2008-08-26 Thread Chris Eustace
I had a near identical issue when upgrading from V1.4.x to V1.5.2. The code checks the name passed in as the "filename" to Create(). ONLY if it is of the form "MEM:::" will it then look for other expected parameters (including PIXELS, LINES and DATAPOINTER). Otherwise, the passed in filename i

[gdal-dev] MEM Driver under Vista 64?

2008-08-26 Thread Craig Miller
I am working with an in-house utility written a couple of years ago that uses the MEM driver. Recently, after upgrading to Vista64 the utility stopped working. As it was using an old version of GDAL, I decided to fetch the source from the vault and recompile/link against GDAL 1.5.2. I didn't cha

Re: [gdal-dev] Shapefile reprojection - copy and update metadata file

2008-08-26 Thread Even Rouault
I've no idea of what the XML file you are refering too is. The OGR Shape driver only handles the .shp, .shx, .dbf, .prj and .qix extensions for shapefiles. Le Tuesday 26 August 2008 21:34:13 [EMAIL PROTECTED], vous avez écrit : > Hi Folks, > Before I try to clumsily reinvent the wheel, I'd

[gdal-dev] Shapefile reprojection - copy and update metadata file

2008-08-26 Thread Doug_Newcomb
Hi Folks, Before I try to clumsily reinvent the wheel, I'd like to know if someone has a method to : 1) use ogr2ogr to reproject a shape file ( easy enough ). 2) after the above projection copy the .xml file (if it exists) from the old shapefile to the new shapefile (easy as w

Re: [gdal-dev] Telling lies with geotiif metadata

2008-08-26 Thread Even Rouault
Disclaimer : I just read the 2 first paragraphs. Indeed, if you want to be able to using bilinear resampling, cubic, etc..., you can't do that on a paletted dataset. You must convert it before to 24 bit. So the solution is to pct2rgb.py your input files (or use the new -expand rgb|rgba option

[gdal-dev] Telling lies with geotiif metadata

2008-08-26 Thread Wendell Turner
Hello! I am trying to do something I probably shouldn't ... I have about 30 geotiffs that tile the continental US (aviation sectional charts). Each of them uses a slightly different projection -- LCC with different standard parallels and origins for each chart. Using gdalwarp, I converted eve