Opened 10 years ago

Closed 10 years ago

#2017 closed enhancement (fixed)

Add more mass gis import tag filters in the pak rebuild

Reported by: Lambertus Owned by: ddean@…
Priority: minor Milestone:
Component: gosmore Version:
Keywords: mass gis tag import filter Cc:

Description

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.

Change History (2)

comment:1 Changed 10 years ago by lambertus

(In [16267]) Added some more mass import tags to the pak rebuild filter (refs #2017)

comment:2 Changed 10 years ago by nroets@…

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.