Commit: r1140: Added support for extended types.

Version 1140 was commited by markb on 2009-08-19 10:00:27 +0100 (Wed, 19 Aug 2009) Added support for extended types. These are sometimes called '3-byte types' but the upper 8 bits of the type is not encoded in the map objects (just the lower 16 bits) so any non-zero value for the upper byte has the same effect. Further work is needed to encode the extra bytes that specify stuff like depth and colour + all the detail associated with marine lights.

svn commit wrote:
Version 1140 was commited by markb on 2009-08-19 10:00:27 +0100 (Wed, 19 Aug 2009)
Added support for extended types.
These are sometimes called '3-byte types' but the upper 8 bits of the type is not encoded in the map objects (just the lower 16 bits) so any non-zero value for the upper byte has the same effect.
Further work is needed to encode the extra bytes that specify stuff like depth and colour + all the detail associated with marine lights. _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
I did not look into the patch, but does it mean that I could use in my style-file the following: [0x01234 resolution 22]? And then off course add a definition for this type in my typfile. Or is there more that needs to be changed?

Hi Felix,
I did not look into the patch, but does it mean that I could use in my style-file the following: [0x01234 resolution 22]?
And then off course add a definition for this type in my typfile.
Or is there more that needs to be changed?
Actually, my knowledge of extended types is limited. The attached file lists some extended codes. It may not be a complete listing, perhaps more are supported? Note that there are codes allocated for custom points, lines, and areas. Perhaps you can use those? Cheers, Mark

Mark Burton wrote:
Hi Felix,
I did not look into the patch, but does it mean that I could use in my style-file the following: [0x01234 resolution 22]?
And then off course add a definition for this type in my typfile.
Or is there more that needs to be changed?
Actually, my knowledge of extended types is limited. The attached file lists some extended codes. It may not be a complete listing, perhaps more are supported?
Note that there are codes allocated for custom points, lines, and areas. Perhaps you can use those?
Cheers,
Mark
------------------------------------------------------------------------
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev That list is in my eyes just crap when it comes to extended types, as any of those lines / points / polygons will only be shown if defined in typfile, and many others if defined too. I only don't know whether there are any regions that will not be shown, or only shown in Mapsource.
I don't think any 3-byte POI is shown in search, but maybe wrong on this....

2009/8/19 Felix Hartmann <extremecarver@googlemail.com>:
That list is in my eyes just crap when it comes to extended types, as any of those lines / points / polygons will only be shown if defined in typfile, and many others if defined too. I only don't know whether there are any regions that will not be shown, or only shown in Mapsource.
I tested this on a few items. I noticed that marine elements seem to be displayed without requiring a TYP definition. I tried this with some extended buoy types and with the pier/jetty line type. (Tested on an eTrex.) I have not tried to redefine these elements with a TYP file though, so I can't say how or if this is possible. Cheers.

That list is in my eyes just crap when it comes to extended types, as any of those lines / points / polygons will only be shown if defined in typfile, and many others if defined too. I only don't know whether there are any regions that will not be shown, or only shown in Mapsource.
My etrex shows at least some of them.
I don't think any 3-byte POI is shown in search, but maybe wrong on this....
You're wrong because some of the marine pois show up. I don't use a typfile (so just guessing) but why can't you use one to define whatever is needed for stuff with extended types? Cheers, Mark

Mark Burton wrote:
That list is in my eyes just crap when it comes to extended types, as any of those lines / points / polygons will only be shown if defined in typfile, and many others if defined too. I only don't know whether there are any regions that will not be shown, or only shown in Mapsource.
My etrex shows at least some of them.
I don't think any 3-byte POI is shown in search, but maybe wrong on this....
You're wrong because some of the marine pois show up.
I don't use a typfile (so just guessing) but why can't you use one to define whatever is needed for stuff with extended types?
Of course I can and will use one.... Will tryout later (currently waiting for mkgmap to finish compiling europe) I think the marine types are a special case regarding the extended types.
Cheers,
Mark _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Mark Burton wrote:
That list is in my eyes just crap when it comes to extended types, as any of those lines / points / polygons will only be shown if defined in typfile, and many others if defined too. I only don't know whether there are any regions that will not be shown, or only shown in Mapsource.
My etrex shows at least some of them.
I don't think any 3-byte POI is shown in search, but maybe wrong on this....
You're wrong because some of the marine pois show up.
I don't use a typfile (so just guessing) but why can't you use one to define whatever is needed for stuff with extended types?
Cheers,
Mark _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
okay, I got it working. Great. I think we should open a wiki page where we should add what line/poi/polygon types are possible. For lines I think any 0x10??? is working (definitely many more are shown as given in maptk/cgpsmapper documentation). I did not really bugproof this however. It could be possible that while those lines shown, there may be other problems if using the whole range (like 0x80 being identical to 0x40). 0x12??? however does not work in Mapsource. So there seem to be again limitations on what shows up and what does not show up.... Maybe GPS will again behave different. Or does anyone know what types are possible to be selected? Felix

Felix Hartmann <extremecarver@googlemail.com> writes:
I think we should open a wiki page where we should add what line/poi/polygon types are possible.
There is already resources/garmin_feature_list.csv. It would be nice to add to that, so it's in the sources, rather than having a duplicate list that has to stay in sync. That list could be in a different format that gets rendered to html, too.

Hi everybody, just wanted to advertise the list of POIs at http://wiki.openstreetmap.org/wiki/OSM_Map_On_Garmin/POI_Types The purpose of this list is to collect experimental evidence about which POIs are displayed on which units. There are notable differences between the different units. Right now there are entries for the Edge (partially), the eTrex, the nüvi 255, the Oregon and MapSource. If you investigate the POI types on your unit please enter the results there. It would be reasonable to start such a wiki page also for the line and polygon types. The information from those pages can then in turn be used to update resources/garmin_feature_list.csv with the "save" types, that is the types that behave identical on all units. If we don't keep track on which units the types worked and on which they didn't work, we will end up with a list of types that work on *some* units, but not everywhere. Regards Thilo

Quoting Thilo Hannemann <thannema@gmx.de>:
Hi everybody,
just wanted to advertise the list of POIs at http://wiki.openstreetmap.org/wiki/OSM_Map_On_Garmin/POI_Types
The purpose of this list is to collect experimental evidence about which POIs are displayed on which units. There are notable differences between the different units. Right now there are entries for the Edge (partially), the eTrex, the nüvi 255, the Oregon and MapSource. If you investigate the POI types on your unit please enter the results there. It would be reasonable to start such a wiki page also for the line and polygon types.
Regards Thilo I've created a partial list for the GPSMap76Csx though my aim was slightly different (I wanted to understand what symbols the hex codes translated into). Is there any way we can fork this page into separate pages per unit otherwise it will get very unwieldly as more GPSr are added?

Am 19.08.2009 um 22:01 schrieb charlie@cferrero.net:
I've created a partial list for the GPSMap76Csx though my aim was slightly different (I wanted to understand what symbols the hex codes translated into). Is there any way we can fork this page into separate pages per unit otherwise it will get very unwieldly as more GPSr are added?
Yes. The advantage of the current format is that one can easily compare the different units. I'd hate to loose that ability. But I must admit that editing that page isn't nice. What I do is to copy&paste everything into a text editor, edit there and copy the result back. It might help to divide that page into ID ranges, so that there isn't that much text to edit at once. Also the text could be a little smaller and still be readable. So if you have a good idea just do it. Regards Thilo

