Progress so far on the RAWR tiles phase 3 work, which is getting towards being able to allow tilequeue to query from a RAWR tile as well as a database. Changes to support this in the RAWR tile format are mostly around adding the extra information about ways and relations that it needs, and having a way to efficiently query that for individual features.
Changes in this PR include:
Improved and extended documentation.
Refactored main program, adding command line argument support through argparse.
Use gzip level 5 rather than 9, as it keeps most of the compression but drastically reduces the time spent compressing.
Add ways and relations "tables", which are simply serialisations of the database rows.
Add indexes over RAWR tiles, used when querying for specific tiles, or features with specific properties (e.g: gates in highways, roads in routes relations).
Progress so far on the RAWR tiles phase 3 work, which is getting towards being able to allow
tilequeue
to query from a RAWR tile as well as a database. Changes to support this in the RAWR tile format are mostly around adding the extra information about ways and relations that it needs, and having a way to efficiently query that for individual features.Changes in this PR include:
argparse
.gzip
level 5 rather than 9, as it keeps most of the compression but drastically reduces the time spent compressing.ways
andrelations
"tables", which are simply serialisations of the database rows.