thuban-1.1.0-4.exe
Bernhard Reiter
bernhard at intevation.de
Mon May 15 10:00:09 CEST 2006
Am 14. May 2006 um 17:44:59 schrieb Bernhard Reiter:
> Am 14. May 2006 um 16:18:15 schrieb Bernhard Reiter:
> > Pre120 Load session iceland_sample_raster.thuban
> > G020-raster-display, (Pre120)
> > Expected result: iceland with raster background should be shown.
> >
> > Failed: No Image shown.
>
> Tried to track this down further a bit,
> it seems to be related to proj in some way.
> Looking at the error message again:
> C:\Programme\Thuban>c:\python24\python.exe thuban.pyw
> No thubanstart module available
> ViewPort.set_view_transform: ZeroDivisionError, scale = 0.0
Calling gdalwarp.ProjectRasterFile("C:\Programme\Thuban\Data\iceland\island.tif"
,
"+proj=latlong +to_meter=0.017453 +ellps=clrk66 ","+proj=utm +zone=27 +ellps=clrk66 "
,(0.0, -287.0, 363.0, 0.0),[0, 0],(363, 287),1)
Here is the similiar output from a GNU/Linux version:
Calling gdalwarp.ProjectRasterFile("/mobilehome/bernhard/hacking/thuban/root/trunk/thuban-debug/Data/iceland/island.tif",
"+proj=latlong +to_meter=0.017453 +ellps=clrk66 ","+proj=utm +zone=27 +ellps=clrk66 "
,(322003.1320390497, 6979739.6902664267, 876022.18918293528, 7444824.1092898464),[0, 0],(380, 319),5)
So the infection has happened earlier
as the extend values are significantly different.
Check _transform_bbox
Windows:
Entering _transform_bbox <bound method Projection.Forward of Universal Transverse Mercator: ['proj=utm', 'zone=27', 'ellps=clrk66']>
(-38.083834311187623, 0.0, 0.0, 393.99339649767938)
(-1430038.2379767266, 0.0, 1.#INF, 1.#INF)
GNU/Linux:
Entering _transform_bbox(<bound method Projection.Forward of Universal Transverse Mercator: ['proj=utm', 'zone=27', 'ellps=clrk66']>,(-24.549588538116822, 63.282272361329014, -13.491440877527877, 66.565551332131932))
...will return 322003.132039 7021768.75421 876022.189183 7402795.04535
Hmm, this function seems to want geographic coordinates and
on Windows there is 393 which is not a legal value.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20060515/7a97b3e7/attachment.bin
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)