Quoting Thilo Hannemann <thannema@gmx.de>:
Am 19.08.2009 um 22:01 schrieb charlie@cferrero.net:
I've created a partial list for the GPSMap76Csx though my aim was slightly different (I wanted to understand what symbols the hex codes translated into). Is there any way we can fork this page into separate pages per unit otherwise it will get very unwieldly as more GPSr are added?
Yes. The advantage of the current format is that one can easily compare the different units. I'd hate to loose that ability. But I must admit that editing that page isn't nice. What I do is to copy&paste everything into a text editor, edit there and copy the result back.
It might help to divide that page into ID ranges, so that there isn't that much text to edit at once. Also the text could be a little smaller and still be readable. So if you have a good idea just do it.
Well the obvious solution (to me) would be to create a spreadsheet for the data. The drawback is that you wouldn't be able to view it directly on the openstreetmap website, but that's not really a killer. Charlie

Could some other people please try out whether the overlays and relations file still work with 1140? I have currently the problem that no more routes are visible when compiling maps with 1140. Also overlays file seems to have stopped working.

Hi Felix,
Could some other people please try out whether the overlays and relations file still work with 1140?
I have currently the problem that no more routes are visible when compiling maps with 1140. Also overlays file seems to have stopped working.
Are you using a stock 1140 or do you have other patches applied? I can't think how the extended type stuff could affect overlays or relations. Cheers, Mark

On Thu, Aug 20, 2009 at 12:56 PM, Felix Hartmann<extremecarver@googlemail.com> wrote:
Could some other people please try out whether the overlays and relations file still work with 1140?
Could you send an example of what you are doing in your relations file? I will then see if I can reproduce the problem. Cheers.

Clinton Gladstone wrote:
On Thu, Aug 20, 2009 at 12:56 PM, Felix Hartmann<extremecarver@googlemail.com> wrote:
Could some other people please try out whether the overlays and relations file still work with 1140?
Could you send an example of what you are doing in your relations file? I will then see if I can reproduce the problem.
Cheers.
see my relations file attached. I tried with clean 1140 as well as witch 1140 and continue patch. With 1139 it works fine.... type=route & route=bicycle & network=tcn { name '${ref|subst: |highway-symbol:hbox} ${name}' | '${ref|subst: |highway-symbol:hbox}' | 'tcn ${name}'; apply { set route=bicycle } } [0x06 resolution 20] type=route & route=bicycle & network=lcn { name '${ref|subst: |highway-symbol:hbox} ${name}' | '${ref|subst: |highway-symbol:hbox}' | 'lcn ${name}'; apply { set route=bicycle } } [0x06 resolution 20] type=route & route=bicycle & network=rcn { name '${ref|subst: |highway-symbol:hbox} ${name}' | '${ref|subst: |highway-symbol:hbox}' | 'rcn ${name}'; apply { set route=bicycle } } [0x06 resolution 20] type=route & route=bicycle & network=ncn { name '${ref|subst: |highway-symbol:hbox} ${name}' | '${ref|subst: |highway-symbol:hbox}' | 'ncn ${name}'; apply { set route=bicycle } } [0x06 resolution 18] type=route & route=bicycle & network=icn { name '${ref|subst: |highway-symbol:hbox} ${name}' | '${ref|subst: |highway-symbol:hbox}' | 'icn ${name}'; apply { set route=bicycle } } [0x06 resolution 18] type=route & route=mtb { name '${ref|subst: |highway-symbol:hbox} ${name}' | 'mtbrt ${ref|subst: |highway-symbol:hbox}' | 'mtbrt ${name}'; apply { set route=mtb } } [0x0e resolution 18] type=route & route=mountainbike { name '${ref|subst: |highway-symbol:hbox} ${name}' | 'mtbrt ${ref|subst: |highway-symbol:hbox}' | 'mtbrt ${name}'; apply { set route=mtb } } [0x0e resolution 18] type=route & route=bicycle { name '${ref|subst: |highway-symbol:hbox} ${name}' | '${ref|subst: |highway-symbol:hbox}' | 'bkrt ${name}'; apply { set route=bicycle } } [0x06 resolution 20] type=route & route=ferry { apply { set route=ferry} } [0x1a road_class=0 road_speed=0 resolution 18] type=route & route=hiking { apply { set route=hiking} } [0x3c resolution 20] type=route & route=foot { apply { set route=foot} } [0x3e resolution 20]

Hi Felix, Is this still a problem or did it get better? Cheers, Mark

2009/8/21 Mark Burton <markb@ordern.com>
Hi Felix,
Is this still a problem or did it get better?
Cheers,
Mark _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
No I'm still unable to get routes and overlays to show up on the map. either using 1140 with multiple elements patch (no other patches), nor with clean svn version.

Felix,
No I'm still unable to get routes and overlays to show up on the map.
either using 1140 with multiple elements patch (no other patches), nor with clean svn version.
That's sad. I don't know what you mean by routes or overlays so I can't imagine what the problem is. If you could supply more info about what you are doing, perhaps it will become clear. Is it a styling issue? Related to types? Give me a clue. Is anyone else seeing issues with 1140? Cheers, Mark

2009/8/21 Mark Burton <markb@ordern.com>
Felix,
No I'm still unable to get routes and overlays to show up on the map.
either using 1140 with multiple elements patch (no other patches), nor with clean svn version.
That's sad.
I don't know what you mean by routes or overlays so I can't imagine what the problem is. If you could supply more info about what you are doing, perhaps it will become clear. Is it a styling issue? Related to types? Give me a clue.
Is anyone else seeing issues with 1140?
Cheers,
Mark _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Overlays. I mean the overlays file in the style-files. Before 1139 if you had a line in your lines file saysing for example: highway=footway & highway=cycleway [0x123 resolution 20] you could now define in the overlays file 0x123: 0x2a, 0x0c and both 0x2a and 0x0c were included in the map at the same place. So if your footway looks like 0x0x0x (with 0 being transparent in typfile, and x being a color) and cycleway y0y0y0 (with y being another color), the result would be both footway and cycleway rendered as yxyxyx. routes... ups sorry should have said relations. Anything written to the relations file is not enacted anymore. Is noone else using these features? Thilo, what about you? Are you able to use 1140 as a base?

Hi Felix,
Overlays. I mean the overlays file in the style-files. Before 1139 if you had a line in your lines file saysing for example: highway=footway & highway=cycleway [0x123 resolution 20] you could now define in the overlays file 0x123: 0x2a, 0x0c and both 0x2a and 0x0c were included in the map at the same place. So if your footway looks like 0x0x0x (with 0 being transparent in typfile, and x being a color) and cycleway y0y0y0 (with y being another color), the result would be both footway and cycleway rendered as yxyxyx.
routes... ups sorry should have said relations. Anything written to the relations file is not enacted anymore.
Thanks for spelling this out for me. I'm such an airhead that I didn't even know these features existed! I have looked at the overlay stuff and still can't see why the extended type code should break it so, at the moment, it remains a mystery. I shall keep thinking about it. Cheers, Mark

On Fri, Aug 21, 2009 at 12:43 PM, Felix Hartmann<extremecarver@googlemail.com> wrote:
routes... ups sorry should have said relations. Anything written to the relations file is not enacted anymore.
I was at least able to get some simple items working in the relations file with r1140, for example the following: route=railway_track {apply {add blarg='hello'}} Unfortunately, I have not used relations previously, so I can't comment on how the behaviour has changed. I tried something like the following though, which seemed similar to what you do in your relations file: route=railway_track {apply {add blarg='hello'}} [0x06 resolution 20] This did not work with r1140, but it also did not work when I tried it with an earlier release (1131). Are you using some special patches which may have altered or corrected the behaviour of the relations file? (I, of course, admit that I might be doing things completely incorrectly in my attempts to reproduce the problem.) Cheers.

Hi Mark, great work on implementing the extended types. As for this problem, I don't see it. With a simple style that only includes one line type with overlays it works just fine. Same with relations. Also looking at the code change, there is nothing that appears to touch that area of the styling at all. Felix, I don't mind looking into it, but I will need a lot more information including the complete style, an input file that doesn't work and an example of a road that doesn't work in the new version.
Overlays. I mean the overlays file in the style-files. Before 1139 if you had a line in your lines file saysing for example: highway=footway & highway=cycleway [0x123 resolution 20] you could now define in the overlays file 0x123: 0x2a, 0x0c and both 0x2a and 0x0c were included in the map at the same place. So if your footway looks like 0x0x0x (with 0 being transparent in typfile, and x being a color) and cycleway y0y0y0 (with y being another color), the result would be both footway and cycleway rendered as yxyxyx.
routes... ups sorry should have said relations. Anything written to the relations file is not enacted anymore.
..Steve

Hi Steve,
Mark, great work on implementing the extended types.
Thanks, still more goodies to come as I have now moved on to the encoding of various xtype attributes (depth/height, various colours, buoy/light types, etc.) Making good progress.
As for this problem, I don't see it. With a simple style that only includes one line type with overlays it works just fine. Same with relations.
Also looking at the code change, there is nothing that appears to touch that area of the styling at all.
Yes, I can't see how the xtype stuff could have broken those features.
Felix, I don't mind looking into it, but I will need a lot more information including the complete style, an input file that doesn't work and an example of a road that doesn't work in the new version.
It would be great if you could help there. Cheers, Mark

Am 21.08.2009 um 12:43 schrieb Felix Hartmann:
Is noone else using these features? Thilo, what about you? Are you able to use 1140 as a base?
Hi Felix, sorry, I didn't see that thread earlier. The feature with the relations that you are using was never integrated into trunk. I assume that it is the generate_ways_from_relations.patch that I posted some time ago on this list. I'm using it, but it probably doesn't compile with 1140 right now. Too much has changed. I'm still busy with the "merging of similar ways" patch so that I don't update mkgmap for now, but stay at revision 1136. It would be too much work to keep all my patches in working order with relevant code files of mkgmap changing all the time. Regards Thilo

Thilo Hannemann <thannema@gmx.de> writes:
Hi everybody,
just wanted to advertise the list of POIs at http://wiki.openstreetmap.org/wiki/OSM_Map_On_Garmin/POI_Types
How do I use the test-map:all-elements feature? (I have a problem with highway=service roads on my Legend HCx when it uses Swedish, it labels the roads as "Allé" which I suspect is a mis-translation of "Alley" -- solving this might require firmware fixing though..) /Simon

Am 19.08.2009 um 22:17 schrieb Simon Josefsson:
How do I use the test-map:all-elements feature?
(I have a problem with highway=service roads on my Legend HCx when it uses Swedish, it labels the roads as "Allé" which I suspect is a mis-translation of "Alley" -- solving this might require firmware fixing though..)
When invoking mkgmap, instead of giving it all those *.osm files, you just use "test-map:all-elements" as the input file name. This is a virtual file so to speak and will generate the test map. Normally it is centered around London, which might be not what you want. By setting the *environment variables* BASE_LAT and BASE_LON you can place the test map at any coordinate you like. How you set environment variables depends on your operating system. On a Mac (using the standard bash shell) and also on Linux with the bash shell you can use "export BASE_LAT=..." and "export BASE_LON=..." to set it in the terminal. You'll have to use the same terminal to start mkgmap, because the environment variables are separate for each terminal. Regards Thilo

