Re: [mkgmap-dev] Outlines of states/provinces

2022-08-08 Thread Steven Miller
Thanks to all! I suspect that, in order to build the types of maps I’m after, 
the learning curve is years long.

Steven Miller
srm...@hotmail.com
(717) 562-2879

From: Gerd Petermann<mailto:gpetermann_muenc...@hotmail.com>
Sent: Monday, August 8, 2022 5:32 AM
To: Development list for mkgmap<mailto:mkgmap-dev@lists.mkgmap.org.uk>
Subject: Re: [mkgmap-dev] Outlines of states/provinces

Hi Steven,

in addition to Tickers reply there are these lines in the relations file
# Names of administrative boundaries.
# We could want to sort the relations in ascending order of admin_level
# and alphabetically by name first.
# Currently, the matching relations will be processed and the names
# appended to the boundary lines in an arbitrary order.

(type=boundary | type=multipolygon) & boundary=administrative & name=*
{ apply
  {
set mkgmap:boundary_name='$(mkgmap:boundary_name)/${name}' | '${name}';
  }

Note that many (most?) ways with type=boundary are members in two or more 
relations. See e.g. https://www.openstreetmap.org/way/78508178
The above rule collects the names with the separator / between.

Gerd


Von: mkgmap-dev  im Auftrag von Ticker 
Berkin 
Gesendet: Montag, 8. August 2022 10:12
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] Outlines of states/provinces

Hi Steve

Assuming you haven't overridden the default style, these boundary lines
are triggered by:

boundary=administrative {name '${mkgmap:boundary_name}'}
boundary=administrative & admin_level<3 [0x1e resolution 12]
boundary=administrative & admin_level<5 [0x1d resolution 19]
boundary=administrative & admin_level<7 [0x1c resolution 21]
boundary=administrative & admin_level<9 [0x1c resolution 22]
boundary=administrative [0x1c resolution 22]
boundary=national [0x1e resolution 17]
boundary=political [0x1c resolution 19]

which you can see in file {mkgmap}\examples\styles\default\lines around
line 245

Ticker

On Sun, 2022-08-07 at 21:07 +, Steven Miller wrote:
> I’m new to mkgmap and am still learning the basics. Having said that,
> I’ve downloaded the US-South sub-region from geofabrik.de and I can
> see a country dividing line or boundary between the state of Texas
> and Mexico. It’s a thin grey line. I’d like to know how to create
> these boundaries. Can anyone provide a brief overview of how to go
> about this? I know this question demonstrates a real lack of
> knowledge about how this whole thing works, but I’m learning as I go.
>
> Thanks a bunch, for anyone willing to tackle this ;-)
>
> Steve
>
> Steven Miller
> srm...@hotmail.com
> (717) 562-2879
>
> ___
> mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] Outlines of states/provinces

2022-08-08 Thread Gerd Petermann
Hi Steven,

in addition to Tickers reply there are these lines in the relations file
# Names of administrative boundaries.
# We could want to sort the relations in ascending order of admin_level
# and alphabetically by name first.
# Currently, the matching relations will be processed and the names
# appended to the boundary lines in an arbitrary order.

(type=boundary | type=multipolygon) & boundary=administrative & name=*
{ apply
  {
set mkgmap:boundary_name='$(mkgmap:boundary_name)/${name}' | '${name}';
  }

Note that many (most?) ways with type=boundary are members in two or more 
relations. See e.g. https://www.openstreetmap.org/way/78508178
The above rule collects the names with the separator / between.

Gerd


Von: mkgmap-dev  im Auftrag von Ticker 
Berkin 
Gesendet: Montag, 8. August 2022 10:12
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] Outlines of states/provinces

Hi Steve

Assuming you haven't overridden the default style, these boundary lines
are triggered by:

boundary=administrative {name '${mkgmap:boundary_name}'}
boundary=administrative & admin_level<3 [0x1e resolution 12]
boundary=administrative & admin_level<5 [0x1d resolution 19]
boundary=administrative & admin_level<7 [0x1c resolution 21]
boundary=administrative & admin_level<9 [0x1c resolution 22]
boundary=administrative [0x1c resolution 22]
boundary=national [0x1e resolution 17]
boundary=political [0x1c resolution 19]

which you can see in file {mkgmap}\examples\styles\default\lines around
line 245

Ticker

On Sun, 2022-08-07 at 21:07 +, Steven Miller wrote:
> I’m new to mkgmap and am still learning the basics. Having said that,
> I’ve downloaded the US-South sub-region from geofabrik.de and I can
> see a country dividing line or boundary between the state of Texas
> and Mexico. It’s a thin grey line. I’d like to know how to create
> these boundaries. Can anyone provide a brief overview of how to go
> about this? I know this question demonstrates a real lack of
> knowledge about how this whole thing works, but I’m learning as I go.
>
> Thanks a bunch, for anyone willing to tackle this ;-)
>
> Steve
>
> Steven Miller
> srm...@hotmail.com
> (717) 562-2879
>
> ___
> mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] Outlines of states/provinces

2022-08-08 Thread Ticker Berkin
Hi Steve

Assuming you haven't overridden the default style, these boundary lines
are triggered by:

boundary=administrative {name '${mkgmap:boundary_name}'}
boundary=administrative & admin_level<3 [0x1e resolution 12]
boundary=administrative & admin_level<5 [0x1d resolution 19]
boundary=administrative & admin_level<7 [0x1c resolution 21]
boundary=administrative & admin_level<9 [0x1c resolution 22]
boundary=administrative [0x1c resolution 22]
boundary=national [0x1e resolution 17]
boundary=political [0x1c resolution 19]

which you can see in file {mkgmap}\examples\styles\default\lines around
line 245

Ticker

On Sun, 2022-08-07 at 21:07 +, Steven Miller wrote:
> I’m new to mkgmap and am still learning the basics. Having said that,
> I’ve downloaded the US-South sub-region from geofabrik.de and I can
> see a country dividing line or boundary between the state of Texas
> and Mexico. It’s a thin grey line. I’d like to know how to create
> these boundaries. Can anyone provide a brief overview of how to go
> about this? I know this question demonstrates a real lack of
> knowledge about how this whole thing works, but I’m learning as I go.
>  
> Thanks a bunch, for anyone willing to tackle this ;-)
>  
> Steve
>  
> Steven Miller
> srm...@hotmail.com
> (717) 562-2879
>  
> ___
> mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

[mkgmap-dev] Outlines of states/provinces

2022-08-07 Thread Steven Miller
I’m new to mkgmap and am still learning the basics. Having said that, I’ve 
downloaded the US-South sub-region from geofabrik.de and I can see a country 
dividing line or boundary between the state of Texas and Mexico. It’s a thin 
grey line. I’d like to know how to create these boundaries. Can anyone provide 
a brief overview of how to go about this? I know this question demonstrates a 
real lack of knowledge about how this whole thing works, but I’m learning as I 
go.

Thanks a bunch, for anyone willing to tackle this ;-)

Steve

Steven Miller
srm...@hotmail.com
(717) 562-2879

___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev