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

Implement Generic Search Bar controller #31

Open
daniboube opened this issue Apr 29, 2024 · 4 comments
Open

Implement Generic Search Bar controller #31

daniboube opened this issue Apr 29, 2024 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@daniboube
Copy link
Contributor

It is necessary to implement a configurable control for generic searches by street, neighborhood, municipality, cadastral reference, etc. SITNA includes one, but if it is not configured correctly, the searches will be applied to the Navarra databases.

@daniboube daniboube added the enhancement New feature or request label Apr 29, 2024
@daniboube daniboube self-assigned this Apr 29, 2024
@daniboube
Copy link
Contributor Author

Implemented in commit a656c92

The SITNA search bar is now capable of querying WFS databases served from the backend. To do this, optional parameters must be provided within the search control that match the types defined by the SITNA API for this case: https://sitna.navarra.es/api/doc/SITNA.control.html#.SearchOptions

It is important to take into account the default values ​​of these fields, since some are enabled by default, so if it is not given a new reference to search on, it will perform queries on the IDENA database.

@fjlopez
Copy link
Contributor

fjlopez commented Apr 29, 2024

Do you refer to this line?
a656c92#r141474226

@daniboube
Copy link
Contributor Author

Yes, exactly that. A parameters object must be provided by the backend in the same way that is defined in the SITNA API documentation (with the optional parameters cadastralParcel, municipality, postalAddress, road, etc)

Do you refer to this line? a656c92#r141474226

@RicardCots
Copy link

Related with #172

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants