Skip to content

Commit

Permalink
fix: layer polygon parts part of ingested data (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
alebinson authored Nov 15, 2021
1 parent 09104f2 commit bca3289
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/models/layerMetadata/layerMetadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -873,9 +873,18 @@ export class LayerMetadata implements ILayerMetadata, IMetadataCommonModel {
@graphql({
nullable: true,
})
@fieldConfig({
category: FieldCategory.GEO_INFO,
isCreationEssential: true,
validation: [
{
errorMsgCode: 'validation-field.layerPolygonParts.json',
json: true,
},
],
})
//#endregion
public layerPolygonParts: GeoJSON | undefined = undefined;
//#endregion

//#region RASTER: includedInBests
@pycsw({
Expand Down

0 comments on commit bca3289

Please sign in to comment.