52North / sensorweb-server-helgoland

Thin Web binding API to access series data.
GNU General Public License v2.0
24 stars 21 forks source link

URL type needed for additional metadata fields? #137

Open nuest opened 8 years ago

nuest commented 8 years ago

The flexible /extra endpoint would be interesting to use in the following scenario: A Geonetwork catalog harvests an SOS and create ISO metadata. This ISO metadata can easily be edited in the Geonetwork editor then. The link to the full ISO metadata should also be available in an extended metadata view in the JavaScript client, which is possible using the metadata extension mechanism.

Is it necessary or useful to have a specific URL data type for the metadata table? Or is string just fine?

ridoo commented 8 years ago

A type url could make sense to differentiate from string as there might be parameters to URL-encode. Otherwise a client will get an invalid URL. So, yes: I think to differ here is useful.