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

Is this supposed to handle metadata? #2

Open
SomeoneElseOSM opened this issue Sep 20, 2023 · 1 comment
Open

Is this supposed to handle metadata? #2

SomeoneElseOSM opened this issue Sep 20, 2023 · 1 comment

Comments

@SomeoneElseOSM
Copy link

I'm trying to use "mod_mbtiles " to replace Tilemaker's example ruby server at https://github.com/systemed/tilemaker/blob/master/server/server.rb .

Most things are straightforward ("mod_mbtiles" serves tiles from a tilemaker-generated .mbtiles file without issues), with one caveat:
https://github.com/systemed/tilemaker/blob/master/server/static/index.html includes code that does a fetch on "/metadata", and server.rb handles that internally via https://github.com/systemed/tilemaker/blob/master/server/server.rb#L74 .

Is mod_mbtiles supposed to server a metadata file from some URL below the URL set in the Apache virtualhost config after "MbtilesAdd"? I've tried various likely URLs without success. What does work is manually creating that file on disk, but this seems unlikely to be correct since the data is obviously in the .mbtiles file.

@systemed
Copy link
Owner

No - the /metadata call is just something that the Ruby server provides as a convenience for the web client to automatically zoom to the right level; it's not something that mod_mbtiles provides. That said, it wouldn't be a bad thing to add!

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