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

dzsave --layout=google xy or yx? #67

Closed
kjell opened this issue Jul 27, 2013 · 3 comments
Closed

dzsave --layout=google xy or yx? #67

kjell opened this issue Jul 27, 2013 · 3 comments

Comments

@kjell
Copy link

kjell commented Jul 27, 2013

dzsave with the google layout saves tiles as {z}/{y}/{x}. Shouldn't it be {z}/{x}/{y}?

Filename(url) format is /zoom/x/y.png
http://wiki.openstreetmap.org/wiki/Slippy_map_tilenames

Or is the google format different from Open Street Map and friends?

kjell@b607b1b makes the google layout save tiles the way I think it should.

@jcupitt
Copy link
Member

jcupitt commented Jul 27, 2013

Yes, I believe google format usually has directories full of rows of tiles. You can change this in the viewer by defining customGetTileUrl(), there's an example here:

https://code.google.com/p/virtualmicroscope/wiki/simpleviewerexample

Just change that to whatever tile naming convention you use.

dzsave google mode is supposed to be compatible with the tile builder here:

https://code.google.com/p/virtualmicroscope/wiki/SlideTiler

So it needs to follow that convention.

I suppose we could add another mode if it's really necessary. Can you fix your problem with a customGetTileURL()?

@kjell
Copy link
Author

kjell commented Jul 31, 2013

An extra mode isn't necessary. I also want to disable padding tiles to 256x, so I'm already building from source.

Thanks for vips, it's super great!

@kjell kjell closed this as completed Jul 31, 2013
@jcupitt
Copy link
Member

jcupitt commented Aug 4, 2013

Ah, OK. Probably best to have your own fork then. I'm glad it's useful!

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

2 participants