Hi Marcus,

strange, especially as I tested the code with all my maps. OSRIsSame() proved 
to be very robust and solved compares with different strings that represent the 
same projection and datum.

Anyway I changed the compare a bit. Doing the old string compare first, 
OSRIsSame() if that fails. It's in SVN.

Oliver

-------- Original-Nachricht --------
> Datum: Thu, 16 Jun 2011 18:30:58 +0200
> Von: Marcus Dietrich <[email protected]>
> An: [email protected]
> Betreff: Re: [Qlandkartegt-users] Release V 1.2.0

> Hi,
> 
> Am 15.06.2011 23:10 schrieb Oliver Eichler:
> >[...]
> >
> > Request #287:
> > Improve projection compare for DEM
> >
> after checking out rev 2837 from svn I had this error message starting 
> QLandkarteGT the first time
> 
> "Die Projektion der DEM Daten ist nicht die selbe wie die der Basiskarte.
> 
> Karte:  +proj=merc +lon_0=0 +k=1 +x_0=0 +y_0=0 +a=6378137 +b=6378137
> +units=m 
> +no_defs
> 
> DEM:  +proj=merc +lon_0=0 +k=1 +x_0=0 +y_0=0 +a=6378137 +b=6378137
> +units=m 
> +no_defs"
> 
> and DEM overlay does not work anymore. Strange thing is, that until I
> confirm 
> the error message with Cancel, I can see the map with shades as it was
> before. 
> Once I move the map it is falling back to plain style without height 
> information ...
> 
> Any clue?
> 
> Regards,
> Marcus

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Qlandkartegt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users

Reply via email to