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

Validate coordonneesXY statique data field #102

Open
jmaupetit opened this issue Jun 21, 2024 · 1 comment
Open

Validate coordonneesXY statique data field #102

jmaupetit opened this issue Jun 21, 2024 · 1 comment
Labels
API Item related to the API service improvement schema Discussions around data schemas

Comments

@jmaupetit
Copy link
Member

Purpose

If we want to be able to query data from a particular geometry, we need to have relevant charging station position. In this case, checking coordonneesXY validity seems relevant.

Proposal

Given a postal code or a code_insee_commune (is it french-specific?) validate that station's location is included in the related polygon.

@jmaupetit jmaupetit added the schema Discussions around data schemas label Jun 21, 2024
@jmaupetit jmaupetit added the API Item related to the API service label Jul 18, 2024
@jmaupetit
Copy link
Member Author

Enforce coordonneesXY validation in the model would be too costly has we need to get related polygon (given a code_insee_commune) from the database. We need to find a way to post validate efficiently submitted statique data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Item related to the API service improvement schema Discussions around data schemas
Projects
None yet
Development

No branches or pull requests

1 participant