some comments on mkgmap default style

Hi, some observation about the default style: 1. Coastlines are shown as thin blue lines, is it possible to render coastline as polygon, where sea areas are shaded as blue. A work around I did before is to manually edit all sea-areas and then add a natural=water tag (bad data edit) . 2. Administrative boundaries clutter the map. They appear like roads and can be confusing while driving. Suggestion is to make the admin boundaries thinner. Hope it helps improving the default stylesheet. -- cheers, maning ------------------------------------------------------ "Freedom is still the most radical idea of all" -N.Branden wiki: http://esambale.wikispaces.com/ blog: http://epsg4253.wordpress.com/ ------------------------------------------------------

maning sambale wrote:
2. Administrative boundaries clutter the map. They appear like roads and can be confusing while driving.
Agreed - do they have to be there at all? I can understand that maybe country boundaries should be present, but minor admin boundaries are a PITA. Steve

On Thu, Apr 16, 2009 at 11:19:33AM +0100, Steve Hosgood wrote:
maning sambale wrote:
2. Administrative boundaries clutter the map. They appear like roads and can be confusing while driving.
Agreed - do they have to be there at all? I can understand that maybe country boundaries should be present, but minor admin boundaries are a PITA.
Could the minor boundaries be displayed on close zoom levels? They can be useful when the neighbour of a large city is mostly agricultural. It's often nicer to ride a bicycle in rural areas, on minor roads with little traffic or intersections. Marko

0> In article <20090416102702.GA4109@x60s>, 0> Marko Mäkelä <URL:mailto:marko.makela@iki.fi> ("Marko") wrote: Marko> Could the minor boundaries be displayed on close zoom levels? Marko> They can be useful when the neighbour of a large city is mostly Marko> agricultural. It's often nicer to ride a bicycle in rural Marko> areas, on minor roads with little traffic or intersections. I have this in my style/lines: /------ | boundary=administrative | { name '${left:country}/${right:country}' | '${left:county}/${right:county}' } | boundary=administrative & admin_level<5 | boundary=national [0x1e resolution 17] | boundary=administrative & admin_level<7 | boundary=political [0x1d resolution 19] | #boundary=administrative [0x1c resolution 21] | boundary=national [0x1e resolution 17] | boundary=political [0x1c resolution 17] \------ I haven't really tweaked it to my liking, but it shows the principle.

Hi Toby, all, and sorry for replying to an old post. On Thu, Apr 16, 2009 at 03:57:41PM +0100, Toby Speight wrote:
0> In article <20090416102702.GA4109@x60s>, 0> Marko Mäkelä <URL:mailto:marko.makela@iki.fi> ("Marko") wrote:
Marko> Could the minor boundaries be displayed on close zoom levels? Marko> They can be useful when the neighbour of a large city is mostly Marko> agricultural. It's often nicer to ride a bicycle in rural Marko> areas, on minor roads with little traffic or intersections.
I have this in my style/lines:
/------ | boundary=administrative | { name '${left:country}/${right:country}' | '${left:county}/${right:county}' } | boundary=administrative & admin_level<5 | boundary=national [0x1e resolution 17] | boundary=administrative & admin_level<7 | boundary=political [0x1d resolution 19] | #boundary=administrative [0x1c resolution 21] | boundary=national [0x1e resolution 17] | boundary=political [0x1c resolution 17] \------
I haven't really tweaked it to my liking, but it shows the principle.
I adapted this for the default style last week. However, http://wiki.openstreetmap.org/wiki/Relation:boundary says that relations are used in order to avoid "name:left name:right, nation:right, region:right." I did not investigate if such *:left and *:right tags have been used in place of left:* and right:*, but I would like to remove the rules for left:* and right:* and solely rely on the relation names (one relation per country/province/city/suburb etc.). Seeing unnamed "State border" lines on the Garmin map should encourage mappers to define boundary relations. What do you think? Should I remove the rules for left:*, right:* names from the default style, or should I just add a comment to the effect that "these are deprecated, see the 'relations' file and wiki/Relation:boundary"? Best regards, Marko

0> In article <20091214215948.GC7911@x60s>, 0> Marko Mäkelä <URL:mailto:marko.makela@iki.fi> ("Marko") wrote: Marko> Hi Toby, all, and sorry for replying to an old post. Wow, that *is* old! :-) Marko> On Thu, Apr 16, 2009 at 03:57:41PM +0100, Toby Speight wrote:
I have this in my style/lines:
/------ | boundary=administrative | { name '${left:country}/${right:country}' | '${left:county}/${right:county}' } | boundary=administrative & admin_level<5 | boundary=national [0x1e resolution 17] | boundary=administrative & admin_level<7 | boundary=political [0x1d resolution 19] | #boundary=administrative [0x1c resolution 21] | boundary=national [0x1e resolution 17] | boundary=political [0x1c resolution 17] \------
I haven't really tweaked it to my liking, but it shows the principle.
Marko> I adapted this for the default style last week. Marko> Marko> However, http://wiki.openstreetmap.org/wiki/Relation:boundary says Marko> that relations are used in order to avoid "name:left name:right, Marko> nation:right, region:right." I did not investigate if such *:left and Marko> *:right tags have been used in place of left:* and right:*, but I Marko> would like to remove the rules for left:* and right:* and solely rely Marko> on the relation names (one relation per country/province/city/suburb Marko> etc.). Seeing unnamed "State border" lines on the Garmin map should Marko> encourage mappers to define boundary relations. Marko> Marko> What do you think? Should I remove the rules for left:*, right:* Marko> names from the default style, or should I just add a comment to Marko> the effect that "these are deprecated, see the 'relations' file Marko> and wiki/Relation:boundary"? The boundary relations weren't in (common) use at the time I wrote that rule; do we have a way to get the relation values onto the lines? If so, then great. As to whether to deprecate the above, or just remove it, I have no strong opinions. Thanks for chasing this up - and I though /I/ was a long way behind with reading this list!

Hi Toby, On Sat, Feb 06, 2010 at 11:58:23AM +0000, Toby Speight wrote:
Marko> What do you think? Should I remove the rules for left:*, right:* Marko> names from the default style, or should I just add a comment to Marko> the effect that "these are deprecated, see the 'relations' file Marko> and wiki/Relation:boundary"?
The boundary relations weren't in (common) use at the time I wrote that rule; do we have a way to get the relation values onto the lines? If so, then great. As to whether to deprecate the above, or just remove it, I have no strong opinions.
Thanks for chasing this up - and I though /I/ was a long way behind with reading this list!
I had to tweak a few things in mkgmap to get it to work correctly, but now the default style does apply the names from the relations. Very well, I will remove the left:*, right:* that I added to the default style shortly before learning that they are deprecated. Marko

0> In article <f902f9840904160217u62a6aacawf2ec35496a0cb78a@mail.gmail.com>, 0> maning sambale <URL:mailto:emmanuel.sambale@gmail.com> ("Maning") wrote: Maning> 1. Coastlines are shown as thin blue lines, is it possible to Maning> render coastline as polygon, where sea areas are shaded as Maning> blue. Yes, this is on the to-do list on the wiki. It's not just a style-file tweak, though, as the coastline segments need to be joined, and also we need to deal with tiles that are all sea or all land. It's something I might get motivated to work on, as I now live next to the sea and would find this really helpful.

Hi, On Thu, Apr 16, 2009 at 5:17 AM, maning sambale <emmanuel.sambale@gmail.com> wrote:
Hi,
some observation about the default style: 1. Coastlines are shown as thin blue lines, is it possible to render coastline as polygon, where sea areas are shaded as blue. A work around I did before is to manually edit all sea-areas and then add a natural=water tag (bad data edit) .
I have been working on a patch to automatically to create the ocean polygons but I'm currently in the middle of moving so I won't have a chance to finish it up for another week or two. I'll post a v1 patch as soon as I get a chance. Cheers, Ben
participants (5)
-
Ben Konrath
-
maning sambale
-
Marko Mäkelä
-
Steve Hosgood
-
Toby Speight