Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot detect image type in meta file #1

Open
zsoooc opened this issue Feb 22, 2018 · 5 comments
Open

Cannot detect image type in meta file #1

zsoooc opened this issue Feb 22, 2018 · 5 comments

Comments

@zsoooc
Copy link

zsoooc commented Feb 22, 2018

I have a problem with meta2tile. I have a tile server and I pre-generated the tiles with render_list command. When I run the meta2tile program, I got error messages:
"cannot detect image type in meta file var/lib/mod_tile/default/660/0/0/50/128.meta" Why?
And converted only 1 file in zoom level 0. I generated this tile when I tested the server.

@woodpeck
Copy link
Contributor

Converting only 1 file in zoom level 0 is expected. There is only one tile on zoom level 0. Can you make your .meta file available?

@zsoooc
Copy link
Author

zsoooc commented Feb 22, 2018

@woodpeck I uploaded a .meta here:
https://drive.google.com/file/d/1JZUHdBYnlrpkGSVqu8paAv3HCg6uKBLz/view?usp=sharing

which is generated by render_list command, and than I wanted to convert these meta tiles (zoom level 0 to 12) to png tiles with meta2tile and it said "cannot detect image type in meta file" .
What cause the problem?

@woodpeck
Copy link
Contributor

This meta tile is a zoom 6 meta tile, not a zoom 0 one, and it processes correctly on my machine. However the path "default/660/0/0/50/128.meta" is not recognized be the program as a valid path. How did the "660" come about?

@zsoooc
Copy link
Author

zsoooc commented Feb 22, 2018

@woodpeck
I mistyped the 660. The problem is not here.
So, my metatiles are here: /var/lib/mod_tile/default/[zoom level]
I ran the meta2tile with this command: sudo ./meta2tile var/lib/mod_tile/default/ /home/pngtiles

How did you run the mod2tile when tested my meta file? What command?

@darkoromanov
Copy link

same issue here, has been this fixed? how?

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

No branches or pull requests

3 participants