Hi,

the page of Computerteddy is a little bit confusing. I used the file 
world.tgz. After downloading planet_neu.tgz I could import the map 
successfully. So it seems that the data into the archive world.tgz
is somewhat broken.

I digged a title bit deeper in the world.tgz and found the following. At 
CMapTDB.cpp the variables south contain the value -3.141593 and north 
-1.570796. As a result the following string "+proj=merc +lat_ts=-134 
+ellps=WGS84" is passed to pj_init_plus. This results in a return of a 
NULL pointer and pj_errno is set to -24 (lat_ts >= 90)

I am not sure, what are valid parameters, but at least the return value
of pj_init_plus should be checked against NULL to detect broken maps.


Uli

Oliver Eichler schrieb:
> Hi Uli,
>
> huh, big file. Took me more than an hour to download. And I can load
> that map. No crash. However the map is quite flaky. Not sure if that is
> a problem of QLGT or not.
>
> Anyway, looking at you backtrace and at the code (CMapTDB.cpp:238) I
> assumed that the projection string was build badly (line 234). The
> little calculation sets the latitude of true scale to the middle of the
> map. For a world map this is 0°. As I can not reproduce the crash you
> must investigate at this point on your own.
>
> Oliver
>
>>
>> thanks for the great QLandkarteGT, it is getting better and better :-)
>> but i have one problem. I tried to use QLandkarteGT with the world map
>> from Computerteddy
>> (http://wiki.openstreetmap.org/wiki/User:Computerteddy) because I needed
>> some parts of the USA. The first step, selecting "OSM World.tdb" as map
>> works, but takes a very long time probably because of the 21685 files.
>> When I then want to select "OSM World.img" as base map, QlandkarteGT
>> crashes.
>>


-- 
Ulrich Eckhardt                  http://www.uli-eckhardt.de

Ein Blitzableiter auf dem Kirchturm ist das denkbar stärkste
Misstrauensvotum gegen den lieben Gott. (Karl Krauss)

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
QLandkarte-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qlandkarte-users

Reply via email to