Hi Mitxel,

Thanks for the nice tutorial. You might want to open a Tips & Tricks section in 
the Wiki to conserve it and to 
pimp it up with a few screenshots.

If you switch the background to transparent you have to consider another fact. 
Most maps do not have a 
100% cover with polylines. If there is nothing, you see background. If you have 
another map loaded, e.g. 
the ArcGis Satellite map you will see it if the background is transparent. This 
will result into a very peculiar 
view. 

Painting polygons over all maps at one time won't really solve the problem as 
still polylines from different 
maps will cover each other in a way you do not want. Imho cutting the maps at 
the borders is the only 
clean solution. I hope one day this is added to the free tools. 

But until then we have to live with workarounds. And collecting them is a good 
idea.

Oliver


> Hi all
> 
> I have read your messages about the problem of overlayingareas hiding the
> contiguous map when several img maps are loadead at the same time.
> 
> I have downloaded freizeitkarte-osm IMG files of Spain, Portugal, and
> Pirineos, and after being playing a bit, here is a way to avoid the
> overlaying problem at the country borders when all of them are displayed at
> the same time. A bit of "cooking" is necessary, but once the process is
> known it can be done very fast.
> 
> 1-Extract the typ file from the IMG file with GmapTool
> 
> 2-Edit the TYP file (e.g. with TYPViewer.exe) and set to transparent the
> Background (4b) and the Land (3a) Polygons.
> 
> 3-Replace the original TYP with the new TYP in the IMG file with Gmaptool.
> 
> notice that:
> -the overlaying areas in these maps are Background and Land, but in other
> maps could be different
> -You will want to save the edited .TYP with a different name. The name must
> be 8 characters plus '.TYP'
> 
> At this point, if you load the maps, the problem seems to be solved, and it
> will be done in most cases, but not completely, because in some cases
> (e.g.with the pirineos map that cover a large area of France and Spain) not
> only the background and Land polygons are overlaying,  other areas like
> woods will be overlaying too, so they will be hiding text and lines of the
> contiguous map in a large area.
> 
> We can solve this replicating the maps and loading two versions, one will
> be used as base layer for displaying the areas and another one for
> displaying lines and text above all the others. To do so:
> 
> 4-In your map folder, and for each map you want to replicate, create a link
> to the IMG file. (e.g. create a link pointing to pirineos.IMG and rename it
> as to-pirineos.IMG). In this way it will be a different map for QMS but the
> data (and the Mb) will not be duplicated in your disk.
> 
> 5-In QMS click on 'Setup Map Paths' and then Ok to refresh the map list to
> see the new ones.
> 
> 6-In the map window change the order of the maps placing first all the maps
> that will be used to show the areas with the 'area' checkbox activated
> only, and above them (this is below in the map list) place the replicated
> ones with the 'lines' and 'points' checkboxes activated only.
> 
> This will make QMS drawing first the areas of all the maps, and then the
> lines and points of all the replicated maps.
> 
> In the case of two contiguous maps (eg: Germany Austria) steps 1 to 3 must
> be done on both  IMG, and steps 4 to 6 will be necessary only for one of
> them. So you can place the maps like this:
> 
> Germany (areas)
> Austria (areas, lines, points)
> to-Germany (lines, points)
> 
> 
> ------
> Some links
> For extracting and replacing typ files with gamptool:
> http://www.gmaptool.eu/en/content/gmaptool
> another howto for replacing the typ (spanish):
> http://www.elgps.com/foroGPS/viewtopic.php?f=11&t=9491
> For editing the TYP:
> Typviewer (for windows, and I have not been able to run it with wine):
> https://sites.google.com/site/sherco40/
> 
> -------------------------
> 
> All this brings me a thought(may be could be considered for for future
> versions):
> 
> Now QMS draws all the elements (areas, lines, points) of an IMG map, and
> goes on with the next one.
> 
> Perhaps drawing first the areas of all the maps, and then going on with the
> lines and points will solve the overlaying issue.
> To be more precise , it will be necessary to draw first the Background (4b)
> and the Land (3a) areas, then the other areas, and finally the lines and
> the points. But this is not sure, 'Background' is usually assigned to (4b)
> in all maps, but what will be in (3b) is not so clear. Finally, all depends
> on how the maps are structured, and each "cooker" has a different recipe.
> 
> Hope it helps
> 
> Mitxel

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Qlandkartegt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users

Reply via email to