Re: [mkgmap-dev] Memory limits for mkgmap and splitter

2009-07-02 Thread Steve Ratcliffe
Hi > Could you please tell me which "Map" would have to be "reimplemented"? > There was a lot of changes (and file deletions) since version 3. Yes, it is completely different code. The original code (r3) did nothing except attempt to save the nodes to a berkeley db. I then gave up on it and wro

[mkgmap-dev] Re: [mkgmap-svn] Commit: r1073: Add highway shields and other ways of modifying values in the style files.

2009-07-02 Thread Toby Speight
0> In article <20090702110711.ga13...@parabola.demon.co.uk>, 0> Steve Ratcliffe mailto:st...@parabola.demon.co.uk> ("Steve") wrote: Steve> So I think that perhaps just using the '8-bit' codes everywhere Steve> except in the final translation in Format6Encoder would just Steve> work. Oh yes, that'

Re: [mkgmap-dev] Memory limits for mkgmap and splitter

2009-07-02 Thread Paul Ortyl
2009/7/1 Steve Ratcliffe : > Hi > >> In PERL it is builtin "tie" functionality, I have, however, no idea >> what is the used data structure in mkgmap and splitter and how to >> translate the trick into Java. >> If you think that the change is trivial and point me to the critical >> section I might

[mkgmap-dev] Commit: r1074: Sends a message to the console from an action block.

2009-07-02 Thread svn commit
Version 1074 was commited by steve on 2009-07-02 19:53:23 +0100 (Thu, 02 Jul 2009) Sends a message to the console from an action block. Useful to see what is happening when creating complex rules. - Richard Fairhurst ___ mkgmap-dev mailing list mkgma

Re: [mkgmap-dev] Re: Questions related to practical usage of MKGMAP

2009-07-02 Thread Felix Hartmann
2009/7/2 Marko Mäkelä > On Thu, Jul 02, 2009 at 12:52:21PM +0200, Felix Hartmann wrote: > > You think wrongly here, you don't have an infinite list of objects > available > > for the typfile, so adding things like Bahnhof or Strasse has to be done > in > > data, not TYP File (no conditions possib

Re: [mkgmap-dev] Re: Questions related to practical usage of MKGMAP

2009-07-02 Thread Thilo Hannemann
May I point you to the wiki page http://wiki.openstreetmap.org/wiki/OSM_Map_On_Garmin/POI_Types where I try to collect the mapping of the Garmin types to the categories for different GPS units. If you own a GPS unit of a different product line it would be great if you could collect t

Re: [mkgmap-dev] Commit: r1073: Add highway shields and other ways of modifying values in the style files.

2009-07-02 Thread Steve Ratcliffe
Hi > I would like to thank all who contributed to making highway shields > possible in mkgmap. Although I am unsure if I can use the changes > directly, given that I am using polish format files as input, I have Yes we need to read the polish format symbols too. If there is not a patch alr

Re: [mkgmap-dev] Re: Questions related to practical usage of MKGMAP

2009-07-02 Thread Someoneelse
Marko Mäkelä wrote: ... Some symbol codes, such as "Ground Transport" in the Find Places menu, are overloaded. If we want bus stops, tram stops, underground stations, bus stations, and train stations appear there nicely, the only way we can distinguish them is by a name prefix or suffix. +1 to

Re: [mkgmap-dev] Re: Questions related to practical usage of MKGMAP

2009-07-02 Thread Marko Mäkelä
On Thu, Jul 02, 2009 at 12:52:21PM +0200, Felix Hartmann wrote: > You think wrongly here, you don't have an infinite list of objects available > for the typfile, so adding things like Bahnhof or Strasse has to be done in > data, not TYP File (no conditions possible). TYP File tags will only show >

Re: [mkgmap-dev] Commit: r1073: Add highway shields and other ways of modifying values in the style files.

2009-07-02 Thread Garvan & maew
svn commit wrote: Version 1073 was commited by steve on 2009-07-02 12:55:28 +0100 (Thu, 02 Jul 2009) Add highway shields and other ways of modifying values in the style files. Implemented as a series of modifiers that can be used in the style files. HighwaySymbolFilter: inserts the highway sy

Re: [mkgmap-dev] Style rules and 'generated' tags

