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

add to documentation: register MBTiles for use #5

Open
danbjoseph opened this issue Apr 6, 2018 · 3 comments
Open

add to documentation: register MBTiles for use #5

danbjoseph opened this issue Apr 6, 2018 · 3 comments

Comments

@danbjoseph
Copy link
Member

We're developing an offline-compatible geostorytelling tool that will run MBtiles. It would be amazing to set up a site on the POSM to host that. I think that's just a question of configuring a local URL service in nginx, right?

if you register the MBTiles archive in /etc/tessera.conf.d/, tiles will be served up under /tiles/<name>/...
(so you don't need to include your own tile server)
(via @mojodna)

@dalekunce
Copy link

dalekunce commented Apr 20, 2018

tried this. Tiles don't show up in field papers or in iD. It actually caused other working tiles to stop working.

{
  "/tiles/mlm": "mbtiles:///opt/data/aoi/mlm/tiles/mlm.mbtiles"
}

@mojodna
Copy link
Member

mojodna commented Apr 20, 2018

How did you register it? Were there associated error messages?

https://github.com/posm/posm-imagery-updater is the component responsible for updating configs so that iD can see available imagery sources (IIRC, the URL template needs to be pasted into FP for use there).

@dalekunce
Copy link

Didn't know about the next step. I added a json file in the tessera.conf.d folder. File size is bigger than 256mb if that is somehow related to #4

{
  "/tiles/mlm_sat/mlm_sat": "mbtiles:///opt/data/aoi/mlm_sat/tiles/mlm_sat.mbtiles"
}

The tessera logs don't show any errors.

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