g3w-suite / g3w-admin

Server module for G3W-SUITE
https://g3w-suite.readthedocs.io/en/latest/g3wsuite_administration.html
Mozilla Public License 2.0
39 stars 32 forks source link

the new "geocoding" control can be project based? #683

Open lucamanga opened 7 months ago

lucamanga commented 7 months ago

Checklist

Motivation

I saw the new "geocoding" control in the commits. It would be interesting if we use our custom geocoding search server with a parameter that indicates the project is doing the search. For example:

Suggested solution

.

Alternatives considered

No response

lucamanga commented 7 months ago

the new geocoding can invoke the custom webservice these parameters:

Raruto commented 7 months ago

Hi @lucamanga,

the project id or name

To achieve a similar result, on your backend server(s), you could also:

"url": "https://your-custom-server.com/REST/?key1=blah.blah&project_id=" + CURRENT_PROJECT_ID,

Ref: https://github.com/g3w-suite/g3w-client/pull/505#pullrequestreview-1741702604