logo separator

[mkgmap-dev] building catch all

From Minko ligfietser at online.nl on Fri Jul 18 08:23:05 BST 2014

Can someone commit this to the styles, tourism areas and grave yards are still rendered as buildings.

In the polygons file, I would suggest to change these lines:
 
 - (building=* | amenity=*) & area!=no [0x13 resolution 24]
 - tourism=* & area!=no & waterway!=* [0x13 resolution 24]
 
 + (building=* | amenity=*) & area!=no & amenity!=grave_yard [0x13 resolution 24]
 + tourism=* & area!=no & waterway!=* [0x1f resolution 24]

Then there are more non-building man_made areas that are rendered as buildings:
man_made=groyne
man_made=man_made=reinforced_slope

These should be added to the polygon style file:

man_made=* & area!=no
& (man_made!=door & man_made!=embankment & man_made!=breakwater
   & man_made!=cable_line & man_made!=cutline & man_made!=cutting
   & man_made!=levee & man_made!=trench
   & man_made!=groyne & man_made!=reinforced_slope)
[0x13 resolution 24]


> 
> Wanmil wrote:
> > > could you post a patch for all the changes? Otherwise I will not
> > > be
> > > able
> > > to commit it soon because I do not have much time at the moment...
> > >
> >
> 
> Chris wrote:
> > Hi,
> > this is my suggestion:
> >
> > ----------------------------------------------------------------------
> >
> > # building tag should be last
> > (building=* | amenity=*) & area!=no [0x13 resolution 24]
> > tourism=* & area!=no & waterway!=* [0x13 resolution 24]
> > # man_made can be used on areas or lines
> > man_made=* & area!=no
> > & (man_made!=door & man_made!=embankment & man_made!=breakwater
> > & man_made!=cable_line & man_made!=cutline & man_made!=cutting
> > & man_made!=levee & man_made!=trench)
> > [0x13 resolution 24]
> > man_made=* & area=yes
> > [0x13 resolution 24]
> >
> > ----------------------------------------------------------------------
> >
> >
> > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> >
> >
> > tourism=camp_site [0x19 resolution 21]
> > tourism=picnic_site [0x19 resolution 21]
> > tourism=hotel [0x13 resolution 24]
> > tourism=guest_house [0x13 resolution 24]
> > tourism=motel [0x13 resolution 24]
> > tourism=museum [0x13 resolution 24]
> > tourism=zoo [0x17 resolution 21]
> >
> > building=* [0x13 resolution 24]
> >
> > man_made=chimney [0x13 resolution 24]
> > man_made=silo [0x13 resolution 24]
> > man_made=storage_tank [0x13 resolution 24]
> > man_made=wastewater_plant [0x0c resolution 21]
> > man_made=works [0x0c resolution 21]
> >
> >
> > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> 
> 
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


More information about the mkgmap-dev mailing list