Re: [mkgmap-dev] New branch for default typ file

2018-11-26 Thread Gerd Petermann
Hi Ticker,

I don't like the directory name TYPs. One reason is that the directory doesn't 
contain *.TYP files, the other is that one might want to write TYPes instead.
I'd prefer typ-files or maybe typ-sources.

Gerd


Von: mkgmap-dev  im Auftrag von Ticker 
Berkin 
Gesendet: Montag, 19. November 2018 13:07
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] New branch for default typ file

Hi

I suspect there will be a few TYP files for different usages.

I propose that they should be handled like the styles, where they are
gathered in a directory resources/TYPs and the build process copies
then to dist/examples/TYPs

I don't think a new branch is necessary, as there is nothing in the
system at the moment.

I'd like to submit my most basic TYPfile and attach the file and patch.
This, along with option --order-by-decreasing-area, has been adequate
for me for a few years (but I have problems with my new Etrex 30x not
showing some line types)

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


Re: [mkgmap-dev] default style improvements

2018-11-26 Thread Gerd Petermann
Hi Ticker,

yes, your are right. I was a bit distracted because of some work for JOSM...
Committed now .

Gerd


Von: mkgmap-dev  im Auftrag von Ticker 
Berkin 
Gesendet: Montag, 26. November 2018 11:15
An: mkgmap-dev@lists.mkgmap.org.uk
Betreff: Re: [mkgmap-dev] default style improvements

Hi Gerd

Given lack of objections to any of this, could defaultStyleTidy2.patch
be applied to trunk.

Thanks
Ticker

On Fri, 2018-11-16 at 16:56 +, Ticker Berkin wrote:
> Hi
>
> This is the next batch of default style changes.
>
> I don't think anything here is contention. The changes are:
>
> A few minor white-space changes that I missed in the previous batch.
>
> Remove unnecessary () in conditions
>
> Add tmp: prefix to tags that are just used by the style logic, so it
> is
> clear they don't have special meaning to the mkgmap code and don't
> overwrite osm tags. There are still a few tags created in relation
> that
> I think should be renamed (mkgmap:boundary_name, mkgmap:relref,
> mkgmap:fast_road, mkgmap:us_interstate, mkgmap:us_usroute,
> mkgmap:us_state) but I won't do this yet.
>
> Ferries default to mkgmap:toll=yes
>
> add a few new points:
>  amenity=charging_station
>  amenity=grave_yard, crematorium
>  amenity=post_box
>  amenity=recycling
>  amenity=restaurant, cuisine=curry, fish_and_chips, indian, seafood
>  amenity=swimming_pool
>  tourism=bed_and_breakfast
>
> add default name, either as [default_name ...] or {add name=...} to:
>  amenity=fast_food
>  amenity=prison
>  amenity=restaurant
>  amenity=playground
>  amenity=recreation_ground
>  shop=*
>  tourism=*
>  man_made=*
>
> Improve Embassy name
>
> Ticker
>
> ___
> mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


[mkgmap-dev] Commit r4257: defaultStyleTidy2.patch by Ticker Berkin. His comments:

2018-11-26 Thread svn commit
Version mkgmap-r4257 was committed by gerd on Mon, 26 Nov 2018

defaultStyleTidy2.patch by Ticker Berkin. His comments:
The changes are:

A few minor white-space changes that I missed in the previous batch.

Remove unnecessary () in conditions

Add tmp: prefix to tags that are just used by the style logic, so it is
clear they don't have special meaning to the mkgmap code and don't
overwrite osm tags. There are still a few tags created in relation that
I think should be renamed (mkgmap:boundary_name, mkgmap:relref,
mkgmap:fast_road, mkgmap:us_interstate, mkgmap:us_usroute,
mkgmap:us_state) but I won't do this yet.

Ferries default to mkgmap:toll=yes

add a few new points:
 amenity=charging_station
 amenity=grave_yard, crematorium
 amenity=post_box
 amenity=recycling
 amenity=restaurant, cuisine=curry, fish_and_chips, indian, seafood
 amenity=swimming_pool
 tourism=bed_and_breakfast

add default name, either as [default_name ...] or {add name=...} to:
 amenity=fast_food
 amenity=prison
 amenity=restaurant
 amenity=playground
 amenity=recreation_ground
 shop=*
 tourism=*
 man_made=*