2009-07-02 Thread Richard Fairhurst
Steve Ratcliffe wrote: There is nothing wrong with this and I would like it to work. However what currently happens is that for each node/way/relation I go through the tags exactly once and find the earliest rule that matches. Rules with actions have the actions run when seen. So in this case

Re: [mkgmap-dev] Style rules and 'generated' tags

2009-07-02 Thread Steve Ratcliffe
Hi Richard > The rules I’m using (in ‘lines’) are this: > > ncn_ref=* { set ncn=yes; echo 'Converting from ${ncn_ref}'; } > ( highway=bridleway | highway=byway | highway=cycleway | > highway=track | highway=footway) & ( ncn=yes | rcn=yes ) > { set offroad='yes'; echo

Re: [mkgmap-dev] Commit: r1073: Add highway shields and other ways of modifying values in the style files.

2009-07-02 Thread Mark Burton
Shouldn't these symbol names be the same (the other symbol names are)? HighwaySymbolFilter: + symbols.put("hbox", "\u0004"); // box with horizontal bands PrependFilter.java: + symbols_6bit.put("boxx", "\u002d"); // box with horizontal bands + symbols_8bi

[mkgmap-dev] Re: [mkgmap-svn] Commit: r1073: Add highway shields and other ways of modifying values in the style files.

2009-07-02 Thread Steve Ratcliffe
Hi So the highway shield patch is in, sorry about the delay, let me know if that is not the latest or if there are any updates. I have a couple of questions First is the PrependFilter still really needed? Also it doesn't appear to work with 6 bit. I think the documentation is overly complex

[mkgmap-dev] Commit: r1073: Add highway shields and other ways of modifying values in the style files.

2009-07-02 Thread svn commit
Version 1073 was commited by steve on 2009-07-02 12:55:28 +0100 (Thu, 02 Jul 2009) Add highway shields and other ways of modifying values in the style files. Implemented as a series of modifiers that can be used in the style files. HighwaySymbolFilter: inserts the highway symbol markers after

Re: [mkgmap-dev] Re: Questions related to practical usage of MKGMAP

2009-07-02 Thread Felix Hartmann
2009/7/2 Marko Mäkelä > On Thu, Jul 02, 2009 at 09:30:30AM +0100, Dermot McNally wrote: > > 2009/7/2 Toby Speight : > > > > > That's not the best way to do a case-insensitive test - the reason > being > > > that in some languages (e.g. French, I think) upper case letters have > no > > > accents.

Re: [mkgmap-dev] Re: Questions related to practical usage of MKGMAP

2009-07-02 Thread Marko Mäkelä
On Thu, Jul 02, 2009 at 09:30:30AM +0100, Dermot McNally wrote: > 2009/7/2 Toby Speight : > > > That's not the best way to do a case-insensitive test - the reason being > > that in some languages (e.g. French, I think) upper case letters have no > > accents.  So "Ecole" should match "école" (again

Re: [mkgmap-dev] Re: Questions related to practical usage of MKGMAP

2009-07-02 Thread Dermot McNally
2009/7/2 Toby Speight : > That's not the best way to do a case-insensitive test - the reason being > that in some languages (e.g. French, I think) upper case letters have no > accents.  So "Ecole" should match "école" (again, excuse my poor French > if necessary!).  Also, in German, "Straße" shoul

[mkgmap-dev] Re: Questions related to practical usage of MKGMAP

2009-07-02 Thread Toby Speight
0> In article <56aa797e-5e8d-477f-b4a1-b2a113f41...@gmx.de>, 0> Thilo Hannemann mailto:thann...@gmx.de> ("Thilo") wrote: Thilo> And finally one patch that you might want to apply: "start-with". Thilo> This adds a text filter for variable substitution. You can say Thilo> for example $ {name|start-

[mkgmap-dev] Style rules and 'generated' tags

2009-07-02 Thread Richard Fairhurst
Hi all, I’ve been trying to work on some style rule files and am running into a few problems. The rules I’m using (in ‘lines’) are this: ncn_ref=* { set ncn=yes; echo 'Converting from ${ncn_ref}'; } ( highway=bridleway | highway=byway | highway=cycleway | highway=