Thilo Hannemann wrote:
Am 19.08.2009 um 22:17 schrieb Simon Josefsson:
How do I use the test-map:all-elements feature?
(I have a problem with highway=service roads on my Legend HCx when it uses Swedish, it labels the roads as "Allé" which I suspect is a mis-translation of "Alley" -- solving this might require firmware fixing though..)
When invoking mkgmap, instead of giving it all those *.osm files, you just use "test-map:all-elements" as the input file name. This is a virtual file so to speak and will generate the test map. Normally it is centered around London, which might be not what you want. By setting the *environment variables* BASE_LAT and BASE_LON you can place the test map at any coordinate you like. How you set environment variables depends on your operating system. On a Mac (using the standard bash shell) and also on Linux with the bash shell you can use "export BASE_LAT=..." and "export BASE_LON=..." to set it in the terminal. You'll have to use the same terminal to start mkgmap, because the environment variables are separate for each terminal.
Regards Thilo _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Yeah that list is really awful to edit. I structured my findings the other way around, so noting all objects that were found in the search function of Mapsource, and not where an object shows up. I have attached my points file, which in the first part consists of the explication where which object is found in Mapsource. There are some types inside that are missing in the wiki and also notes if objects are not exchangable via typfile. If someone prefers that format, feel free to build up on it, or include it into the wiki page # Fehlt zurzeit: 'natural=tree' 'man_made=pier', change emergency_phone 5100 to something else # General notes: Attractions are found under 0x2c0* 0x2d01+0x2d02 # - # 3006 is Zoll # 6404 is church # spring 6511 # heuriger muss als winery gefunden werden. falsch ist 0x3d02 --> 0x4a02-08 is park/garden. 0x4b03 is doctor # Place of worship: 0x6424 - no symbol; 0x6404; 0x2c0b # 2701-2709 sind frei # Category Cities: # 0x2722 and 0x72e and 0x92a and 0xa26 and 0xa2c and 0xb28 and 0xb2e and 0xd24 and 0xd2a plus many many unknown # Category: Attractions # Amusement Theme Park 0x2c21 and 0x2c1 (not the same symbol) and 0x2d28 and 0x2d8 (same symbol) # Arena Track: 0x2c28 and 0x2c8 (same symbol) # Hall Auditorium: 0x2c29 and 0x2c9 (same symbol) # Landmark: 0x2c24, 0x2c4 and 0x2c27, 0x2c7 and 0x520, 0x521, 0x522, 0x521c-0x522f, 0x523-0x527 # Museum: 0x2c22 and 02c2 (same symbol) # Park Garden 0x2c0, 0x2c20 and 0x2c26, 0x2c6 and 0x490-0x497 and 0x4925-0x492f and 0x4a0-0x4a7 and 0x4a27-0x4a2f and 0x642e, 0x64e # Winery 0x2c2a, 0x2ca # Category: Auto Services # Auto Club= 0x2f2d and 0x2fd # Auto Rental= 0x2f2 and 0x2f22 # Auto Repair= 0x2f23 and 0x2f3 # Car wash= 0x2f0e and 0x2fe # Auto Dealer / Parts 0x311? all found. 0x3120, 0x3121 and 0x310e and 0x310f too # Parking all 0x4d1? found as well as 0x4d20, 0x4d21, 0x4d0e, 0x4d0f # Rest Area / Tourist Info: 0x511? and 0x5014 to 0x501b (probably all are found anyhow), also 0x2f0c # Truck Stop 0x2f16 # Wrecker Service 0x2f0a and 0x2fa (not the same typfile symbol) # Category Bank/ATM 0x2f26 and 0x2f6 (not the same symbol) # Category Community # Boarder Crossing: 0x3026 and 0x3006 # City Hall 0x3023 and 0x303 (same symbol) # Community Center 0x3025 and 0x305 (same symbol) # Court House 0x3024 and 0x304 (same symbol) # Fire Department: 0x3028 and 0x308 (same symbol) # Government office: 0x3020 and 0x3027 and 0x300 and 0x307 (same symbol) # Library: 0x2c23 and 0x2c3 (same symbol) # Place of Worship: 0x2c2b and 0x6424 and 0x2c2 and 0x644 (same symbol) # Police Station: 0x3021 and 0x301 # Post Office: 0x2f25 and 0x642f and 0x2f5 and 0x64f (same symbol) # 0x2c25 and 0x2c5 and 0x6410 (same symbol) # Utility: 0x2f15 # Category Entertainment: # Bar/Nightclub: 0x2d22 and 0x4613-0x462f # Casino: 0x2d24 and 0x2d4 (there have to be more) # Hall Auditorium: 0x2c29 and 0x2c9 (same symbol) # Live Theater: 0x02d and 0x2d0 and 0x2d01, 0x2d20, 0x2d21 # Movie Theater: 0x2d23 and 0x2d3 (not the same symbol) # Category Food and Drink (only additional) # American 0x2ae and 0x2a1 # Other 0x451? and 0x45? # Category Food and Drink: Mapsource Crash # Category Fuel: # Auto Fuel 0x4410-0x442f and 0x44? and 0x2f1 # Convenience 0x2e26 and 0x2e6 (same symbol) # Truck Stop 0x2f16 # Category Geographic Places: # Land: 0x6610-0x662f and 0x66? # Man-Made 0x6410-0x642f and 0x64? # Water: 0x6510-0x652b # Category Hospital 0x4b10-0x4b2f and 0x6428 and 0x648 (same symbol) and 0x302 and 0x4b? # Category Lodging # Campground 0x481c-0x482f and 0x2b3 and 0x48? # Hotel/Motel 0x2b20-0x2b24 and 0x2b0-0x2b4 (same symbols) # Category Other # Business 0x2f11 # Communications: 0x2f12 # Garmin 0x2ff (and another not found) # Marina / Repair Storage: 0x43? and 0x431? # other 0x02f and 0x2f0 # Personal 0x2f10 # Repair: 0x2f13 # Social: 0x2f14 # Category Recreation # Amusement Theme Park 0x2c21 and 0x2c1 (not the same symbol) # Arena Track: 0x2c28 and 0x2c8 (same symbol) # Bowling: 0x2c27 and 0x2c7 (not the same symbol) # Golf Course: 0x402? and 0x401? and 0x40? and 0x2d05 # Park Garden: 0x2c6 and 0x4916-0x491f and 0x4928-0x492f and 0x49? and 0x4a16-0x4a1f and 0x4a26-0x4a2f and 0x642e and 0x64e (not the same symbol) # Public Sports Airport: 0x2d2b and 0x2db (same symbol) # Skiing Center: 0x5310-0x531f and 0x5320-0x532f and 0x53? # Sports / Fitness Center 0x2d9 and 0x2da and 0x5c2? and 0x54? and 0x541? 0x542d-0x542f (swimming) and 0x5c1? # Category Shopping (allways same symbol) # Apparel 0x2e7 and 0x2e27 (same symbol) # Computer 0x2eb and 0x2e2b (same symbol) # Convenicence 0x2e26 and 0x2e6 # Department 0x2e21 and 0x2e1 # General Merchandise: 0x02e and 0x2e3 and 0x2e0 plus unknown # Grocery 0x2e22 and 0x2e2 # Home Furnishings 0x2e29 and 0x2e9 # House and Garden 0x2e28 and 0x2e8 # Pharmacist 0x2e25 and 0x2e5 # Shopping Center 0x2e24 and 0x2e4 # Speciality Retail 0x2e2a and 0x2ea # Category Transportation # Air Transportation: 0x590? and 0x591? and 0x59c - 0x59f and 0x2f4 and 0x2f24 # Auto Rental 0x2f2 and 0x2f22 (same symbol) # Ground transportation 0x2f8 and 0x2f28 (same symbol) # Transit: 0x2f17 tourism=guest_house { name 'guesthouse ${name} ${operator}' | 'guesthouse ${name}' | 'guesthouse' } [0x2b02 resolution 22 continue] tourism=camp_site { name '${name} ${operator}' | '${name}' | 'campsite' } [0x2b03 resolution 20 continue] tourism=caravan_site { name 'caravan ${name} ${operator}' | 'caravan ${name}' | 'caravan_site' } [0x2b07 resolution 22 continue] tourism=hostel { name 'hostel ${name} ${operator}' | 'hostel ${name}' | 'hostel' } [0x2b05 resolution 22 continue] tourism=hotel { name '${name} ${operator}' | '${name}' | '${operator}' | 'hotel' } [0x2b00 resolution 22 continue] tourism=motel { name 'motel ${name} ${operator}' | 'motel ${name}' | 'motel ${operator}' | 'motel' } [0x2b01 resolution 22 continue] tourism=picnic_site {name 'picnic ${name}' | 'picnic' } [0x4a00 resolution 22 continue] tourism=picnic {name 'picnic ${name}' | 'picnic' } [0x4a00 resolution 22 continue] amenity=bbq { name 'bbq ${name}' | 'bbq' } [0x4a00 resolution 24 continue] tourism=resort [0x2b06 resolution 20 continue] tourism=theme_park {name 'theme_park ${name}' } [0x2c01 resolution 22 continue] tourism=wine_cellar {name 'wine_cellar ${name}' } [0x2c0a resolution 22 continue] tourism=zoo {name 'Zoo ${name}' | 'Zoo' } [0x2c07 resolution 22 continue] amenity=zoo {name 'Zoo ${name}' | 'Zoo' } [0x2c07 resolution 22 continue] tourism=alpine_hut | amenity=alpine_hut | building=alpine_hut { name 'alpine_hut ${name} ${operator}' | 'alpine_hut ${name}' | 'alpine_hut' } [0x2b04 resolution 20 continue] building=shelter | tourism=shelter | amenity=shelter { name 'shelter ${name} ${operator}' | 'shelter ${name}' | 'shelter' } [0x2b08 resolution 20 continue] amenity=refuge | tourism=refuge | building=refuge { name 'refuge ${name}' | 'refuge' } [0x2b08 resolution 20 continue] place=capitol [0x0100 resolution 16 continue] place=capital [0x0100 resolution 16 continue] #also 200 and 300 stand for capitol place=city & population > 999999 [0x0100 resolution 16 continue] place=city & population > 499999 [0x0200 resolution 16 continue] place=city & population > 299999 [0x0400 resolution 18 continue] place=city & population > 199999 [0x0500 resolution 18 continue] place=city & population > 99999 [0x0600 resolution 18 continue] place=city & population > 49999 [0x0700 resolution 18 continue] place=city & population > 19999 [0x0800 resolution 18 continue] place=city & population=* [0x0900 resolution 20 continue] place=city & population!=* [0x0700 resolution 18 continue] place=town & population > 49999 [0x0700 resolution 18] place=town & population > 19999 [0x0800 resolution 18] place=town & population > 9999 [0x0a00 resolution 20] place=town & population > 4999 [0x0b00 resolution 20] place=town & population=* [0x0c00 resolution 20] place=town [0x0a00 resolution 20] place=hamlet [0x1100 resolution 22] place=suburb & population > 49999 [0x0e00 resolution 20] place=suburb & population > 19999 [0x0f00 resolution 22] place=suburb [0x1000 resolution 22] place=village [0x0b00 resolution 22] place=island [0x650c resolution 18] place=locality [0x1100 resolution 22] railway=subway_entrance { name 'tube ${name} ${ref}' | 'tube ${ref}' | 'tube ${name}' | 'tube' } [0x2f08 resolution 24 continue] railway=subwayentrance { name 'tube ${name} ${ref}' | 'tube ${ref}' | 'tube ${name}' | 'tube' } [0x2f08 resolution 24 continue] railway=halt { name 'railway=halt ${name} ${ref}' | 'railway=halt ${ref}' | 'railway=halt ${name}' | 'railway=halt' } [0x2f17 resolution 24 continue] railway=station { name 'station ${operator} ${name} ${ref}' | 'station ${name}' } [0x2f18 resolution 22 continue] aerialway=station { name '$gondola ${name}' | 'Gondola' } [0x2f19 resolution 22 continue] railway=tram_stop { name 'tram_stop ${name} ${tram_lines} ${ref}' | 'tram_stop ${name}'} [0x2900 resolution 24 continue] railway=tramstop { name 'tram_stop ${name} ${tram_lines} ${ref}' | 'tram_stop ${name}'} [0x2900 resolution 24 continue] railway=stop { name 'stop ${name} ${ref}' | 'stop ${name}' | 'stop'} [0x2f17 resolution 24 continue] highway=bus_stop { name 'bus_stop ${name} ${ref} ${bus_lines} ${operator}' | 'bus_stop ${name}' | 'bus_stop'} [0x2901 resolution 24 continue] amenity=bus_stop { name 'bus_stop ${name} ${ref} ${bus_lines} ${operator}' | 'bus_stop ${name}' | 'bus_stop'} [0x2902 resolution 24 continue] amenity=bus_station { name 'bus_station ${name} ${ref} ${bus_lines} ${operator}' | 'bus_station ${name}' | 'bus_station'} [0x2903 resolution 22 continue] highway=bus_station { name 'bus_station ${name} ${ref} ${bus_lines} ${operator}' | 'bus_station ${name}' | 'bus_station'} [0x2904 resolution 22 continue] highway=busstop { name 'bus_stop ${name} ${ref} ${bus_lines} ${operator}' | 'bus_stop ${name}' | 'bus_stop'} [0x2905 resolution 24 continue] amenity=busstop { name 'bus_stop ${name} ${ref} ${bus_lines} ${operator}' | 'bus_stop ${name}' | 'bus_stop'} [0x2905 resolution 24 continue] amenity=busstation { name 'bus_station ${name} ${ref} ${bus_lines} ${operator}' | 'bus_station ${name}' | 'bus_station'} [0x2906 resolution 22 continue] highway=busstation { name 'bus_station ${name} ${ref} ${bus_lines} ${operator}' | 'bus_station ${name}' | 'bus_station'} [0x2906 resolution 22 continue] # Barriers highway=gate | barrier=gate [0x4313 resolution 24 continue] highway=bollard | barrier=bollard [0x4311 resolution 24 continue] noexit=yes [0x4319 resolution 22 continue] no_exit=yes [0x4319 resolution 22 continue] deadend=yes [0x4319 resolution 22 continue] mountainpass=yes [0x2f1b resolution 20 continue] mountain_pass=yes [0x2f1b resolution 20 continue] highway=mountainpass [0x2f1b resolution 20 continue] highway=mountain_pass [0x2f1b resolution 20 continue] barrier=cycle_barrier [0x2f1c resolution 22 continue] barrier=cattle_grid [0x2f1d resolution 24 continue] barrier=toll_booth [0x2f1e resolution 22 continue] barrier=stile [0x2f1f resolution 24 continue] barrier=bump_gate [0x2918 resolution 24 continue] barrier=bumpgate [0x2918 resolution 24 continue] barrier=block [0x2919 resolution 24 continue] barrier=hampshire_gate [0x291a resolution 24 continue] barrier=hampshiregate [0x291a resolution 24 continue] barrier=sally_port [0x291b resolution 24 continue] barrier=sallyport [0x291b resolution 24 continue] barrier=border_controll [0x291c resolution 22 continue] barrier=bordercontroll [0x291c resolution 22 continue] entrance=yes [0x291d resolution 22 continue] barrier=entrance [0x291d resolution 22 continue] barrier=kissing_gate [0x291e resolution 24 continue] barrier=kissinggate [0x291e resolution 24 continue] barrier=lift_gate [0x291f resolution 24 continue] barrier=liftgate [0x291f resolution 24 continue] #missing bump_gate, block, border_controll,kissing_gate, entrance, lift_gate, sally_port, hampshire_gate # Traffic highway=traffic_signal [0x4318 resolution 24] highway=traffic_signals [0x4318 resolution 24] highway=traffic_lights [0x4318 resolution 24] highway=traffic_light [0x4318 resolution 24] highway=ampel [0x4318 resolution 24] highway=crossing [0x290d resolution 24] highway=stop [0x2909 resolution 24] traffic_sign = city_limit [0x290e resolution 24] # highway=speed_camera {name 'maxspeed ${maxspeed} km/h'} [0x5601 resolution 24] highway=motorway_junction {name '${ref} ${name}' | '${ref}' | '${name}'} [0x271a resolution 24] highway=motorway_exit {name '${ref} ${name}' | '${ref}' | '${name}'} [0x2700 resolution 22] highway=services {name '${ref} ${name}' | '${ref}' | '${name}'} [0x2f16 resolution 22 continue] amenity=fuel {name '${operator}: ${name}' | '${name}' | '${operator}'} [0x2f01 resolution 24 continue] amenity=parking {name 'carpark ${name}' | '$(carpark)' } [0x2f0b resolution 24 continue] amenity=bicycle_parking {name 'bikepark ${name}' | '$(bikepark)' } [0x2f0b resolution 22 continue] railway=crossing [0x4310 resolution 24 continue] railway=level_crossing [0x4310 resolution 24] amenity=bicycle_rental { name '${name} ${spaces} ${network}' } [0x2f02 resolution 22 continue] amenity=WLAN [0x2f12 resolution 24] amenity=Wlan [0x2f12 resolution 24] amenity=wlan [0x2f12 resolution 24] amenity=wifi [0x2f12 resolution 24] amenity=arts_centre [0x2f14 resolution 24] amenity=arts_center [0x2f14 resolution 24] amenity=bank {name 'Bank ${operator} ${name}' | 'Bank ${name}' | 'Bank' } [0x2f06 resolution 24 continue] amenity=atm {name 'ATM ${operator} ${name}' | 'ATM ${name}' | 'ATM' } [0x2f06 resolution 24 continue] amenity=cashpoint {name 'ATM ${operator} ${name}' | 'ATM ${name}' | 'ATM' } [0x2f06 resolution 24 continue] amenity=cash_point {name 'ATM ${operator} ${name}' | 'ATM ${name}' | 'ATM' } [0x2f06 resolution 24 continue] amenity=casino [0x2d04 resolution 24 continue] amenity=cinema [0x2d03 resolution 24 continue] amenity=college [0x6410 resolution 24] amenity=school [0x2c05 resolution 24] amenity=kindergarten [0x2c05 resolution 24] amenity=university [0x6410 resolution 24] amenity=townhall [0x3003 resolution 24] # also 0x2c29 and 0x2c9 is found as hall/auditorium. amenity=hospital [0x3002 resolution 22 continue] amenity=library [0x2c03 resolution 24] amenity=courthouse [0x3004 resolution 24] amenity=concert_hall [0x2c09 resolution 22 continue] amenity=concerthall [0x2c09 resolution 22] amenity=conference_centre [0x2c09 resolution 24 continue] amenity=conferencecentre [0x2c09 resolution 24 continue] amenity=convention_center [0x2c09 resolution 24] amenity=community_centre [0x3005 resolution 22 continue] amenity=communitycentre [0x3005 resolution 22 continue] amenity=grave_yard [0x6403 resolution 24 continue] amenity=graveyard [0x6403 resolution 24 continue] amenity=fire_station [0x3008 resolution 24 continue] amenity=firestation [0x3008 resolution 24 continue] amenity=doctors [0x4b01 resolution 22 continue] amenity=doctor [0x4b01 resolution 22 continue] amenity=dentist [0x4b02 resolution 24] amenity=veterinary [0x6408 resolution 24] amenity=police [0x3001 resolution 24] amenity=police_station [0x3001 resolution 24] amenity=post_office {name 'post_office ${name}' | 'post_office' } [0x2f05 resolution 24 continue] amenity=post_box {name 'post_box ${name}' | 'post_box' } [0x2f1a resolution 24 continue] amenity=public_building [0x3000 resolution 24 continue] amenity=embassy [0x3000 resolution 24 continue] # 0x3000 is found under government building # 0x3007 is found as government office amenity=pharmacy [0x2e05 resolution 24 continue] amenity=recycling {name '${operator}: ${name}'} [0x2f15 resolution 24 continue] amenity=emergency_phone [0x5100 resolution 24 default_name='emergency_phone'] emergency_phone=yes [0x5100 resolution 24 default_name='emergency_phonee'] amenity=telephone [0x5100 resolution 24 default_name 'Telephone'] amenity=theatre [0x2d01 resolution 22] amenity=theater [0x2d01 resolution 22] amenity=toilets [0x4e00 resolution 24 continue] amenity=toilet [0x4e00 resolution 24 continue] amenity=restroom [0x4e00 resolution 24 continue] # Essen und Trinken amenity=drinking_water [0x5002 resolution 22 continue] amenity=watering_place [0x2f0a resolution 22 continue] waterway=water_point [0x2f0a resolution 22 continue] # try out 6414 for search too amenity=fountain [0x6500 resolution 24 continue] amenity=quelle [0x6500 resolution 22 continue] natural=quelle [0x6500 resolution 22 continue] natural=spring [0x6511 resolution 22 continue] amenity=spring [0x6511 resolution 22 continue] amenity = heuriger [0x2c2a resolution 24 continue] # was 0x2c0a winery amenity = winery [0x2c0a resolution 24] cuisine = american [0x2a0e resolution 24] cuisine = asian [0x2a02 resolution 24] cuisine = japanese [0x2a02 resolution 24] cuisine = korean [0x2a02 resolution 24] cuisine = thai [0x2a02 resolution 24] cuisine = barbecue [0x2a03 resolution 24] cuisine = grill [0x2a03 resolution 24] cuisine = chinese | cuisine=sichuan | cuisine=kantoneese | cuisine=cantoneese | cuisine=shandong [0x2a04 resolution 24] cuisine = greek [0x2a05 resolution 24] cuisine = deli [0x2a05 resolution 24] cuisine = international [0x2a06 resolution 24] cuisine = italian [0x2a08 resolution 24] cuisine = noodle | cuisine=pasta [0x2a08 resolution 24] cuisine = mexican [0x2a09 resolution 24] cuisine = pizza [0x2a0a resolution 24] cuisine = sea_food [0x2a0b resolution 24] cuisine = steak_house | cuisine=steak [0x2a0c resolution 24] cuisine = steak [0x2a0c resolution 24] cuisine = donut [0x2a0e resolution 24] cuisine = bagel [0x2a0e resolution 24] cuisine = cafe | cuisine = diner [0x2a0e resolution 24] cuisine = french [0x2a0f resolution 24] cuisine = crepe [0x2a17 resolution 24] cuisine = german [0x2a10 resolution 24] cuisine = austrian [0x2a10 resolution 24] cuisine = bavarian [0x2a10 resolution 24] cuisine = british [0x2a11 resolution 24] cuisine = fish_and_chips | cuisine=friture [0x2a11 resolution 24] cuisine = vegan [0x2a12 resolution 24] cuisine = speciality [0x2a12 resolution 24] cuisine = vegetarian [0x2a13 resolution 24] cuisine = regional [0x2a14 resolution 24] cuisine = burger [0x2a15 resolution 24] cuisine = chicken [0x2a16 resolution 24] cuisine = curry [0x2a18 resolution 24] cuisine = kebap | cuisine = doener [0x2a19 default_name='kebab' resolution 24] cuisine = pie [0x2a1c resolution 24] cuisine = sandwich [0x2a1d resolution 24] cuisine = savory_pancakes [0x2a1e resolution 24] cuisine = sushi [0x2a1f resolution 24] amenity=pub {name 'pub ${name}' } [0x2d02 resolution 24] amenity=biergarten {name 'biergarten ${name}' | 'biergarten' } [0x4601 resolution 24] amenity=bar [0x4600 resolution 24] amenity=cafe | cuisine=coffe_shop {name 'cafe ${name}' | 'cafe' } [0x2a01 resolution 24] amenity=nightclub [0x2d02 resolution 24] amenity=fast_food [0x2a07 resolution 24] amenity=restaurant [0x2a00 resolution 24] restaurant=* [0x2a00 resolution 24] amenity=restaurant [0x2a00 resolution 24] cuisine=* [0x2a00 resolution 24] leisure=golf_course [0x2d05 resolution 22 continue] leisure=golfcourse [0x2d05 resolution 22 continue] leisure=marina [0x4300 resolution 22] leisure=park [0x2c06 resolution 24 continue] leisure=pitch [0x2911 resolution 22 continue] leisure=sports_center | leisure=sports_centre {name 'sports_centre ${name}' } [0x2d0a resolution 22] leisure=stadium [0x2c08 resolution 22 continue] # also 0x2c28 is found as arena/track and 0x2c8 leisure=track [0x2c28 resolution 22 continue] # track was 0x2910 aeroway=airport [0x2f04 resolution 22 continue] aeroway=aerodrome [0x2f04 resolution 22 continue] amenity=airport [0x2f04 resolution 22 continue] aeroway=terminal [0x2f04 resolution 24 continue] amenity=aerodrome [0x2f04 resolution 22 continue] # 0x5903 would be possible too for airport # 0x5904=heliport power_source=wind [0x290f resolution 22] powersource=wind [0x290f resolution 22] power=wind [0x290f resolution 22] man_made=power_wind [0x290f resolution 22] man_made=windpower [0x290f resolution 22] man_made=wind_power [0x290f resolution 22] power=generator & (power_source=hydro | power_source=tidal | power_source=wave | power_source=geothermal) [0x640d resolution 24] power=generator & (power_source=nuclear | power_source=fusion) [0x6412 resolution 22] power=generator & (power_source=biofuel | power_source=oil | power_source=coal | power_source=gas | power_source=waste) [0x6413 resolution 24] power=generator & (power_source=photovoltaic | power_source=solar-thermal | power_source=solar) [0x6414 resolution 24] power=tower [0x290a resolution 22] # empty manmade 6415-16 power=generator [0x290b resolution 24] power=sub_station [0x290c resolution 24] power=substation [0x290c resolution 24] # 6609,6611,6612,6613 Geographic=land man_made=reservoir_covered [0x650f resolution 24] man_made=reservoir [0x650f resolution 24] man_made=water_tower [0x650f resolution 22] man_made=windmill [0x4317 resolution 22] man_made=wind_mill [0x4317 resolution 22] man_made=lighthouse [0x2c14 resolution 24] man_made=lighthouse [0x2c14 resolution 24] # man_made=surveillance [0x2c16 resolution 24] man_made=gasometer [0x2c17 resolution 24] man_made=works [0x2c18 resolution 24] amenity=prison [0x2b1c resolution 24] man_made=survey_point [0x4315 resolution 24] # survey war 2c18 amenity=grit_bin [0x4314 resolution 24] leisure=hunting_blind [0x4312 resolution 22] amenity=hunting_stand [0x4312 resolution 22] amenity=hunting_blind [0x4312 resolution 22] amenity=hochstand [0x4312 resolution 22] amenity=blind [0x4312 resolution 22] building=hunting_blind [0x4312 resolution 22] # military military=bunker [0x5801 resolution 24] # Natural and Points for Orientation natural=beach [0x2c1e resolution 20 continue] natural=cliff [0x2c13 resolution 22 continue] natural=mountain [0x2c15 resolution 22 continue] natural=rock [0x2c12 resolution 24 continue] natural=geyser [0x2c1f resolution 22 continue] natural=geysir [0x2c1f resolution 22 continue] natural=glacier [0x2c19 resolution 20 continue] natural=cave_entrance [0x6619 resolution 22 continue] natural=cave [0x6619 resolution 22 continue] # 6619 wird mit Symbol angezeigt natural=volcano [0x2c1a resolution 20 continue] natural=wetland [0x2c1b resolution 24 continue] # Einkaufen - typfile ueberpruefen shop=department_store [0x2e01 resolution 24] shop=department [0x2e01 resolution 24] shop=bakery | shop=bakers | shop=baker [0x2e02 resolution 24] shop=grocery [0x2e02 resolution 24] shop=mall [0x2e04 resolution 22] shop=convenience [0x2e06 resolution 24] shop=clothes [0x2e07 resolution 24] shop=apparel [0x2e07 resolution 24] shop=garden_centre [0x2e08 resolution 24] shop=garden_center [0x2e08 resolution 24] shop=furniture [0x2e09 resolution 24] shop=computer [0x2e0b resolution 24] shop=florist [0x2e0d resolution 24] shop=hairdresser [0x2e0e resolution 24] shop=doityourself [0x2e0f resolution 24] shop=supermarket | amenity=supermarket [0x2e03 resolution 24] shop=organic [0x2e0a resolution 24] shop=butchers | shop=butcher [0x2e11 resolution 24] shop=optician [0x2e12 resolution 24] shop=toys [0x2e13 resolution 24] shop=video [0x2e14 resolution 24] shop=videos [0x2e14 resolution 24] shop=dvd [0x2e14 resolution 24] shop=outdoor [0x2e15 resolution 24] shop=beverages | shop=alcohol [0x2e16 resolution 24] shop=books [0x2e17 resolution 24] shop=book [0x2e17 resolution 24] shop=electronics [0x2e18 resolution 24] shop=electronic [0x2e18 resolution 24] shop=laundry | shop=dry_cleaning [0x2e19 resolution 24] shop=kiosk [0x2e1a resolution 24] shop=hifi [0x2e1b resolution 24] shop=chemist [0x2e1c resolution 24] shop=stationary [0x2e1d resolution 24] shop=shoes [0x2e1e resolution 24] shop=sports [0x2e1f resolution 24] shop=hardware [0x2e01 resolution 24] shop=bicycle [0x2f03 default_name='bicycle_shop' resolution 22] shop=bicycle_repair [0x2f03 default_name='bicycle_repair' resolution 22] amenity=bicycle_repair [0x2f03 default_name='bicycle_repair' resolution 22] shop=car_repair {name 'carrepair ${name}' } [0x2f13 resolution 22] amenity=car_wash [0x2f0e resolution 24] shop=motorcycle [0x2f07 resolution 24] # 2f0f is found as garmin Dealer amenity=car_repair [0x2f13 resolution 22] shop=* [0x2e00 resolution 24] # taxi needs to be added somewhere sport=9pin [0x2d07 resolution 22] sport=10pin [0x2d07 resolution 22] sport=multi [0x2d0a resolution 22] sport=skating [0x2d16 resolution 22] sport=skiing [0x2d06 resolution 20] sport=swimming {name 'swimming ${name}' } [0x2d09 resolution 22] # needs new symbol but 0x2d09 is seperately shown sport=soccer [0x2d0c resolution 22] sport=volleyball [0x2d0d resolution 22] sport=basketball [0x2d0e resolution 22] sport=table_tennis [0x2d0f resolution 22] sport=tennis [0x2d10 resolution 22] sport=handball [0x2d11 resolution 22] sport=team_handball [0x2d11 resolution 22] sport=boules [0x2d12 resolution 22] sport=dart [0x2d13 resolution 22] sport=archery [0x2d14 resolution 22] sport=diving [0x2d15 resolution 22] # below have no typfile garmin code sport=athletics [0x2912 resolution 22] sport=climbing [0x2d13 resolution 22] sport=canoe [0x2d14 resolution 22] sport=equestrian [0x2d19 resolution 22] sport=motor [0x2d0b resolution 22] sport=golf [0x2d05 resolution 22] sport=cricket [0x2d18 resolution 22] sport=hockey [0x2915 resolution 22] sport=rubgy [0x2d17 resolution 22] sport=baseball [0x2d1f resolution 22] sport=skateboard [0x2d1e resolution 22] sport=miniature_golf [0x2d1c resolution 22] leisure=miniature_golf [0x2d1c resolution 22] sport=rugby [0x2d1b resolution 22] sport=* [0x2d0a resolution 22] natural=peak {name '${name|def:}${ele|height:m=>ft|def:}' } [0x2c11 resolution 22 continue] natural=summit {name '${name|def:}${ele|height:m=>ft|def:}' } [0x2c11 resolution 22 continue] tourism=viewpoint [0x5200 resolution 22 continue] # all 0x521? are found as attraction landmark tourism=attraction [0x2c04 resolution 22 continue] tourism=chalet [0x2b09 resolution 24] amenity=bench [0x2908 resolution 24] amenity=playground [0x2907 resolution 24] leisure=playground [0x2907 resolution 24] # 0x4a05 is an attraction and empty leisure=water_park {name 'waterpark ${name}' } [0x2d08 resolution 22] leisure=swimming {name 'swimming ${name}' | 'swimming' } [0x2c21 resolution 22] # swimming was 0x2d08 leisure=swimming_pool {name 'swimming_pool ${name}' | 'swimming_pool' } [0x2c21 resolution 22] leisure=fishing [0x4100 resolution 24] # 0x4a0* wird unter Park/Garden gefunden. Fish existiert. information=office {name 'infooffice ${name}' | 'infooffice' } [0x2f0c resolution 22 continue] information=mtbmap {name 'mtbmap ${name}' | 'mtbmap' } [0x4c01 resolution 22 continue] information=cyclemap {name 'cyclemap ${name}' | 'cyclemap' } [0x4c01 resolution 22 continue] information=bicyclemap {name 'bicyclemap ${name}' | 'bicyclemap' } [0x4c01 resolution 22 continue] information=sitemap {name 'sitemap ${name}' | 'sitemap' } [0x4c01 resolution 22 continue] information=hikingmap {name 'hikingmap ${name}' | 'hikingmap' } [0x4c01 resolution 22 continue] information=pistemap {name 'pistemap ${name}' | 'pistemap' } [0x4c01 resolution 22 continue] information=nature {name 'natureinfo ${name}' | 'natureinfo' } [0x4c01 resolution 22] information=wildlife {name 'wildlifeinfo ${name}' | 'wildlifeino' } [0x4c01 resolution 22] information=citymap {name 'citymap ${name}' | 'citymap' } [0x4c01 resolution 22] information=map {name 'infomap ${name}' | 'infomap' } [0x4c01 resolution 22] information=board {name 'inboard ${name}' | 'infoboard' } [0x4c00 resolution 22] amenity=guidepost | amenity=signpost | information=guidepost [0x2c1d resolution 22 continue] tourism=information [0x4c00 resolution 22] historic=wayside_cross [0x431b resolution 24] historic=wayside_shrine [0x431c resolution 24] historic=museum [0x2c02 resolution 24] # also museum also found as 0x2c2 and 0x2c22 tourism=museum [0x2c02 resolution 22] historic=ruins [0x2c0e resolution 24] historic=castle [0x2c0d resolution 22] # war wie museum historic=memorial [0x2c10 resolution 24] historic=archaeological_site [0x640a resolution 22] amenity=place_of_worship [0x2c0b resolution 22] building=church [0x2c0b resolution 22] church=* [0x2c0b resolution 24] historic=monument [0x2c0f resolution 24] # historic=battlefield [0x2c* resolution 24] note=* [0x4316 resolution 24] # noexit is found as attraction. Yeahaa - map it. noexit=no {name 'way continues ${name}' | 'way continues' } [0x4a05 resolution 22] fixme=continue {name 'way continues ${name}' | 'way continues' } [0x4a05 resolution 22] fixme=continuation {name 'way continues ${name}' | 'way continues' } [0x4a05 resolution 22] fixme=way_continues {name 'way continues ${name}' | 'way continues' } [0x4a05 resolution 22] fixme=street_continues {name 'way continues ${name}' | 'way continues' } [0x4a05 resolution 22] # addr:housenumber=* {name '${name} (${addr:street} ${addr:housenumber})' | '${addr:street} ${addr:housenumber}'} [0x7100 resolution 24]

