[FWTools] Invalid cast from (NULL) pointer to GvData on opening a
new view
ecollage at gmail.com
ecollage at gmail.com
Wed May 23 00:24:55 EDT 2007
Hi All,
I'm working on a tool file, and need to open a new view based on a layer
selection-changed signal (the user clicks on a shape and a new view should
open with an image listed as part of the shapefile properties). I'm using
the statement:
View2 = self.app.new_view(), but am getting an error that says:
Gtk-WARNING **: Invalid cast from <NULL> pointer to 'GvData'
Any ideas on how can I fix this or where I'm going wrong?
Thanks
Sujoy
-----Original Message-----
From: fwtools-bounces at lists.maptools.org
[mailto:fwtools-bounces at lists.maptools.org] On Behalf Of
fwtools-request at lists.maptools.org
Sent: Tuesday, May 22, 2007 9:31 PM
To: fwtools at lists.maptools.org
Subject: FWTools Digest, Vol 31, Issue 8
Send FWTools mailing list submissions to
fwtools at lists.maptools.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.maptools.org/mailman/listinfo/fwtools
or, via email, send a message with subject or body 'help' to
fwtools-request at lists.maptools.org
You can reach the person managing the list at
fwtools-owner at lists.maptools.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of FWTools digest..."
Today's Topics:
1. GRIB support in GDAL (Kolberg Sjur A)
----------------------------------------------------------------------
Message: 1
Date: Mon, 21 May 2007 18:17:15 +0200
From: Kolberg Sjur A <Sjur.A.Kolberg at sintef.no>
Subject: [FWTools] GRIB support in GDAL
To: FWTools at lists.maptools.org
Message-ID:
<AC3559779B145744A3FA06C52D00BD0F02102E41 at SINTEFXCH01.sintef.no>
Content-Type: text/plain; charset="us-ascii"
Hello, list!
I noticed the new GRIB support introduced with FWtools 1.2.1, somewhat
vaguely communicated on the GDAL website, so I tried one of my files.
It doesn't go far, GDALOpen() does not abort, but produces a GDALDataset
with attributes that make little sense:
(poDriver=0x00000000, nRasterXsize=0, nRasterYsize=8 and
nBands=31083872...)
GDALINFO is at least able to recognise this as a GRIB file; output
below.
I tried to attach the file, got stuck in size limits, happy to resend on
request.
Is GRIB a format with a myriad of dialects and conventions, or does
anyone know what might be missing here?
The behaviour is the same on FWTools 1.2.2 and 1.3.1
I am on Windows XP.
Best regards,
Sjur K :-)
J:\<verylongpath>\>gdalinfo h10.2001013112.prc
Undefined parameter table (center 88-0 table 128).
Please email arthur.taylor at noaa.gov about adding this table.
to his 'degrib1.c' and 'grib1tab.c' files.Undefined parameter table
(center 88-0
table 128).
Please email arthur.taylor at noaa.gov about adding this table.
to his 'degrib1.c' and 'grib1tab.c' files.Undefined parameter table
(center 88-0
table 128).
Please email arthur.taylor at noaa.gov about adding this table.
to his 'degrib1.c' and 'grib1tab.c' files.Undefined parameter table
(center 88-0
table 128).
Please email arthur.taylor at noaa.gov about adding this table.
to his 'degrib1.c' and 'grib1tab.c' files.Undefined parameter table
(center 88-0
table 128).
Please email arthur.taylor at noaa.gov about adding this table.
to his 'degrib1.c' and 'grib1tab.c' files.Undefined parameter table
(center 88-0
table 128).
Please email arthur.taylor at noaa.gov about adding this table.
to his 'degrib1.c' and 'grib1tab.c' files.Undefined parameter table
(center 88-0
table 128).
Please email arthur.taylor at noaa.gov about adding this table.
to his 'degrib1.c' and 'grib1tab.c' files.Undefined parameter table
(center 88-0
table 128).
Please email arthur.taylor at noaa.gov about adding this table.
to his 'degrib1.c' and 'grib1tab.c' files.Warning: Inside
GRIB2Inventory, Messag
e # 9
ERROR: Ran out of file reading SECT0
There were 26 trailing bytes in the file.
ERROR 6: Failed to initialize PROJ.4 with `+proj=longlat +a=0 +b=0
+no_defs '.
major axis or radius = 0 or not given
Driver: GRIB/GRIdded Binary (.grb)
Files: h10.2001013112.prc
Size is 0, 0
Coordinate System is:
GEOGCS["Coordinate System imported from GRIB file",
DATUM["unknown",
SPHEROID["Spheroid imported from GRIB file",0,"-1.#IND"]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433]]
Origin = (0.000000000000000,0.000000000000000)
Pixel Size = (0.000000000000000,0.000000000000000)
Corner Coordinates:
Upper Left ( 0.0000000, 0.0000000)
Lower Left ( 0.0000000, 0.0000000)
Upper Right ( 0.0000000, 0.0000000)
Lower Right ( 0.0000000, 0.0000000)
Center ( 0.0000000, 0.0000000)
Band 1 Block=0x1 Type=Float64, ColorInterp=Undefined
Description = 0[m] HTGL (Specified height level above ground)
Band 2 Block=0x1 Type=Float64, ColorInterp=Undefined
Description = 0[m] HTGL (Specified height level above ground)
Band 3 Block=0x1 Type=Float64, ColorInterp=Undefined
Description = 0[m] HTGL (Specified height level above ground)
Band 4 Block=0x1 Type=Float64, ColorInterp=Undefined
Description = 0[m] HTGL (Specified height level above ground)
Band 5 Block=0x1 Type=Float64, ColorInterp=Undefined
Description = 0[m] HTGL (Specified height level above ground)
Band 6 Block=0x1 Type=Float64, ColorInterp=Undefined
Description = 0[m] HTGL (Specified height level above ground)
Band 7 Block=0x1 Type=Float64, ColorInterp=Undefined
Description = 0[m] HTGL (Specified height level above ground)
Band 8 Block=0x1 Type=Float64, ColorInterp=Undefined
Description = 0[m] HTGL (Specified height level above ground)
J:\<verylongpath>\>
> -----Original Message-----
> From: fwtools-bounces at lists.maptools.org
> [mailto:fwtools-bounces at lists.maptools.org] On Behalf Of
> Frank Warmerdam
> Sent: 9 februar 2007 07:36
> To: FWTools
> Cc: Jason Birch; nate.johnson at baronservices.com
> Subject: [FWTools] FWTools 1.2.1 Released
>
> Folks,
>
> A quick new cut:
> o I've added the GRIB driver on windows and linux - still
> just rough, but
> suitable for some experiments.
> o I've added the up to date nearblack utility.
> o Upgraded to GD 2.0.34 (linux only).
>
> http://www.gdal.org/dl/fwtools/FWTools121.exe
> http://www.gdal.org/dl/fwtools/FWTools-linux-1.2.1.tar.gz
>
> Best regards,
> --
> ---------------------------------------+----------------------
> ----------
> ---------------------------------------+------
> I set the clouds in motion - turn up | Frank Warmerdam,
> warmerdam at pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam
> and watch the world go round - Rush | President OSGeo,
> http://osgeo.org
>
> _______________________________________________
> FWTools mailing list
> FWTools at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/fwtools
> http://fwtools.maptools.org/
>
------------------------------
_______________________________________________
FWTools mailing list
FWTools at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/fwtools
End of FWTools Digest, Vol 31, Issue 8
**************************************
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.467 / Virus Database: 269.7.6/813 - Release Date: 5/20/2007
7:54 AM
More information about the FWTools
mailing list