Re: [gdal-dev] converting KML to CSV

2008-11-03 Thread Markus Neteler
Even, On Mon, Nov 3, 2008 at 9:39 PM, Even Rouault <[EMAIL PROTECTED]> wrote: > Markus, > > this turned out not to be too difficult to implement. So here it is, in r15684 > > Extract from the updated doc : > " > Layer Creation options: > - GEOMETRY (From GDAL 1.6.0): By default, the geometry of a

RE: [gdal-dev] GDAL 1.6.0 GDALValidateCreationOptions

2008-11-03 Thread Peng Gao
Hi Even, I got the failure when converting a 3 band img to a BMP image. I think converting a tiff to BMP will reproduce as well. I was thinking to make validation optional at run time by setting, e.g. config value. Thanks, Gao, Peng > -Original Message- > From: Even Rouault [mailto:[EM

[gdal-dev] ogr2ogr

2008-11-03 Thread Limei Ran
Hi: I am trying to project a shapefile from WGS84 to NAD83 using the following command: ogr2ogr -s_srs "+proj=latlong +datum=WGS84" -t_srs "+proj=aea +lat_1=29.5 +lat_2=45.5 +lat_0=23 +lon_0=-96 +x_0=0 +y_0=0 +ellps=GRS80 +datum=NAD83 +units=m +no_defs " temp_des.shp temp_src.shp Could yo

Re: [gdal-dev] GDAL 1.6.0 GDALValidateCreationOptions

2008-11-03 Thread Even Rouault
Hi, Create()/CreateCopy() shouldn't fail if there's a warning due to GDALValidateCreationOptions(). At least, I don't understand how this can happen. Do you notice that behaviour with a specific driver ? I couldn't reproduce a failure. For example, something like: gdal_translate foo.tif bar.ti

[gdal-dev] GDAL 1.6.0 GDALValidateCreationOptions

2008-11-03 Thread Peng Gao
Hi All, Create()/CreateCopy() now validates the creation options using GDALValidateCreationOptions(). GDALValidateCreationOptions() generates a warning if any of creation options is not supported by the driver. Create()/CreateCopy() fails if there is a warning. This seems to be too harsh. My app

Re: [gdal-dev] converting KML to CSV

2008-11-03 Thread Even Rouault
Markus, this turned out not to be too difficult to implement. So here it is, in r15684 Extract from the updated doc : " Layer Creation options: - GEOMETRY (From GDAL 1.6.0): By default, the geometry of a feature written to a .csv file is discarded. It is possible to export the geometry in its W

Re: [gdal-dev] GDAL/OGR 1.6.0 Beta 1 Available

2008-11-03 Thread William Kyngesburye
On Nov 2, 2008, at 8:06 PM, William Kyngesburye wrote: One bug that hasn't had any action taken: http://trac.osgeo.org/gdal/ticket/1242 I wonder - I build OGDI with proj support. For use only in GDAL, is that necessary? If not, then I could remove PROJ from my OGDI and this bug will be m

Re: [gdal-dev] converting KML to CSV

2008-11-03 Thread Markus Neteler
On Tue, May 20, 2008 at 3:25 PM, Frank Warmerdam <[EMAIL PROTECTED]> wrote: > Tim Michelsen wrote: >> >> Hello, >> I'd like to convert KML back to CSV. >> >> When I issue >> ogr2ogr -f CSV out.csv in.kml >> >> there are no coordinates written to the CSV file. Only the placemark names >> are >> writ

Re: [gdal-dev] MSYS buildslave

2008-11-03 Thread Ari Jolma
Andrey Kiselev kirjoitti: On Wed, Oct 29, 2008 at 02:04:44PM +0200, Ari Jolma wrote: I've set up a buildslave, which builds GDAL from a fresh checkout of the trunk in Windows using the MSYS environment. Currently the build is quite lean and only Perl bindings are built in addition to the core