Zum Umrechnen der Farbcodes empfiehlt sich http://www.farb-tabelle.de/de/farbtabelle.htm
Im Layers*Plugin.xml werden RGB-Codes verwendet, dagegen im Clay als 24-bit Dezimalzahl.
ray
Zum Umrechnen der Farbcodes empfiehlt sich http://www.farb-tabelle.de/de/farbtabelle.htm
Im Layers*Plugin.xml werden RGB-Codes verwendet, dagegen im Clay als 24-bit Dezimalzahl.
ray
Zum Umrechnen der Farbcodes empfiehlt sich http://www.farb-tabelle.de/de/farbtabelle.htm
Im Layers*Plugin.xml werden RGB-Codes verwendet, dagegen im Clay als 24-bit Dezimalzahl.
ray
I have following remark:
If two maps are active: (1) VMAP and (2) MPVF, always the (1) is primary (does not matter on the maps' order).
It seems that VMAP predominates over MPVF in case of POI's search categories... (as well as routing).
Do you know how to display and search the MPVF POI's if the abovementioned situation exists (2 maps subsequently active)???
Greetings,
Marek
Hi Marek,
afaik actually the only way is to close the VMAP
But an open routable MPVF has a effect to the system.
I had some crashes with TwoNav 2.6 with open VMAP and an open routable MPVF.
I 'm sure the crashes comes from the influence of the MPVF, because one crash was exactly at the border of the MPVF.
Meiner Meinung nach gibt es eine Wechselwirkung zwischen VMAP und routbarer MPVF, auch wenn die VMAP zum routen genommen wird.
Ich hatte mit TwoNav 2.6 bei autorouten mehre Abstürze.
Ich bin mir halbwegs sicherlich das es am Einfluss der MPVF liegt, weil ein Absturz genau an der Kartengrenze der routbaren MPVF passiert ist.
Ray
Hallo,
ich habe mir die Polen-Daten von Geofabrik runtergeladen und möchte eine Vektorkarte erzeugen (nicht unbedingt routbar).
Der Import von osm funktioniert noch, es erscheint ein Fenster, indem Kalibrierdaten zusammengefasst sind und eine Aufforderung zum Speichern als MPV.
Nach dem dieses bestätigt wird, erscheint das Fenster im Anhang.
Ich habe über eine Stunde gewartet, passiert da noch was ? Mein Rechner ist nicht so modern...
Wenn man abbricht kommt die Fehlermeldung "Thread antwortet nicht".
Ich bin für Hinweise dankbar...
Viele Grüße,
Frank
Hallo Frank,
Der Import von osm funktioniert noch, es erscheint ein Fenster, indem Kalibrierdaten zusammengefasst sind und eine Aufforderung zum Speichern als MPV.
du gehst anscheinend über Menu>Maps>import Maps
Dieser Weg funktioniert afaik nicht.
Was gehen sollte ist über Menu>Maps>open Maps
@Pinin, ist es möglich, z.B. deine Deutschland-MPVFs (bzw. DACH) so zu erzeugen, dass ein Routing über Kartengrenzen hinweg in TwoNav (auf dem Sportiva) möglich wird?
Grüße, Lars.
Nein,
die dafür letzlich nötigen externen Routingknoten , wie sie z.B. bei Garminkarten verwendet werden gibt es bisher im MPVF nicht.
Wie macht es Compe bei den VMAPs, weist du das zufällig?
ray
Nein,
Vermutlich wird es dort aber auch über solche Verbindungsknoten mit eindeutiger ID gehen, was dann auch der Grund ist weshalb bei Karten aus unterschiedlichen Versionen nicht über die Kartengrenzen geroutet werden kann.
Dear Sardinien!
I am writing in English as German quite bad. I am from Ukraine.
Your routable map of Ukraine (post http://www.naviboard.de/vb/showpost.php?p=426219&postcount=1) works fine for TwoNav 2.2.5 Lowrance Endura Safari.
I decided to prepare your technology own routed map of Ukraine.
The sources OSM maps for Ukraine are
- http://download.geofabrik.de/europe.html
- http://gis-lab.info/projects/osm_dump/index.html
All actions I performed strictly according to your technique
http://www.naviboard.de/vb/sho…php?p=426645&postcount=46
For example, I used
osmfilter.exe ua.osm --keep="highway= or places= or POIs=" -o=ua_h.osm
Yours instruction
osmfilter.exe germany.osm --keep="highway= and ref=B*" -o=bundesstrassen-netz.osm
does not work - the "key ref=B*" is not available in osmfilter.
But my result (ua_h.MPVF) routable map of Ukraine (all actions I performed strictly according to your technique) not works for TwoNav 2.2.5 Lowrance Endura Safari.
TwoNav (when I choose my routable map of Ukraine - ua_h.MPVF) hangs.
But TwoNav (when I choose Yours routable map of Ukraine - ukraine.MPVF from https://www.dropbox.com/sh/c72bpk39rhapzai/yTiBdpQucS) works fine.
What could be the reason?
I also used CompeGPS Land 7.5.3.
Maybe the problem in LayersOSMPlugin.xml or tags OSM?
Help me.
I hope your experience.
Thanks in advance.
Hello shchet,
osmfilter.exe germany.osm --keep="highway= and ref=B*" -o=bundesstrassen-netz.osm
does not work - the "key ref=B*" is not available in osmfilter.
What "does not work" mean? You got an error message or simply no resulting data?
Depending on the input data you may not get any data.
For example:
if in your inputdata are no valid tag/value pairs you will not get any data in your output file.
highway= AND ref=B* => both has to be fullfilled.
Probably Ukraine data doesn't contain ref=B* tag/value, so these condition will not fullfilled,
which means the whole condition will not be fullfilled and no data will be written to output.
But my result (ua_h.MPVF) routable map of Ukraine (all actions I performed strictly according to your technique) not works for TwoNav 2.2.5 Lowrance Endura Safari.
What "does not work" mean? Error message while opening, loading the map? empty map?....
Is the resulting map visible in CompeLand?
Have you tested newer Version of Twonav?
Oh, papaluna! Thanks for the quick response!
On
http://wiki.openstreetmap.org/wiki/Osmfilter
I have not found definition of "ref" key and took such a conclusion.
which means the whole condition will not be fullfilled and no data will be written to output.
Exactly. Now it is clear (accessibly ). Thank you.
I successfully used in my experiments
osmfilter.exe ua.osm --keep="highway= or places= or POIs=" -o=ua_h.osm.
What "does not work" mean? Error message while opening, loading the map? empty map?....
In detail
1) The resulting (not routable, without call osmfilter.exe) map of Ukraine (only converted from OSM) - ua.MPVF - works fine for TwoNav 2.2.5.
2) The resulting routable map of Ukraine - ua_h.MPVF - very-very long time loading for TwoNav 2.2.5. After that TwoNav 2.2.5 very slowly working.
Routable functionality can not be verified/
TwoNav "hanging" - so say IT specialists in Ukraine. It is no Error message, no empty the map.
After such an event only one way - reboot Safari.
Is the resulting map visible in CompeLand?
The resulting routable map of Ukraine - ua_h.MPVF - is visible and is functional in CompeGPS Land.
Have you tested newer Version of Twonav?
I am testing this map of Ukraine - ua_h.MPVF - in TwoNav 2.9.2 on android.
Everything works fine.
But my device is Lowrance Endura Safari with WinCE 5.0.
Available for me TwoNav 2.9 on Safari is free edition. I will check the availability of this feature on free TwoNav 2.9 and inform You.
Your routable map of Ukraine (presented on this forum) works fine. But my result ...
Maybe I make mistakes? May be I do not according to your technique?
It is clear. Everything changes. OSM changes also.
May be osmfilter.exe requires additional keys?
Your respected forum have accumulated experience. TwoNav is little known to old USSR. Only few people learn TwoNav and basically learn by your nice experience.
Once again thanks for the quick response!
Hi Shchet,
2) The resulting routable map of Ukraine - ua_h.MPVF - very-very long time loading for TwoNav 2.2.5. After that TwoNav 2.2.5 very slowly working.
Routable functionality can not be verified/
How big is the map?
As MPVF isn't a really fast format, usually maps >100MB might be really slow in loading and rendering.
And may be that 2.2.5 is slower too(sorry don't remember it after 3 years)
The resulting routable map of Ukraine - ua_h.MPVF - is visible and is functional in CompeGPS Land.
same map?
Ok. CompeLand on PC has much more computing power compared to a device like your Lowrance Safari.
Available for me TwoNav 2.9 on Safari is free edition. I will check the availability of this feature on free TwoNav 2.9 and inform You.
Afaik it's no more possible using your own masp in free version.
Maybe I make mistakes? May be I do not according to your technique?
How should we know without your map?
Did you apply the CLAY attached in post here http://www.naviboard.de/vb/sho…php?p=426645&postcount=46
(zip at end of page).
Hi, Papaluna,
How big is the map?
The resulting routable map of Ukraine - ua_h.MPVF - is 43Mb
Unfortunately I do not understand German (post http://www.naviboard.de/vb/showpost....5&postcount=46)
"2. beiliegendes clay File auf den Namen der ****.osm umbennen"
What should I do?
1) rename
a) "OSM MAP Name.clay" to "OSM MAP Name.osm"?
b) "OSM MAP Name.clay" to "ua_h.osm"? - in same place (directory) as my origin file "ua_h.osm" it's not impossible
2) open from CompeGPS Land renamed clay file (OSM MAP Name.osm or ua_h.osm)?
May be a bug here?
How should we know without your map?
I can supply resulting files
ua_h.MPVF and ua_h.clay.
But do not think that their analysis will clarify something.
The sources OSM maps for Ukraine are
- http://download.geofabrik.de/europe.html
- http://gis-lab.info/projects/osm_dump/index.html.
...
When I deleted in TwoNav the file "ua_h.clay", then map (ua_h.MPVF) and routing function became available. The map however does not look very pretty.
Maybe I should better understand what it means Clay file?
What can you advise a beginner?
Hello shchet,
"2. beiliegendes clay File auf den Namen der ****.osm umbennen"
This simply means to rename the file names prefix to your maps name prefix
Example:
your maps file name => xyz.MPVF
CLAY file name => OSM MAP Name.clay
so rename OSM MAP Name.clay to xyz.clay
Note: This is only important if you want that the CLAY-file is loaded together with the MPVF map if you open the map.
We distinguish between two modes of CLAY- files usage
(CLAY-file => CustomLAYer-file)
CLAY-files only applies to vectorial map types.
1. Change of map appearance without need of recreation of map
If there exist a CLAY-file with the same name-prefix like the map file you open, than CGPSL or Twonav applies some(not all) settings inside the CLAY-file to the map.
This way you can change the appearance of the map without the need to recreate the map( a bit similar like TYP-file for Garmin maps)
Note: name of CLAY-file is important
2. Apply a set of settings to imported OSM
LayersOSMPlugin.xml defines how .OSM-data file will be imported to CGSPL(CompeLand).
You can change it if you wanna change the settings e.g assign a different image to a POI, change the color of lines...
But without a visualization, a kind of wysiwyg its hard to do that this way. Usually you only add or remove whole layer-entries in that file.
Once you imported the data you decide if you wanna keep the default design or if you change it. After you made your changes(removing unwanted layers, changing colors, line types...) you can save this as CLAY-file.
Yo can do this in CGPSL by:
data tree=> right click mouse button on the map "Layers" entry => Save layer as => your CLAY-file name
This CLAY-file( or every other clayfile you want, maybe from a friend) you can use to configure a map data import next time you do it.
So once you created this CLAY-file, it keeps your configuration of your map.
To apply this with CGPSL after next import of .osm-Data:
data tree=> right click mouse button on the map "Layers" entry => Import layers file
Note: in this case, the name of CLAY-file doesn't matter.
When I deleted in TwoNav the file "ua_h.clay", then map (ua_h.MPVF) and routing function became available.
can't reproduce it with my maps
I can supply resulting files
ua_h.MPVF and ua_h.clay.
But do not think that their analysis will clarify something.
for example i can check the effect of clay on routing/not routing
The map however does not look very pretty.
it's up to you to adjust the design e.g. with CLAY-file either after import or later while using(see exp. above)
Available for me TwoNav 2.9 on Safari is free edition. I will check the availability of this feature on free TwoNav 2.9 and inform You.
Maybe interessting for you:
Actual you can get Twonav multiplatform Christmas 50% off promotion
http://en.compegps.com/2013-advent-calendar
IMPORTANT: Twonav Multiplatform(WinCe,Android,PC) ONLY from CompeGPS site
Hi, Papaluna!
Thanks for the detailed and constructive advice. The results are reported.
Thank you also for a really interesting proposal Twonav multiplatform Christmas.
Hi, Papaluna!
Had to struggle:)))
The whole problem is the following.
Consider the situation for {U34} "Polygons".
If you take the edition of LayersOSMPlugin.xml files for different versions of CompeGPS Land, in them we see the following
- v.7.6.1 - <layer id="Polygons" name="{U34}" layerid="27"/>
- v.7.5.3 - <layer id="Polygons" name="{U34}" layerid="27"/>
- v.7.4 - <layer id="Polygons" unpaved="false" ramp="false" roundabout="false" tunnel="false" parent_layer_id="-1" route_param="false" height="-9999" max_speed="0" usable_routing="0" transparency="-1" line_type="-1" icon="" name="{U34}" real_thickness="0" pixel_thickness="1" far_zoom="0" near_zoom="0" fill_color_b="0" fill_color_g="0" fill_color_r="0" color_b="0" color_g="0" color_r="0" visible="1" type="0" layerid="1000"/>
- v.7.3.1 - <layer id="Poligons" unpaved="false" ramp="false" rondabout="false" tunel="false" parent_layer_id="-1" route_param="false" height="-9999" max_speed="0" usable_routing="0" transparency="-1" line_type="-1" icon="" name="{U34}" real_thickness="0" pixel_thickness="1" far_zoom="0" near_zoom="0" fill_color_b="0" fill_color_g="0" fill_color_r="0" color_b="0" color_g="0" color_r="0" visible="1" type="0" layerid="1000"/>
On the example of "Poligons" see that
layerid="27" - for v.7.5.3 and v.7.6.1
layerid="1000"- for another versions v.7.4 and v.7.3.1
Opens my clay file ua_h.clay and see
Layer0=27,{U34},0,0,1,0.0000,-1.0000,-1,1,-1.0000,0.0000,,-1,0,0.0000,-1,0,0,1,FFFFFFFFFFFFFFFF,0,0.0000,0,0
i.e. for {U34} layerid="27"
Next opens clay file "OSM MAP Name.clay" and see
Layer0=1000,{U34},0,0,1,0.0000,-1.0000,-1,1,0.0000,0.0000,,-1,0,0.0000,-1,1,0,1,FFFFFFFFFFFFFFFF,0,0.0000,4294967295,4294967295
i.e. for {U34} layerid="1000"
For ukraine.clay (from https://www.dropbox.com/sh/c72bpk39rhapzai/yTiBdpQucS) we also see
Layer0=1000,{U34},0,0,0,0.0000,-1.0000,-1,1,0.0000,0.0000,,-1,0,0.0000,-1,1,0,1,FFFFFFFFFFFFFFFF,0,0.0000,0,0
i.e. for {U34} layerid="1000"
Thus the hypothesis that TwoNav 2.2.5 does not work (does not "understand") clay files such as new tags layerid = "27".
(I previously wrote that my routable map file ua.MPVF without clay file works well).
And what then shall I do for TwoNav 2.2.5?
:)))
On the basis of this hypothesis, I copied the file LayersOSMPlugin.xml from v.7.4 in my working version v.7.5.3.
Then run a complete set of actions (all actions I performed strictly according to your technique -
http://www.naviboard.de/vb/sho…php?p=426645&postcount=46 - including preparation "OSM MAP Name.clay") to prepare a routed map.
Then checked the performance routable map with "OSM MAP Name.clay" on TwoNav 2.2.5.
The result is positive - it works!
The only difference between my new routable maps for Ukraine of the proposed forum map ukraine.MPVF (from https://www.dropbox.com/sh/c72bpk39rhapzai/yTiBdpQucS) in a large number of new facilities.
My opinion - routable maps for TwoNav 2.2.5 should be easy.
What advice can you give to clean objects like osmfilter.exe
osmfilter.exe ua.osm - keep = "highway = or places = or POIs ="-o = ua_h.osm
???
What do you think why CompeGPS changed tag values ?
What do you think why the old TvoNav not understand the new tag only in clay file for routable map (for not routable map clay file does not affect the functionality) - it's just codes, without semantics?
This result was made possible only thanks to your, Papaluna, tips.
Now I understand what clay file and how it can work.
Thank you, Papaluna.