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

Optimizing tile generation + question about extent #280

Open
sanderpukk opened this issue Jan 14, 2022 · 1 comment
Open

Optimizing tile generation + question about extent #280

sanderpukk opened this issue Jan 14, 2022 · 1 comment
Labels

Comments

@sanderpukk
Copy link

Hi!

Generating tiles in cloudservices. For this example, let's say it's Azure's 72 node and 144 GB of RAM machine.

First the performance. The documentation is a little lacking in that part. We are using Postgres as a source.
Now, how would I approach the needed nodes for t-rex and the nodes for postgres?

  • Am I supposed to use (72/2)-1 nodes for t-rex and the rest for postgres?
  • What does that "pool" parameter actually do in your documentation?
  • Besides functionality, is Postgres connection the most optimal? Are GPKG better for performance?

A better documentation for performance would be much appreciated.

Second point:
When using custom grid and extent and extent in tileset, it does clip accordingly.
But when using built in web_mercator grid, the extent is confusing.

Tileset extent in your github examples is an array of coordinates. BottomLeft to RightTop.
But in the webpage documentation it's a json extent: { minx: float, miny: float, maxx: float, maxy: float }.
Same as for user grid.

The thing is, if I use grid.user with my extent and the same value in tileset, it does clip.
Webmercator doesnt seem to work like that. What is the correct way?

@sanderpukk
Copy link
Author

Did not wanna sound too negative. I like using t-rex and the toml approach. Really versatile :)

@pka pka added the question label Jan 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants