-
-
Notifications
You must be signed in to change notification settings - Fork 487
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Standard / Feature catalogue / Replace ISO19110 by ISO19115-3 #6545
Conversation
When using ISO19115-3, editor can create records which: * can only describe a feature catalogue description. * or can describe a dataset with a feature catalogue embedded (or linked with a citation). Those records are indexed with a field `resourceType=featureCatalog` which enable search when linking feature catalogue in the editor to other records (both type of records can be linked ie. record with only a feature catalogue description or a record with an embedded one). While indexing feature catalogue: * name is title, * fieldOfApplication is abstract when the record is only a feature catalogue. TODO: - [ ] Check which scopeCode is more appropriate eg. featureType ?) - [ ] Editor / Full view / If only a feature catalogue, it could be better to open the content tab directly (as there is no identification) - [ ] Add conversion from ISO19110 to ISO19115-3 - [ ] Remove old ISO19110 schema
…ogue only record).
Kudos, SonarCloud Quality Gate passed! |
…tion only if contents in, title and abstract for feature catalogue.
…feature catalog, the content tab.
…add missing translations.
…feature catalog, the content tab. Take version from @CMath04 - https://github.com/GIM-be/dcat2/blob/master/core-geonetwork-patches/0009-122116-Active-first-visible-tab-in-view-instead-of-a.patch
Customize fuzziness or wildcard in queryBase in CatController if required. Adding wildcard at start and end will return no results when search contains more than one word.
Sample configuration to only display citation for series/dataset/nongeographicdataset.
Index field may be an array. Add support for this by intersecting condition values and field values.
…ing codelist value.
if (values.includes(recordValue)) { | ||
cb(); | ||
if (angular.isArray(recordValue)) { | ||
if (values.filter((value) => recordValue.includes(value)).length > 0) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Produces the following error in the log file:
SEVERE: /catalog/components/utility/UtilityService.js:384: ERROR - this language feature is only supported in es6 mode: short function syntax. Use --language_in=ECMASCRIPT6 or ECMASCRIPT6_STRICT to enable ES6 features.
if (values.filter((value) => recordValue.includes(value)).length > 0) {
To check to use Lodash.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed. Can be done with JS.
@fxprunayre the table mode for codelist elements doesn't allow to add new entries, is that something that can be added easily in the configuration? |
<for name="gfc:listedValue"/>
</flatModeExceptions> does it. |
When using ISO19115-3, editor can create records which:
Those records are indexed with a field
resourceType=featureCatalog
which enable search when linking feature catalogue in the editor to other records (both type of records can be linked ie. record with only a feature catalogue description or a record with an embedded one).Depending on how much reused are feature catalogue, users can decide to use the embedded mode or not.
Using ISO19115-3 for feature catalogue also add support for multilingual feature catalogue.
While indexing feature catalogue:
cat:name
is the resource title,cat:scope
is the resource abstract when the record is only a feature catalogue.Linking the feature catalogue to a dataset
From the editor panel
In the record view
Embedded feature catalogue
A feature catalogue only
Record view for feature catalogue
Editing feature catalogue in ISO19115-3
Editing was working fine.
gco:UnlimitedInteger
type.gfc:aliases
ISO19110 migration to ISO19115-3
The process name is
iso19115-3.2018-schemaupgrade
. When running the process, the schema is automatically updated to ISO19115-3 (as the process ends with-schemaupgrade
)ISO19110 schema is deprecated
Migration can be previewed using http://localhost:8080/geonetwork/srv/api/records/7135698b-3c1c-4f88-9d4e-e19ae7bbf07e/formatters/iso19115-3_2018?output=xml
ISO19139
Future work
mcc:MD_ScopeCode
is more appropriate eg. featureType ?)identificationInfo
is mandatory from ISO19115-3 point of view (https://github.com/geonetwork/core-geonetwork/blob/main/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/schema/standards.iso.org/19115/-3/mdb/2.0/metadataBase.xsd#L63-L64). Creating a record with only acontentInfo
element is invalid for XSD validation.