LIST-LUXEMBOURG / iguess

iGuess 1.0 - The iGuess implementation in Rails
GNU General Public License v3.0
6 stars 0 forks source link

Register New Datasets - new radio button: switch from single url to triple for probing dataserver #211

Open mdsnor opened 9 years ago

mdsnor commented 9 years ago

Let the user choose between probing a single url (which probes all services in sequence) to 3 different urls, one for service type (WMS, WFS, WCS). This is required since not all servers are able to respond properly to a single getCapabilities request. Avoid some situations such as for ludwigsburg layers, where a single datasets may be registered twice (ex: one record for WMS, another for WFS) with same identifier and dataset name.

1- Create a migration to delete the url field from datasets 2- Replace all references to these fields with the server urls 3- Check that all metainformation is correctly displayed 4- understand how the last fields (WMS, WFS, WCS) are populated in dataserver table and delete if they are not required (Note: as soon as harvester.py is not working, fix it!) 5- create a migration that rename of the current url to url_wms and creates 2 new columns (url_wfs and url_wcs) 6- modify the harvester.py 7- add to the mass_import code to set up the three urls instead of one 8- make sure that after changes, the 3 different services info are still there 9- test with 3 different urls for a layer 10- check and determine which service to be used, and build a new request for wpsstart.py Note: make sure that modules are running correctly! 11- modify the wpscheck.py script (requires 7 done)