Hi Carlos,

yes, you are right, and splitter is using it.
I thought the missing name was the reason for the introduction of  the
polygon-desc-file parameter in splitter, but in fact it was the possibility to
define multiple areas with different names, and I think that is not possible
with the *.poly format.
After writing my previous post I thought it would
also be a good thing to extract an area from the bounds files.
The advantage would be that we don't have to mess with different
areas in the boundaries and a polygon file, but I am not sure
that the existing format allows that, as it is optimized for the LocationHook.

Gerd

> Date: Fri, 19 Dec 2014 11:07:24 +0100
> From: cdavilam@orangecorreo.es
> To: mkgmap-dev@lists.mkgmap.org.uk
> Subject: Re: [mkgmap-dev] A few thoughts on non-rectangular tiles
>
> El 11/12/14 a las 11:20, GerdP escribió:
> > Hi Steve,
> >
> > If I got it right, we need these changes:
> > 1) an option to pass the polgon(s) to mkgmap.
> > I don't know which format is good for this. In splitter we use the OSM
> > (xml, o5m, pbf) format to pass named polygons (with --polygon-desc-file)
> > or the *.poly format (with --polygon-file ) from
> > osmosis which doesn't allow named polygons.
> *.poly files may contain polygon name before the list of coordinates.
> For example:
> |cuba||
> ||1||
> || -85.08 23.55||
> || -78.68 23.55||
> || -73.46 20.40||
> || -73.84 19.73||
> || -77.76 19.01||
> || -79.26 20.23||
> || -85.12 21.27||
> || -85.08 23.55||
> ||END||
> ||END|
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev