Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Add more mass gis import tag filters in the pak rebuild #2017

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments
Closed

Add more mass gis import tag filters in the pak rebuild #2017

openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments

Comments

@openstreetmap-trac
Copy link

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.

@openstreetmap-trac
Copy link
Author

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)

@openstreetmap-trac
Copy link
Author

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 &&

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant