Re: [gdal-dev] core dumping on PNG RGB creation

2009-02-02 Thread Even Rouault
Jared, It looks like you're looking for big troubles ;-) If SUPPORT_CREATE is not defined by default in standard GDAL built, it means that it is not production ready... After having looked at the code a bit, I can tell you that it is definitely not ready to work bullet-proof and would require

Re: [gdal-dev] Error message in reading as

2009-02-02 Thread Frank Warmerdam
Limei Ran wrote: Hi: I have a question about reading a grib image file. I opened this file with GDALOpen to get the general information about the image. Along the information I printed out, I also I got an error message and warning: == Warning: Inside GRIB2Inventory, Message #

Re: [gdal-dev] core dumping on PNG RGB creation

2009-02-02 Thread Jared Rubin
But if the following define is set when building gdal -DSUPPORT_CREATE then the PNG driver will support the CREATE method Jared On Mon, 2009-02-02 at 20:05 +, Lucena, Ivan wrote: > > That is because the PNG driver ___ gdal-dev mailing list gdal-de

Re: [gdal-dev] core dumping on PNG RGB creation

2009-02-02 Thread Lucena, Ivan
That is because the PNG driver does not support Create() Method. Compare the two outputs: % gdalinfo --format png % gdalinfo --format gtiff > ---Original Message--- > From: Jared Rubin > Subject: [gdal-dev] core dumping on PNG RGB creation > Sent: Feb 02 '09 19:35 > > I am unab

[gdal-dev] Error message in reading as

2009-02-02 Thread Limei Ran
Hi: I have a question about reading a grib image file. I opened this file with GDALOpen to get the general information about the image. Along the information I printed out, I also I got an error message and warning: == Warning: Inside GRIB2Inventory, Message # 2 ERROR: Ran out

[gdal-dev] core dumping on PNG RGB creation

2009-02-02 Thread Jared Rubin
I am unable to generate a RGB png image from the python swig interface. The following code does work if I change the driver to BMP. Is there something odd about the PNG driver? Thanks import osgeo.gdal as gdal import numpy buf = (numpy.random.rand(100*100*3)*255).round() % 255 buf = buf.reshape(1

[gdal-dev] -f kml and -sql options for TimeStamp

2009-02-02 Thread Jeff Hamann
In the last hour I've managed to export KML files using the following syntax after some simple mods (read mimic the name/description handling) to the KML export functions in OGR: /Library/Frameworks/GDAL.framework/Programs/ogr2ogr \ -f KML activity.kml \ PG:"host=localhost dbname=wadnr" \ -sq

RE: [gdal-dev] -update -append -f kml and -sql options for time series?

2009-02-02 Thread Christopher Condit
Hi Jeff- > I have no idea where to send this and after signing up for the another > list server, I thought I might try here. Let me first say that I have > been using the heck out of gdal, ogr2ogr, and postgis for a few days > now to generate kml files with relative ease, using commands like: > >

[gdal-dev] Creating a blank raster from scratch

2009-02-02 Thread Jorge
Hello everybody I'm creating a blank raster from scratch, to rasterize it later. Ok, I've read the FAQ: http://trac.osgeo.org/gdal/wiki/FAQRaster#HowcanIcreateablankrasterbasedonavectorfilesextentsforusewithgdal_rasterize I've executed this code with no problems in a Mac, with Leopard. I've used

[gdal-dev] -update -append -f kml and -sql options for time series?

2009-02-02 Thread Jeff Hamann
I have no idea where to send this and after signing up for the another list server, I thought I might try here. Let me first say that I have been using the heck out of gdal, ogr2ogr, and postgis for a few days now to generate kml files with relative ease, using commands like: ogr2ogr -f kml hi

Re: [Gdal-dev] KML with descriptions from Postgis Views via ogr2ogr

2009-02-02 Thread Georges Moes
Thanks for your quick reply, I'll have a look at the KML-page, maybe I'll find out what is wrong with my kml-file. I know that postgis offers the new function asKML(), but I still work with postgresql 8.2 and the older version of postgis where this function isn't yet available. It looks, as it s

Re: [Gdal-dev] KML with descriptions from Postgis Views via ogr2ogr

2009-02-02 Thread Andreas Neumann
Hi Georges, I usually generate my KML files with a scripting language like PHP or Perl. It gives you more fine-grained control over the structure and content of the KML as opposed to "automatic" conversions like ogr2ogr or FME. It might be useful to post your KML somewhere if you want to have com