Improve Embassy name 

http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4257
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] Commit r4256: Line pixmap width check, and unicode typ files

2018-11-26 Thread osm@pinns

@Steve

Checked CP65001 and this works well

One small issue:

It doesn't accept comments when parsing truecolors

ie ;colours

dayxpm="18 18 0 1" colormode=0
;colours
"#F5EDA9"
"#F5EDA9"
"#F5EDA9"
"#F5EDA9"

 I get

SEVERE (MapFailedException): C:\Users\Owner\Desktop\topo_65002.txt: 
(thrown in T
ypCompiler.makeMap()) Compiling TYP txt file: Error: 
(C:\Users\Owner\Desktop\top

o_65002.txt:16033): Expecting ", instead saw ;

Regards

Nick

On 26/11/2018 11:01, svn commit wrote:

Version mkgmap-r4256 was committed by steve on Mon, 26 Nov 2018

Line pixmap width check, and unicode typ files

http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4256
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

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

[mkgmap-dev] Commit r4256: Line pixmap width check, and unicode typ files

2018-11-26 Thread svn commit
Version mkgmap-r4256 was committed by steve on Mon, 26 Nov 2018

Line pixmap width check, and unicode typ files

http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4256
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] New branch for default typ file

2018-11-26 Thread Ticker Berkin
Hi Gerd

Should we start dist/examples/TYPs/* as per my email on 19-Nov?

Ticker 


On Mon, 2018-11-19 at 12:44 -0500, Greg Troxel wrote:
> Ticker Berkin  writes:
> 
> > I suspect there will be a few TYP files for different usages.
> 
> perhaps, but as I understand it there can be a lot of
> include/not-include in styles, so I see TYP files being different as
> a
> high-level difference, within which there can be maps built for
> different reasons.   And I would hope there would be fewer TYP files,
> just because things are confusing enough.
> 
> > I propose that they should be handled like the styles, where they
> > are
> > gathered in a directory resources/TYPs and the build process copies
> > then to dist/examples/TYPs
> > 
> > I don't think a new branch is necessary, as there is nothing in the
> > system at the moment.
> > 
> > I'd like to submit my most basic TYPfile and attach the file and
> > patch.
> > This, along with option --order-by-decreasing-area, has been
> > adequate
> > for me for a few years (but I have problems with my new Etrex 30x
> > not
> > showing some line types)
> 
> That sounds fine to me.  I would hope that the TYP file is not
> actually
> checked in, but the source code that the mkgmap TYP compiler users,
> so
> it can be edited easily.
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] default style improvements

2018-11-26 Thread Ticker Berkin
Hi Gerd

Given lack of objections to any of this, could defaultStyleTidy2.patch
be applied to trunk.

Thanks
Ticker

On Fri, 2018-11-16 at 16:56 +, Ticker Berkin wrote:
> Hi
> 
> This is the next batch of default style changes.
> 
> I don't think anything here is contention. The changes are:
> 
> A few minor white-space changes that I missed in the previous batch.
> 
> Remove unnecessary () in conditions
> 
> Add tmp: prefix to tags that are just used by the style logic, so it
> is
> clear they don't have special meaning to the mkgmap code and don't
> overwrite osm tags. There are still a few tags created in relation
> that
> I think should be renamed (mkgmap:boundary_name, mkgmap:relref,
> mkgmap:fast_road, mkgmap:us_interstate, mkgmap:us_usroute,
> mkgmap:us_state) but I won't do this yet.
> 
> Ferries default to mkgmap:toll=yes
> 
> add a few new points:
>  amenity=charging_station
>  amenity=grave_yard, crematorium
>  amenity=post_box
>  amenity=recycling
>  amenity=restaurant, cuisine=curry, fish_and_chips, indian, seafood
>  amenity=swimming_pool
>  tourism=bed_and_breakfast
> 
> add default name, either as [default_name ...] or {add name=...} to:
>  amenity=fast_food
>  amenity=prison
>  amenity=restaurant
>  amenity=playground
>  amenity=recreation_ground
>  shop=*
>  tourism=*
>  man_made=*
> 
> Improve Embassy name
> 
> Ticker
> 
> ___
> mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev