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

Explain in CONTRIBUTING how to get started in conjunction with tileserver #218

Open
pnorman opened this issue Jun 10, 2017 · 6 comments
Open

Comments

@pnorman
Copy link
Contributor

pnorman commented Jun 10, 2017

A lot of people (or at least myself) will come to tilequeue because it's used as a component of tileserver. IIt would be good to explain how to contribute to tilequeue when you're using it this way and don't run it independently.

@elwin-jacellc
Copy link

Bump!
Just the basics to get started will be nice. I.e. how to use tilequeue without tileserver to generate a set of tiles and store in file.

@rmarianski
Copy link
Member

Just to get started, the easiest way would be to configure local implementations of queues and stores, run the seed command, and then run the process command.

Excerpt:

queue:
  type: file
  name: tiles-queue
store:
  type: directory
  name: tiles

Seed:

tilequeue seed --config config.yaml

Process:

tilequeue process --config config.yaml

Hopefully that can help get you started.

@elwin-jacellc
Copy link

elwin-jacellc commented Jan 10, 2018

Quick question when storing to s3, it currently stores to

<bucket>/<date prefix>/<hex value>/<path>/all/<z>/<x>/<y>

How do we get rid of the <hex value> part in the path?

@rmarianski
Copy link
Member

Hhmm, that's in there as an optimization for working with s3. Having key prefixes differ earlier on is friendlier for it, see https://docs.aws.amazon.com/AmazonS3/latest/dev/request-rate-perf-considerations.html

If you really want it off, I'm afraid that there isn't a way to configure it off at the moment, but it's not a lot of work to add in support for it. Want to create an issue for it? If you're up for it, we'd gladly accept a pr as well. Here's the relevant bit of code.

@elwin-jacellc
Copy link

Thanks. We'll submit a pr.

@cyfugr
Copy link

cyfugr commented Sep 24, 2020

Question about that, i am trying to run the tileque seed with the config that was mentioned above but i get an error saying that Missing queue name

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

4 participants