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

convert_meta has problems when DIRECTORY_HASH is undefined #2504

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment
Closed

Comments

@openstreetmap-trac
Copy link

Reporter: ColinMarquardt
[Submitted to the original trac issue database at 6.31pm, Wednesday, 25th November 2009]

I am trying to use convert_meta on single PNG files that generate_tiles.py has produced, and therefore I have undefined DIRECTORY_HASH.

There seem to be two problems:

  1. convert_meta should still construct a metatile even when it cannot find all of the 8x8 PNG files. Right now, it gives up on that metatile.

  2. It seems to overwrite the same file multiple times. Example, also showing the problem from 1):

Problem reading sub tiles for metatile xml(metatiles) x(160) y(104) z(8), got -1
Produced .meta: /mnt/user-store/osm_hillshading/metatiles/8/0/0.meta
Produced .meta: /mnt/user-store/osm_hillshading/metatiles/8/0/0.meta
Produced .meta: /mnt/user-store/osm_hillshading/metatiles/8/0/0.meta
Problem reading sub tiles for metatile xml(metatiles) x(168) y(104) z(8), got -1
Problem reading sub tiles for metatile xml(metatiles) x(176) y(80) z(8), got -1

This is with r18807.

@openstreetmap-trac
Copy link
Author

Author: iandees
[Added to the original trac issue at 9.46pm, Monday, 9th September 2013]

Cleaning aging tickets.

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