Opened 3 years ago

Closed 3 years ago

#539 closed enhancement (fixed)

Add required OGC CRS defs in SECORE for systemtests

Reported by: pcampalani Owned by: pcampalani
Priority: major Milestone: 9.0
Component: secore Version: development
Keywords: user dictionary definitions Cc:
Complexity: Medium


Now that SECORE has a separate dictionary for user-defined non-EPSG definitions (./etc/gml/UserDictionary.xml), it should be filled with some CRS definitions that are currently used for the systemtests, i.e. ANSI date, Temporal and Index.

All the URIs that are contained in such definitions should be parametrized so that the configured public host is showed in the definitions: URNs can be used as a first solution, so that they get translated to URIs uppon db initialization.
This holds for both gml:identifier elements and target-CRS links.

With this solution the db initialization (some first browser query on the db tree) should be made calling the resolver with its public domain.

Change History (4)

comment:1 Changed 3 years ago by pcampalani

  • Status changed from new to accepted

comment:2 Changed 3 years ago by pcampalani

Adding the required defs to the local SECORE allows not to refer to Kahlua server for those definitions that are ingested in the new schema and that are necessary for migration and systemtest.

The global_const.sql script will insert a parametrized SECORE url which can then be replaced by Petascope with the ("first", see #545) configured SECORE url in the file.

This is the more convenient solution by now.

comment:3 Changed 3 years ago by pcampalani

(thanks Dimitar)

comment:4 Changed 3 years ago by pcampalani

  • Resolution set to fixed
  • Status changed from accepted to closed

Ticket fixed in changeset:957dee4 and changeset:d71bf75.

Now SECORE includes the following

$ cd ./applications/secore/secore-core/etc
$ tar xzvf gml.tar.gz
$ sed -n 's/<.*identifier.*>\(.*:crs:.*\)<\/.*identifier>/\1/p' gml/UserDictionary.xml | tr -d ' ' | sort 
Last edited 3 years ago by pcampalani (previous) (diff)
Note: See TracTickets for help on using tickets.