Closed openstreetmap-trac closed 3 years ago
Author: lambertus [Added to the original trac issue at 12.48pm, Thursday, 2nd July 2009]
(In [16267]) Added some more mass import tags to the pak rebuild filter (refs #2017)
Author: nroets[at]gmail.com [Added to the original trac issue at 10.54am, Wednesday, 4th November 2009]
I hope it is now sufficient. Below is an excerpt.
The blocking has been moved from the rebuild to the Osm2Gosmore() function, where it should be easier to maintain and expand.
strncasecmp (i->first, "LandPro08:", 10) != 0 &&
strncasecmp (i->first, "NHD:", 4) != 0 &&
strncasecmp (i->first, "massgis:", 8) != 0 &&
strcmp (i->first, "addr:street") != 0 &&
strcmp (i->first, "addr:postcode") != 0 &&
strcmp (i->first, "addr:state") != 0 &&
strcmp (i->first, "addr:city") != 0 &&
strcmp (i->first, "addr:country") != 0 &&
strncasecmp (i->first, "KSJ2:", 5) != 0 &&
strncasecmp (i->first, "geobase:", 8) != 0 &&
strncasecmp (i->first, "kms:", 4) != 0 &&
Reporter: styno[at]hotmail.com [Submitted to the original trac issue database at 10.29am, Thursday, 2nd July 2009]
Mass gis imports often add lots of tags to nodes and ways. A lot of disk space can be saved by filtering these tags during the pak file (re)build.