Re: [gdal-dev] Relax KML driver about xmlns

2009-05-20 Thread Mateusz Loskot
Christopher Condit wrote: > Hi Mateusz- >> Would it make sense to relax a bit the KML driver here [1] so it >> accepts root without xmlns attribute? > > The problem is that the KML schema had many iterations before becoming > an OGC standard and in some cases those schema changes are not backward

RE: [gdal-dev] Local coordinate system and proj4

2009-05-20 Thread Bryan Keith
Martin, That did it. It is in Nevada. I don't know if it's a stateplane coordinate system with an unusual false easting and northing or something else. I replaced "Local" with "Transverse_Mercator". The reprojection worked. I compared the results with what ArcMap calculates, and the greatest

[gdal-dev] Local coordinate system and proj4

2009-05-20 Thread Bryan Keith
Hello, I've been sent an ESRI coordinate system file (.prj) that looks like this: PROJCS["Unknown",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Local"],PARAMETER["False_Easting",68396.

RE: [gdal-dev] error when opening wcs descriptor

2009-05-20 Thread godofredo contreras
Thank you for your answer Even: I'm using windows xp, and building with visual studio 2005, you're right the problem was caused for compilation without a previous clean. I did an nmake /f makefile.vc clean and after that an nmake /f makefile.vc now it is working correctly.

Re: [gdal-dev] Relax KML driver about xmlns

2009-05-20 Thread Even Rouault
I've verified that the KML driver only looks for a known version (2.0, 2.1, 2.2), but doesn't make any other use of it, so we could reasonably implement Christopher's proposal : "if the document element _is_ kml and the version _is not_ found or not recognized OGR issues a warning and proceeds a

Re: [gdal-dev] error when opening wcs descriptor

2009-05-20 Thread Even Rouault
Godofredo, This is very surprising. wms and wcs drivers are only compiled if libcurl is available. Assuming your platform is Linux : My guess is that you have configured a first time without libcurl support, compiled, observed that libcurl support was missing, reconfigured with libcurl support

RE: [gdal-dev] Relax KML driver about xmlns

2009-05-20 Thread Christopher Condit
Hi Mateusz- > Would it make sense to relax a bit the KML driver here [1] so it > accepts root without xmlns attribute? The problem is that the KML schema had many iterations before becoming an OGC standard and in some cases those schema changes are not backward compatible. The namespace exists to

[gdal-dev] error when opening wcs descriptor

2009-05-20 Thread godofredo contreras
Hi: I compiled gdal 1.6 from svn source with libcurl, when running gdalinfo --formats wcs, and wms support is listed. But when running gdalinfo descriptor.xml I get the following error: ERROR 6: GDAL/OGR not compiled with libcurl support, remote requests not support ed. gdalinfo failed -

[Gdal-dev] Format Conversion

2009-05-20 Thread Sunny K
Hi, I devloping the file conversion program, and have two problems. - Visual Studio 2008 - C# 1) read HDF5 -> resize -> save as JPEG I found the methods of HDF5 reading and Save As JPEG. But, I don't know how can I resize it in C#. In C++ sample code, Before call the "CreateC