openeuropa / webtools-geocoding-provider

Webtools Geocoding provider for Geocoder PHP
European Union Public License 1.2
0 stars 3 forks source link

Modification of Webtools Geocoding Endpoint - Action needed #16

Closed alexboss closed 1 year ago

alexboss commented 2 years ago

Dear colleagues,

We'd like to inform you that the Webtools Geocoding has been updated to provide results:

In a nutshell:

Proposed solutions:

  1. If you want to keep ArcGIS as a Geocoding Provider to deal with the same kind of server response, you'll have to subscribe to a paying plan and query their service directly (for instance https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/find?f=json&text=via+giulio+salvadori+20%2C+Rome%2C+Italy&maxLocations=5&outFields= ) - Standard ESRI /ArcGIS response.
  2. If you don't mind switching from ArcGIS to Photon, then you'll have to adapt the module to cope with the new sort of server response. If you plan to continue querying directly the service provider, you can actually ditch the Webtools endpoint and directly use the endpoint provided by EUROSTAT GISCO, see available endpoints on https://webgate.ec.europa.eu/fpfis/wikis/display/GISCO/Geocoding+Services - Standard Photon / Standard Nominatim response.
  3. If you want Webtools to handle the geocoding request, the module will also have to be adapted to cope with the required expected parameters, and also parse the Webtools wrapped response. More information on https://webgate.ec.europa.eu/fpfis/wikis/display/webtools/Geocoding+-+Technical+details - Custom - tailored-made Webtools / Non standard response

In all cases, the endpoint used in this module will no longer work as it is now, by the end of November:

const ENDPOINT_URL = 'https://europa.eu/webtools/rest/geocoding/?f=json&text=%s&maxLocations=%d&outFields=*';

Do you think you'll be able to cope with the changed before end of November?

Thank you and best regards.

Alexandre - DIGIT WEBTOOLS

claudiu-cristea commented 1 year ago

@alexboss we're looking into this. BTW, I cannot access the https://webgate.ec.europa.eu/fpfis/wikis/display/GISCO/Geocoding+Services page you've provided

claudiu-cristea commented 1 year ago

Webtools Geocoding provider for Geocoder PHP is abandoned in favour of GISCO Geocoding Provider for Geocoder PHP. A Drupal module, using GISCO Geocoding Provider for Geocoder PHP, is available here https://github.com/openeuropa/oe_gisco_geocoding, but the initial code (PR https://github.com/openeuropa/oe_gisco_geocoding/pull/1) is still not committed yet.

Closing this as resolved.