Hi, guys first time with a prebuild version r1152 i tried to use this extended type in an overlay. Unfortunately i got an error message from mkgmap.( i can provide it if needed but i guess it doesn't). Input file was in polish-format. Could it be that the polish format reader of mkgamp doesn't support the description for extended types like "Type=0x10500" Or "Type=0x010500" ? Immediately replacing this with a standard type, mkgmap compiles my mp-file without any complains. In case off... please could you implememt the extended type stuff and anything else missing in the mkgmaps mp-file reader. regards Gert

Hi Gert,
Hi, guys first time with a prebuild version r1152 i tried to use this extended type in an overlay. Unfortunately i got an error message from mkgmap.( i can provide it if needed but i guess it doesn't). Input file was in polish-format. Could it be that the polish format reader of mkgamp doesn't support the description for extended types like "Type=0x10500" Or "Type=0x010500" ? Immediately replacing this with a standard type, mkgmap compiles my mp-file without any complains.
In case off... please could you implememt the extended type stuff and anything else missing in the mkgmaps mp-file reader.
I will look at adding the extended type support into the mp-file reader. I have to admit that my focus is always on the osm file stuff because I don't use mp files. Cheers, Mark

Hi Mark,
I have to admit that my focus is always on the osm file stuff because I don't use mp files.
Cheers,
Mark
I would take care of it but unfortunately actually i have only small skills in coding, especially not in java. So it would be great if somebody could have a look of it (from time to time for the important stuff like e.g. extended types or turn restrictions)
Hi Gert,
I just took a quick look at the code and I can't see why extended types are not acceptable in mp files. Please post the error message you got.
Ok. here it is. D:\GPS\mkgmap-r1152>java -Xmx512m -jar mkgmap.jar -c wkr_options.txt *.mp SCHWERWIEGEND (Main): java.util.concurrent.ExecutionException: java.lang.NullPointerException java.util.concurrent.ExecutionException: java.lang.NullPointerException at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source) at java.util.concurrent.FutureTask.get(Unknown Source) at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:289) at uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:124) at uk.me.parabola.mkgmap.main.Main.main(Main.java:100) Caused by: java.lang.NullPointerException at uk.me.parabola.mkgmap.build.MapBuilder$LineAddFilter.doFilter(MapBuilder.java:964) at uk.me.parabola.mkgmap.build.LayerFilterChain.doFilter(LayerFilterChain.java:57) at uk.me.parabola.mkgmap.filters.RemoveEmpty.doFilter(RemoveEmpty.java:61) at uk.me.parabola.mkgmap.build.LayerFilterChain.doFilter(LayerFilterChain.java:57) at uk.me.parabola.mkgmap.filters.LineSplitterFilter.doFilter(LineSplitterFilter.java:60) at uk.me.parabola.mkgmap.build.LayerFilterChain.doFilter(LayerFilterChain.java:57) at uk.me.parabola.mkgmap.filters.DouglasPeuckerFilter.doFilter(DouglasPeuckerFilter.java:108) at uk.me.parabola.mkgmap.build.LayerFilterChain.doFilter(LayerFilterChain.java:57) at uk.me.parabola.mkgmap.filters.SizeFilter.doFilter(SizeFilter.java:50) at uk.me.parabola.mkgmap.build.LayerFilterChain.doFilter(LayerFilterChain.java:57) at uk.me.parabola.mkgmap.build.LayerFilterChain.startFilter(LayerFilterChain.java:75) at uk.me.parabola.mkgmap.build.MapBuilder.processLines(MapBuilder.java:846) at uk.me.parabola.mkgmap.build.MapBuilder.makeSubdivision(MapBuilder.java:629) at uk.me.parabola.mkgmap.build.MapBuilder.makeMapAreas(MapBuilder.java:564) at uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:171) at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:96) at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:61) at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:168) at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:166) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Exiting - if you want to carry on regardless, use the --keep-going option cheers Gert

Gert,
I just took a quick look at the code and I can't see why extended types are not acceptable in mp files. Please post the error message you got.
Ok. here it is.
D:\GPS\mkgmap-r1152>java -Xmx512m -jar mkgmap.jar -c wkr_options.txt *.mp SCHWERWIEGEND (Main): java.util.concurrent.ExecutionException: java.lang.NullPointerException java.util.concurrent.ExecutionException: java.lang.NullPointerException
Just committed a fix for this. You should be able to use extended types in mp files now. I shall work on the extended type attributes so that they are usable from mp files using the syntax described in the cgpsmapper documentation. Cheers, Mark

Hi, Mark,
/ D:\GPS\mkgmap-r1152>java -Xmx512m -jar mkgmap.jar -c wkr_options.txt *.mp />>/ SCHWERWIEGEND (Main): java.util.concurrent.ExecutionException: java.lang.NullPointerException />>/ java.util.concurrent.ExecutionException: java.lang.NullPointerException />>
Just committed a fix for this. You should be able to use extended types in mp files now.
Thanks for this very fast help. Though i'm able to build a version from svn, i will wait for the snapshot for testing it.
I shall work on the extended type attributes so that they are usable from mp files using the syntax described in the cgpsmapper documentation.
Cheers,
Mark
Thank you very much in advance cheers Gert P.S Accidentally i just read it : do you still need a unlocked routable tile like Metroguide? ------------------------------------------------------------------------

Hi Gert,
Thanks for this very fast help.
You're welcome.
Though i'm able to build a version from svn, i will wait for the snapshot for testing it.
OK.
I shall work on the extended type attributes so that they are usable from mp files using the syntax described in the cgpsmapper documentation.
I have now done this but as you may not want to use them anyway, it's probably best if I just commit that stuff and if it turns out to have any issues, we can fix them later. But if you want to test a patch before it's committed, I can easily issue one.
Accidentally i just read it : do you still need a unlocked routable tile like Metroguide?
No, thanks. Cheers, Mark

Hi, Mark,
/ >I shall work on the extended type attributes so that they are usable />/ >from mp files using the syntax described in the cgpsmapper />/ >documentation./
I have now done this but as you may not want to use them anyway, it's probably best if I just commit that stuff and if it turns out to have any issues, we can fix them later. But if you want to test a patch before it's committed, I can easily issue one.
Wow, you are like a hurricane. Actually i will make first steps with using extended types. Afterwards and not until you commit it, i will try this attribute stuff of extended type. But anyway, thanks for offering a patch to test it. In fact since yet i never tried to apply a patch and build mkgmap. Ok, maybe soon i will try this also. cheers Gert

Hi, Mark for information only:
Just committed a fix for this. You should be able to use extended types in mp files now.
I just run a small test. r1155 you commited now seems to work fine with polish format datafiles and extended Garmin types. Upcoming commited version of extended types + attributes i will test after it is available. cheers Gert

Hi Gert,
I just run a small test. r1155 you commited now seems to work fine with polish format datafiles and extended Garmin types.
Good.
Upcoming commited version of extended types + attributes i will test after it is available.
I shall commit that stuff soon as although it probably isn't perfect, any bugs there should not break anything else (and can be fixed as they surface) Cheers, Mark

Hi Gert, I just took a quick look at the code and I can't see why extended types are not acceptable in mp files. Please post the error message you got. The extended type attributes are not yet supported for mp files but I will look at implementing that. Cheers, Mark
participants (10)
-
charlie@cferrero.net
-
Clinton Gladstone
-
Felix Hartmann
-
Gert Münzel
-
Greg Troxel
-
Mark Burton
-
Simon Josefsson
-
Steve Ratcliffe
-
svn commit
-
Thilo Hannemann