Hello all, I have been playing a bit with the recently released version
1.5.0 and I have noticed what seems to be a change in the way some maps are
dealt with, and also, that some of the maps for Spain had a wrong
projection and/or SRS, so data was shifted over the maps.

First, it seems since the last few versions you can no longer load TMS type
maps from "Load map" and XML files the way it was possible before. Now,
when you try to load "Google Satellite" from a XML file, you get:

        Failed to read: /tmp/XMLs/frmt_tms_google_satellite.xml
        line 21, column 52:
         error occurred while parsing reference

However, changing the ServerUrl cookies for those used in the recent "Add
TMS map..." dialog, works perfect. I guess this is by design, but it is an
unexpected change to some users.


I don't know if the following is a byproduct of the above, but none of the
Google "Load Online Map" definition no longer work. They all fail with:

        Unknown projection epsg:900913

And after looking at the XML file QLGT downloads, it looks like even if the
code path this time is different, it all has to do with "lack" of TMS
support. If those online maps don't work and can't be made to work by
default, maybe we should remove them. I don't know if we should create them
by default as the OpenStreetMap TMS-based maps seem to be though.


On a final note, I (well, another guy :) ) realized there was a projection
problem on some of the WMS map definitions that cover Spain, so when they
tried to load some GPX files, waypoints and tracks were shifted with
respect to the maps. I have checked all of them and corrected the
projections where needed, and created a common header for all of them,
including the <Title> and <Copyright> tags for all. Please find the maps
definitions attached, and replace the ones in the server with this ones.

REMOVE                          REPLACE WITH
Espana_IGN.xml                  Spain_IGN_Base.xml
Espana_Topo25.xml               Spain_IGN_Carto.xml
Espana_Otho.xml                 Spain_IGN_Ortho.xml

They are the same maps but, hopefully, with correct projections, better
file names and XML tags in them.


Another two minor things I have noticed when looking at the XML files
stored after downloading map definitions via "Load Online Map":
1. It looks like national characters are not displayed OK in the map pane,
   is it necessary to encode those characters in a special way in the XML file?
2. The XML files on disk are "de-prettyfied", so if the original file was
   well indented, that is lost after storing the file. Not a deal breaker
   for most users, but quite unconvenient for those minority that would like
   to apply further customizations to the files


Hope the above is useful to make QLGT even a better software than it
already is. Thank you to all contributors.

Cheers.

-- 
Jose Luis Domingo Lopez
Linux Registered User #189436     Linux Kubuntu 11.10 (Linux 
3.0.0-22-generic-pae)

Attachment: Spain_IGN_Base.xml
Description: XML document

Attachment: Spain_IGN_Carto.xml
Description: XML document

Attachment: Spain_IGN_Ortho.xml
Description: XML document

Attachment: signature.asc
Description: Digital signature

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Qlandkartegt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users

Reply via email to