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

Restrict polygon properties for avoid_polygons #629

Closed
nilsnolde opened this issue Dec 5, 2019 · 2 comments
Closed

Restrict polygon properties for avoid_polygons #629

nilsnolde opened this issue Dec 5, 2019 · 2 comments

Comments

@nilsnolde
Copy link
Contributor

To prevent our servers from crashing, we should restrict some polygon property/properties a user can pass with avoid_polygon parameter. That should also go in the app.config of course.

Possible property restriction:

  • area
  • extent in X or Y, e.g. no more than 10 km in X OR Y
@takb
Copy link
Contributor

takb commented Jan 15, 2020

@nilsnolde , 1. do we need both restrictions? 2. what are the values that endanger server stability?

@takb
Copy link
Contributor

takb commented Jan 21, 2020

@nilsnolde it's implemented now and awaiting merge, but we need to have meaningful values to actually set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants