Opened 4 years ago

Closed 4 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

Description

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 4 years ago by pcampalani

  • Status changed from new to accepted

comment:2 Changed 4 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 petascope.properties file.

This is the more convenient solution by now.

comment:3 Changed 4 years ago by pcampalani

(thanks Dimitar)

comment:4 Changed 4 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 
urn:ogc:def:crs:AUTO:1.3:42001
urn:ogc:def:crs:OGC::AnsiDate
urn:ogc:def:crs:OGC::.AnsiDate-template
urn:ogc:def:crs:OGC::Index1D
urn:ogc:def:crs:OGC::.Index1D-template
urn:ogc:def:crs:OGC::Index2D
urn:ogc:def:crs:OGC::.Index2D-template
urn:ogc:def:crs:OGC::Index3D
urn:ogc:def:crs:OGC::.Index3D-template
urn:ogc:def:crs:OGC::Temporal
urn:ogc:def:crs:OGC::.Temporal-template
Last edited 4 years ago by pcampalani (previous) (diff)
Note: See TracTickets for help on using tickets.