geonetwork-ui 2.2.0 → 2.3.0-dev.139106e0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (387) hide show
  1. package/esm2022/index.mjs +2 -1
  2. package/esm2022/libs/api/metadata-converter/src/index.mjs +5 -5
  3. package/esm2022/libs/api/metadata-converter/src/lib/base.converter.mjs +14 -0
  4. package/esm2022/libs/api/metadata-converter/src/lib/find-converter.mjs +15 -0
  5. package/esm2022/libs/api/metadata-converter/src/lib/gn4/atomic-operations.mjs +3 -3
  6. package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.converter.mjs +52 -0
  7. package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.mjs +8 -4
  8. package/esm2022/libs/api/metadata-converter/src/lib/gn4/index.mjs +4 -0
  9. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/index.mjs +2 -0
  10. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.mjs +123 -0
  11. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.mjs +116 -0
  12. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.mjs +138 -0
  13. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/index.mjs +2 -0
  14. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.mjs +242 -0
  15. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/read-parts.mjs +58 -62
  16. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/utils/individual-name.mjs +18 -0
  17. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/utils/keyword.mapper.mjs +14 -0
  18. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/utils/role.mapper.mjs +48 -0
  19. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/utils/status.mapper.mjs +18 -0
  20. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/utils/update-frequency.mapper.mjs +64 -0
  21. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/write-parts.mjs +75 -58
  22. package/esm2022/libs/api/metadata-converter/src/lib/xml-utils.mjs +76 -14
  23. package/esm2022/libs/api/repository/src/lib/gn4/gn4-repository.mjs +4 -4
  24. package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +1 -1
  25. package/esm2022/libs/data-access/gn4/src/openapi/api/records.api.service.mjs +35 -7
  26. package/esm2022/libs/data-access/gn4/src/openapi/model/models.mjs +1 -2
  27. package/esm2022/libs/feature/dataviz/src/lib/service/data.service.mjs +2 -2
  28. package/esm2022/libs/feature/editor/src/index.mjs +2 -2
  29. package/esm2022/libs/feature/editor/src/lib/+state/editor.facade.mjs +6 -2
  30. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-array/form-field-array.component.mjs +11 -0
  31. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-file/form-field-file.component.mjs +28 -0
  32. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-object/form-field-object.component.mjs +11 -0
  33. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.mjs +45 -0
  34. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.mjs +50 -0
  35. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.mjs +11 -0
  36. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extent/form-field-temporal-extent.component.mjs +11 -0
  37. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.mjs +107 -0
  38. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.mjs +2 -0
  39. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/index.mjs +10 -0
  40. package/esm2022/libs/feature/editor/src/lib/components/record-form/record-form.component.mjs +29 -0
  41. package/esm2022/libs/feature/editor/src/lib/feature-editor.module.mjs +10 -10
  42. package/esm2022/libs/feature/editor/src/lib/models/fields.model.mjs +1 -1
  43. package/esm2022/libs/feature/editor/src/lib/services/editor.service.mjs +8 -8
  44. package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.mjs +6 -2
  45. package/esm2022/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.mjs +3 -3
  46. package/esm2022/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.mjs +72 -0
  47. package/esm2022/libs/feature/map/src/lib/feature-map.module.mjs +7 -3
  48. package/esm2022/libs/feature/map/src/lib/layers-panel/layers-panel.component.mjs +12 -7
  49. package/esm2022/libs/feature/map/src/lib/map-context/map-context.model.mjs +2 -1
  50. package/esm2022/libs/feature/map/src/lib/map-context/map-context.service.mjs +52 -25
  51. package/esm2022/libs/feature/map/src/lib/utils/map-utils.service.mjs +12 -49
  52. package/esm2022/libs/feature/notifications/src/index.mjs +4 -0
  53. package/esm2022/libs/feature/notifications/src/lib/feature-notifications.module.mjs +18 -0
  54. package/esm2022/libs/feature/notifications/src/lib/notification.model.mjs +2 -0
  55. package/esm2022/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.mjs +49 -0
  56. package/esm2022/libs/feature/notifications/src/lib/notifications.service.mjs +29 -0
  57. package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +6 -2
  58. package/esm2022/libs/feature/search/src/lib/results-table/results-table.component.mjs +3 -3
  59. package/esm2022/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.mjs +3 -3
  60. package/esm2022/libs/ui/elements/src/index.mjs +15 -15
  61. package/esm2022/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.mjs +5 -5
  62. package/esm2022/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.mjs +45 -0
  63. package/esm2022/libs/ui/elements/src/lib/metadata-info/metadata-info.component.mjs +3 -3
  64. package/esm2022/libs/ui/elements/src/lib/notification/notification.component.mjs +34 -0
  65. package/esm2022/libs/ui/elements/src/lib/record-api-form/record-api-form.component.mjs +3 -3
  66. package/esm2022/libs/ui/elements/src/lib/thumbnail/thumbnail.component.mjs +4 -3
  67. package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +6 -5
  68. package/esm2022/libs/ui/inputs/src/index.mjs +1 -2
  69. package/esm2022/libs/ui/inputs/src/lib/button/button.component.mjs +2 -1
  70. package/esm2022/libs/ui/inputs/src/lib/files-drop/files-drop.directive.mjs +59 -0
  71. package/esm2022/libs/ui/inputs/src/lib/image-input/image-input.component.mjs +183 -0
  72. package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +10 -23
  73. package/esm2022/libs/ui/layout/src/index.mjs +6 -5
  74. package/esm2022/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.mjs +18 -0
  75. package/esm2022/libs/util/shared/src/lib/utils/bytes-convert.mjs +4 -0
  76. package/esm2022/libs/util/shared/src/lib/utils/image-resize.mjs +60 -0
  77. package/esm2022/libs/util/shared/src/lib/utils/index.mjs +8 -6
  78. package/esm2022/translations/de.json +20 -0
  79. package/esm2022/translations/en.json +20 -0
  80. package/esm2022/translations/es.json +20 -0
  81. package/esm2022/translations/fr.json +20 -0
  82. package/esm2022/translations/it.json +20 -0
  83. package/esm2022/translations/nl.json +20 -0
  84. package/esm2022/translations/pt.json +20 -0
  85. package/fesm2022/geonetwork-ui.mjs +4464 -3180
  86. package/fesm2022/geonetwork-ui.mjs.map +1 -1
  87. package/index.d.ts +1 -0
  88. package/index.d.ts.map +1 -1
  89. package/index.ts +1 -0
  90. package/libs/api/metadata-converter/src/index.d.ts +4 -4
  91. package/libs/api/metadata-converter/src/index.d.ts.map +1 -1
  92. package/libs/api/metadata-converter/src/lib/{metadata-base.mapper.d.ts → base.converter.d.ts} +3 -3
  93. package/libs/api/metadata-converter/src/lib/base.converter.d.ts.map +1 -0
  94. package/libs/api/metadata-converter/src/lib/find-converter.d.ts +3 -0
  95. package/libs/api/metadata-converter/src/lib/find-converter.d.ts.map +1 -0
  96. package/libs/api/metadata-converter/src/lib/gn4/{gn4.metadata.mapper.d.ts → gn4.converter.d.ts} +5 -5
  97. package/libs/api/metadata-converter/src/lib/gn4/gn4.converter.d.ts.map +1 -0
  98. package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts.map +1 -1
  99. package/libs/api/metadata-converter/src/lib/gn4/index.d.ts +4 -0
  100. package/libs/api/metadata-converter/src/lib/gn4/index.d.ts.map +1 -0
  101. package/libs/api/metadata-converter/src/lib/iso19115-3/index.d.ts +2 -0
  102. package/libs/api/metadata-converter/src/lib/iso19115-3/index.d.ts.map +1 -0
  103. package/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.d.ts +9 -0
  104. package/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.d.ts.map +1 -0
  105. package/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.d.ts +20 -0
  106. package/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.d.ts.map +1 -0
  107. package/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.d.ts +21 -0
  108. package/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.d.ts.map +1 -0
  109. package/libs/api/metadata-converter/src/lib/iso19139/index.d.ts +2 -0
  110. package/libs/api/metadata-converter/src/lib/iso19139/index.d.ts.map +1 -0
  111. package/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.d.ts +11 -0
  112. package/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.d.ts.map +1 -0
  113. package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts +34 -6
  114. package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts.map +1 -1
  115. package/libs/api/metadata-converter/src/lib/iso19139/utils/individual-name.d.ts +8 -0
  116. package/libs/api/metadata-converter/src/lib/iso19139/utils/individual-name.d.ts.map +1 -0
  117. package/libs/api/metadata-converter/src/lib/iso19139/utils/keyword.mapper.d.ts.map +1 -0
  118. package/libs/api/metadata-converter/src/lib/iso19139/utils/role.mapper.d.ts.map +1 -0
  119. package/libs/api/metadata-converter/src/lib/iso19139/utils/status.mapper.d.ts.map +1 -0
  120. package/libs/api/metadata-converter/src/lib/iso19139/utils/update-frequency.mapper.d.ts.map +1 -0
  121. package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts +39 -3
  122. package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts.map +1 -1
  123. package/libs/api/metadata-converter/src/lib/xml-utils.d.ts +14 -1
  124. package/libs/api/metadata-converter/src/lib/xml-utils.d.ts.map +1 -1
  125. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts +2 -2
  126. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts.map +1 -1
  127. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts +6 -4
  128. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
  129. package/libs/data-access/gn4/src/openapi/api/records.api.service.d.ts +9 -5
  130. package/libs/data-access/gn4/src/openapi/api/records.api.service.d.ts.map +1 -1
  131. package/libs/data-access/gn4/src/openapi/model/models.d.ts +0 -1
  132. package/libs/data-access/gn4/src/openapi/model/models.d.ts.map +1 -1
  133. package/libs/feature/editor/src/index.d.ts +1 -1
  134. package/libs/feature/editor/src/index.d.ts.map +1 -1
  135. package/libs/feature/editor/src/lib/+state/editor.facade.d.ts +8 -5
  136. package/libs/feature/editor/src/lib/+state/editor.facade.d.ts.map +1 -1
  137. package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-array/form-field-array.component.d.ts +1 -1
  138. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-array/form-field-array.component.d.ts.map +1 -0
  139. package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-file/form-field-file.component.d.ts +1 -1
  140. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-file/form-field-file.component.d.ts.map +1 -0
  141. package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-object/form-field-object.component.d.ts +1 -1
  142. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-object/form-field-object.component.d.ts.map +1 -0
  143. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.d.ts +16 -0
  144. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.d.ts.map +1 -0
  145. package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-simple/form-field-simple.component.d.ts +2 -2
  146. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.d.ts.map +1 -0
  147. package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-spatial-extent/form-field-spatial-extent.component.d.ts +1 -1
  148. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.d.ts.map +1 -0
  149. package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-temporal-extent/form-field-temporal-extent.component.d.ts +1 -1
  150. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extent/form-field-temporal-extent.component.d.ts.map +1 -0
  151. package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field.component.d.ts +8 -3
  152. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts.map +1 -0
  153. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.d.ts.map +1 -0
  154. package/libs/feature/editor/src/lib/components/record-form/form-field/index.d.ts.map +1 -0
  155. package/libs/feature/editor/src/lib/{record-form → components/record-form}/record-form.component.d.ts +3 -3
  156. package/libs/feature/editor/src/lib/components/record-form/record-form.component.d.ts.map +1 -0
  157. package/libs/feature/editor/src/lib/feature-editor.module.d.ts +1 -1
  158. package/libs/feature/editor/src/lib/feature-editor.module.d.ts.map +1 -1
  159. package/libs/feature/editor/src/lib/models/fields.model.d.ts +1 -1
  160. package/libs/feature/editor/src/lib/services/editor.service.d.ts.map +1 -1
  161. package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.d.ts.map +1 -1
  162. package/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.d.ts +23 -0
  163. package/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.d.ts.map +1 -0
  164. package/libs/feature/map/src/lib/feature-map.module.d.ts +2 -1
  165. package/libs/feature/map/src/lib/feature-map.module.d.ts.map +1 -1
  166. package/libs/feature/map/src/lib/layers-panel/layers-panel.component.d.ts +2 -0
  167. package/libs/feature/map/src/lib/layers-panel/layers-panel.component.d.ts.map +1 -1
  168. package/libs/feature/map/src/lib/map-context/map-context.model.d.ts +10 -5
  169. package/libs/feature/map/src/lib/map-context/map-context.model.d.ts.map +1 -1
  170. package/libs/feature/map/src/lib/map-context/map-context.service.d.ts.map +1 -1
  171. package/libs/feature/map/src/lib/utils/map-utils.service.d.ts +2 -3
  172. package/libs/feature/map/src/lib/utils/map-utils.service.d.ts.map +1 -1
  173. package/libs/feature/notifications/src/index.d.ts +4 -0
  174. package/libs/feature/notifications/src/index.d.ts.map +1 -0
  175. package/libs/feature/notifications/src/lib/feature-notifications.module.d.ts +7 -0
  176. package/libs/feature/notifications/src/lib/feature-notifications.module.d.ts.map +1 -0
  177. package/libs/feature/notifications/src/lib/notification.model.d.ts +7 -0
  178. package/libs/feature/notifications/src/lib/notification.model.d.ts.map +1 -0
  179. package/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.d.ts +12 -0
  180. package/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.d.ts.map +1 -0
  181. package/libs/feature/notifications/src/lib/notifications.service.d.ts +15 -0
  182. package/libs/feature/notifications/src/lib/notifications.service.d.ts.map +1 -0
  183. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts.map +1 -1
  184. package/libs/ui/elements/src/index.d.ts +14 -14
  185. package/libs/ui/elements/src/index.d.ts.map +1 -1
  186. package/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.d.ts +13 -0
  187. package/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.d.ts.map +1 -0
  188. package/libs/ui/elements/src/lib/notification/notification.component.d.ts +13 -0
  189. package/libs/ui/elements/src/lib/notification/notification.component.d.ts.map +1 -0
  190. package/libs/ui/elements/src/lib/thumbnail/thumbnail.component.d.ts +1 -1
  191. package/libs/ui/elements/src/lib/thumbnail/thumbnail.component.d.ts.map +1 -1
  192. package/libs/ui/elements/src/lib/ui-elements.module.d.ts +20 -20
  193. package/libs/ui/inputs/src/index.d.ts +0 -1
  194. package/libs/ui/inputs/src/index.d.ts.map +1 -1
  195. package/libs/ui/inputs/src/lib/button/button.component.d.ts.map +1 -1
  196. package/libs/ui/inputs/src/lib/files-drop/files-drop.directive.d.ts +14 -0
  197. package/libs/ui/inputs/src/lib/files-drop/files-drop.directive.d.ts.map +1 -0
  198. package/libs/ui/inputs/src/lib/image-input/image-input.component.d.ts +44 -0
  199. package/libs/ui/inputs/src/lib/image-input/image-input.component.d.ts.map +1 -0
  200. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +26 -33
  201. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts.map +1 -1
  202. package/libs/ui/layout/src/index.d.ts +5 -4
  203. package/libs/ui/layout/src/index.d.ts.map +1 -1
  204. package/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.d.ts +8 -0
  205. package/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.d.ts.map +1 -0
  206. package/libs/util/shared/src/lib/utils/bytes-convert.d.ts +2 -0
  207. package/libs/util/shared/src/lib/utils/bytes-convert.d.ts.map +1 -0
  208. package/libs/util/shared/src/lib/utils/image-resize.d.ts +3 -0
  209. package/libs/util/shared/src/lib/utils/image-resize.d.ts.map +1 -0
  210. package/libs/util/shared/src/lib/utils/index.d.ts +7 -5
  211. package/libs/util/shared/src/lib/utils/index.d.ts.map +1 -1
  212. package/package.json +2 -2
  213. package/src/libs/api/metadata-converter/src/index.ts +4 -4
  214. package/src/libs/api/metadata-converter/src/lib/{metadata-base.mapper.ts → base.converter.ts} +2 -2
  215. package/src/libs/api/metadata-converter/src/lib/find-converter.ts +16 -0
  216. package/src/libs/api/metadata-converter/src/lib/fixtures/generic.records.ts +32 -5
  217. package/src/libs/api/metadata-converter/src/lib/fixtures/geo2france.records.ts +11 -4
  218. package/src/libs/api/metadata-converter/src/lib/fixtures/geocat-ch.records.ts +33 -7
  219. package/src/libs/api/metadata-converter/src/lib/fixtures/metawal.records.ts +580 -0
  220. package/src/libs/api/metadata-converter/src/lib/gn4/atomic-operations.ts +2 -2
  221. package/src/libs/api/metadata-converter/src/lib/gn4/{gn4.metadata.mapper.ts → gn4.converter.ts} +2 -2
  222. package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +9 -3
  223. package/src/libs/api/metadata-converter/src/lib/gn4/index.ts +3 -0
  224. package/src/libs/api/metadata-converter/src/lib/iso19115-3/index.ts +1 -0
  225. package/src/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.ts +176 -0
  226. package/src/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.ts +329 -0
  227. package/src/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.ts +513 -0
  228. package/src/libs/api/metadata-converter/src/lib/iso19139/index.ts +1 -0
  229. package/src/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.ts +327 -0
  230. package/src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts +121 -82
  231. package/src/libs/api/metadata-converter/src/lib/iso19139/utils/individual-name.ts +20 -0
  232. package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +175 -95
  233. package/src/libs/api/metadata-converter/src/lib/xml-utils.ts +84 -16
  234. package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +2 -2
  235. package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +9 -4
  236. package/src/libs/data-access/gn4/src/openapi/api/records.api.service.ts +43 -12
  237. package/src/libs/data-access/gn4/src/openapi/model/models.ts +0 -1
  238. package/src/libs/data-access/gn4/src/spec.yaml +1 -1
  239. package/src/libs/feature/dataviz/src/lib/service/data.service.ts +1 -1
  240. package/src/libs/feature/editor/src/index.ts +1 -1
  241. package/src/libs/feature/editor/src/lib/+state/editor.facade.ts +8 -1
  242. package/src/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.html +8 -0
  243. package/src/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.ts +70 -0
  244. package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-array/form-field-array.component.ts +1 -0
  245. package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-file/form-field-file.component.ts +4 -1
  246. package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-object/form-field-object.component.ts +1 -0
  247. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.html +20 -0
  248. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.ts +44 -0
  249. package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-simple/form-field-simple.component.ts +4 -1
  250. package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts +1 -0
  251. package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-temporal-extent/form-field-temporal-extent.component.ts +1 -0
  252. package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field.component.html +28 -4
  253. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +121 -0
  254. package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.css +0 -0
  255. package/src/libs/feature/editor/src/lib/{record-form → components/record-form}/record-form.component.html +1 -0
  256. package/src/libs/feature/editor/src/lib/{record-form → components/record-form}/record-form.component.ts +4 -4
  257. package/src/libs/feature/editor/src/lib/feature-editor.module.ts +9 -9
  258. package/src/libs/feature/editor/src/lib/models/fields.model.ts +1 -1
  259. package/src/libs/feature/editor/src/lib/services/editor.service.ts +27 -16
  260. package/src/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.ts +5 -1
  261. package/src/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.html +1 -1
  262. package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.css +0 -0
  263. package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.html +36 -0
  264. package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.ts +80 -0
  265. package/src/libs/feature/map/src/lib/feature-map.module.ts +2 -0
  266. package/src/libs/feature/map/src/lib/layers-panel/layers-panel.component.html +8 -0
  267. package/src/libs/feature/map/src/lib/layers-panel/layers-panel.component.ts +5 -0
  268. package/src/libs/feature/map/src/lib/map-context/map-context.model.ts +10 -3
  269. package/src/libs/feature/map/src/lib/map-context/map-context.service.ts +60 -32
  270. package/src/libs/feature/map/src/lib/utils/map-utils.service.ts +17 -61
  271. package/src/libs/feature/notifications/src/index.ts +3 -0
  272. package/src/libs/feature/notifications/src/lib/feature-notifications.module.ts +10 -0
  273. package/src/libs/feature/notifications/src/lib/notification.model.ts +6 -0
  274. package/src/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.css +0 -0
  275. package/src/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.html +17 -0
  276. package/src/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.ts +44 -0
  277. package/src/libs/feature/notifications/src/lib/notifications.service.ts +27 -0
  278. package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +5 -1
  279. package/src/libs/feature/search/src/lib/results-table/results-table.component.html +3 -3
  280. package/src/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.html +5 -5
  281. package/src/libs/ui/elements/src/index.ts +14 -14
  282. package/src/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.html +1 -1
  283. package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.css +0 -5
  284. package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.html +0 -21
  285. package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.ts +1 -14
  286. package/src/libs/ui/elements/src/lib/notification/notification.component.css +0 -0
  287. package/src/libs/ui/elements/src/lib/notification/notification.component.html +52 -0
  288. package/src/libs/ui/elements/src/lib/notification/notification.component.ts +31 -0
  289. package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.html +1 -1
  290. package/src/libs/ui/elements/src/lib/thumbnail/thumbnail.component.ts +5 -3
  291. package/src/libs/ui/elements/src/lib/ui-elements.module.ts +1 -1
  292. package/src/libs/ui/inputs/src/index.ts +0 -1
  293. package/src/libs/ui/inputs/src/lib/button/button.component.ts +1 -1
  294. package/src/libs/ui/inputs/src/lib/files-drop/files-drop.directive.ts +45 -0
  295. package/src/libs/ui/inputs/src/lib/image-input/image-input.component.css +0 -0
  296. package/src/libs/ui/inputs/src/lib/image-input/image-input.component.html +146 -0
  297. package/src/libs/ui/inputs/src/lib/image-input/image-input.component.ts +193 -0
  298. package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +3 -19
  299. package/src/libs/ui/layout/src/index.ts +5 -4
  300. package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.css +0 -0
  301. package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.html +18 -0
  302. package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.ts +16 -0
  303. package/src/libs/util/shared/src/lib/utils/bytes-convert.ts +3 -0
  304. package/src/libs/util/shared/src/lib/utils/image-resize.ts +72 -0
  305. package/src/libs/util/shared/src/lib/utils/index.ts +7 -5
  306. package/tailwind.base.css +36 -0
  307. package/translations/de.json +20 -0
  308. package/translations/en.json +20 -0
  309. package/translations/es.json +20 -0
  310. package/translations/fr.json +20 -0
  311. package/translations/it.json +20 -0
  312. package/translations/nl.json +20 -0
  313. package/translations/pt.json +20 -0
  314. package/translations/sk.json +20 -0
  315. package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.metadata.mapper.mjs +0 -52
  316. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/codelists/keyword.mapper.mjs +0 -14
  317. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/codelists/role.mapper.mjs +0 -48
  318. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/codelists/status.mapper.mjs +0 -18
  319. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/codelists/update-frequency.mapper.mjs +0 -64
  320. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/converter.mjs +0 -130
  321. package/esm2022/libs/api/metadata-converter/src/lib/metadata-base.mapper.mjs +0 -14
  322. package/esm2022/libs/data-access/gn4/src/openapi/model/inlineObject3.api.model.mjs +0 -13
  323. package/esm2022/libs/feature/editor/src/lib/record-form/record-form.component.mjs +0 -30
  324. package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-array/form-field-array.component.mjs +0 -11
  325. package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-file/form-field-file.component.mjs +0 -27
  326. package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-object/form-field-object.component.mjs +0 -11
  327. package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-rich/form-field-rich.component.mjs +0 -27
  328. package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-simple/form-field-simple.component.mjs +0 -49
  329. package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-spatial-extent/form-field-spatial-extent.component.mjs +0 -11
  330. package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-temporal-extent/form-field-temporal-extent.component.mjs +0 -11
  331. package/esm2022/libs/ui/inputs/src/lib/form-field/form-field.component.mjs +0 -76
  332. package/esm2022/libs/ui/inputs/src/lib/form-field/form-field.model.mjs +0 -2
  333. package/esm2022/libs/ui/inputs/src/lib/form-field/index.mjs +0 -10
  334. package/libs/api/metadata-converter/src/lib/gn4/gn4.metadata.mapper.d.ts.map +0 -1
  335. package/libs/api/metadata-converter/src/lib/iso19139/codelists/keyword.mapper.d.ts.map +0 -1
  336. package/libs/api/metadata-converter/src/lib/iso19139/codelists/role.mapper.d.ts.map +0 -1
  337. package/libs/api/metadata-converter/src/lib/iso19139/codelists/status.mapper.d.ts.map +0 -1
  338. package/libs/api/metadata-converter/src/lib/iso19139/codelists/update-frequency.mapper.d.ts.map +0 -1
  339. package/libs/api/metadata-converter/src/lib/iso19139/converter.d.ts +0 -4
  340. package/libs/api/metadata-converter/src/lib/iso19139/converter.d.ts.map +0 -1
  341. package/libs/api/metadata-converter/src/lib/metadata-base.mapper.d.ts.map +0 -1
  342. package/libs/data-access/gn4/src/openapi/model/inlineObject3.api.model.d.ts +0 -18
  343. package/libs/data-access/gn4/src/openapi/model/inlineObject3.api.model.d.ts.map +0 -1
  344. package/libs/feature/editor/src/lib/record-form/record-form.component.d.ts.map +0 -1
  345. package/libs/ui/inputs/src/lib/form-field/form-field-array/form-field-array.component.d.ts.map +0 -1
  346. package/libs/ui/inputs/src/lib/form-field/form-field-file/form-field-file.component.d.ts.map +0 -1
  347. package/libs/ui/inputs/src/lib/form-field/form-field-object/form-field-object.component.d.ts.map +0 -1
  348. package/libs/ui/inputs/src/lib/form-field/form-field-rich/form-field-rich.component.d.ts +0 -11
  349. package/libs/ui/inputs/src/lib/form-field/form-field-rich/form-field-rich.component.d.ts.map +0 -1
  350. package/libs/ui/inputs/src/lib/form-field/form-field-simple/form-field-simple.component.d.ts.map +0 -1
  351. package/libs/ui/inputs/src/lib/form-field/form-field-spatial-extent/form-field-spatial-extent.component.d.ts.map +0 -1
  352. package/libs/ui/inputs/src/lib/form-field/form-field-temporal-extent/form-field-temporal-extent.component.d.ts.map +0 -1
  353. package/libs/ui/inputs/src/lib/form-field/form-field.component.d.ts.map +0 -1
  354. package/libs/ui/inputs/src/lib/form-field/form-field.model.d.ts.map +0 -1
  355. package/libs/ui/inputs/src/lib/form-field/index.d.ts.map +0 -1
  356. package/src/libs/api/metadata-converter/src/lib/iso19139/converter.ts +0 -196
  357. package/src/libs/data-access/gn4/src/openapi/model/inlineObject3.api.model.ts +0 -18
  358. package/src/libs/ui/inputs/src/lib/form-field/form-field-rich/form-field-rich.component.html +0 -11
  359. package/src/libs/ui/inputs/src/lib/form-field/form-field-rich/form-field-rich.component.ts +0 -15
  360. package/src/libs/ui/inputs/src/lib/form-field/form-field.component.ts +0 -80
  361. /package/libs/api/metadata-converter/src/lib/iso19139/{codelists → utils}/keyword.mapper.d.ts +0 -0
  362. /package/libs/api/metadata-converter/src/lib/iso19139/{codelists → utils}/role.mapper.d.ts +0 -0
  363. /package/libs/api/metadata-converter/src/lib/iso19139/{codelists → utils}/status.mapper.d.ts +0 -0
  364. /package/libs/api/metadata-converter/src/lib/iso19139/{codelists → utils}/update-frequency.mapper.d.ts +0 -0
  365. /package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field.model.d.ts +0 -0
  366. /package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/index.d.ts +0 -0
  367. /package/src/libs/api/metadata-converter/src/lib/iso19139/{codelists → utils}/keyword.mapper.ts +0 -0
  368. /package/src/libs/api/metadata-converter/src/lib/iso19139/{codelists → utils}/role.mapper.ts +0 -0
  369. /package/src/libs/api/metadata-converter/src/lib/iso19139/{codelists → utils}/status.mapper.ts +0 -0
  370. /package/src/libs/api/metadata-converter/src/lib/iso19139/{codelists → utils}/update-frequency.mapper.ts +0 -0
  371. /package/src/libs/feature/editor/src/lib/{record-form/record-form.component.css → components/overview-upload/overview-upload.component.css} +0 -0
  372. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-array/form-field-array.component.css +0 -0
  373. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-array/form-field-array.component.html +0 -0
  374. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-file/form-field-file.component.css +0 -0
  375. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-file/form-field-file.component.html +0 -0
  376. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-object/form-field-object.component.css +0 -0
  377. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-object/form-field-object.component.html +0 -0
  378. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-rich/form-field-rich.component.css +0 -0
  379. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-simple/form-field-simple.component.css +0 -0
  380. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-simple/form-field-simple.component.html +0 -0
  381. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-spatial-extent/form-field-spatial-extent.component.css +0 -0
  382. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-spatial-extent/form-field-spatial-extent.component.html +0 -0
  383. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-temporal-extent/form-field-temporal-extent.component.css +0 -0
  384. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-temporal-extent/form-field-temporal-extent.component.html +0 -0
  385. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field.component.css +0 -0
  386. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field.model.ts +0 -0
  387. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/index.ts +0 -0
@@ -0,0 +1,580 @@
1
+ import {
2
+ DatasetRecord,
3
+ ServiceRecord,
4
+ } from '../../../../../../libs/common/domain/src/lib/model/record'
5
+
6
+ export const METAWAL_DATASET_RECORD: DatasetRecord = {
7
+ uniqueIdentifier: '2d974612-70b1-4662-a9f4-c43cbe453773',
8
+ abstract: `Cette donnée ponctuelle reprend la localisation des passages pour piétons sur l’ensemble des routes régionales du territoire.
9
+
10
+ Les passages pour piétons constituent un élément spécifique du réseau et font l'objet d'une attention particulière du gestionnaire de la voirie. L’implantation d’un passage piéton est régi par un arrêté ministériel.
11
+
12
+ Une distinction est faite entre les passages aux abords des écoles et les autres ; les premiers cités étant dotés d’aménagements spécifiques (éclairage, barrières,…).
13
+
14
+ Parmi les données attributaires de chaque élément, sont mentionnés la localisation de l’élément (route , BK, coordonnées XY) ainsi que le District gestionnaire. D’autres informations sont présentes dans la base de données : environnement, vitesse autorisée, aménagements, éléments de signalisation, distances de visibilité, …
15
+
16
+ Toutes ces données sont reprises dans BDR.`,
17
+ contacts: [
18
+ {
19
+ firstName: 'Frédéric',
20
+ lastName: 'Plumier',
21
+ position: 'Attaché',
22
+ email: 'frederic.plumier@spw.wallonie.be',
23
+ address: 'Boulevard du Nord, 8, Namur, 5000, Belgique',
24
+ organization: {
25
+ name: 'Direction Asset Management (SPW - Mobilité et Infrastructures - Direction Asset Management)',
26
+ },
27
+ role: 'point_of_contact',
28
+ },
29
+ ],
30
+ contactsForResource: [
31
+ {
32
+ email: 'helpdesk.carto@spw.wallonie.be',
33
+ organization: {
34
+ name: "Helpdesk carto du SPW (SPW - Secrétariat général - SPW Digital - Département de la Géomatique - Direction de l'Intégration des géodonnées)",
35
+ },
36
+ role: 'point_of_contact',
37
+ },
38
+ {
39
+ firstName: 'Frédéric',
40
+ lastName: 'Plumier',
41
+ position: 'Attaché',
42
+ email: 'frederic.plumier@spw.wallonie.be',
43
+ address: 'Boulevard du Nord, 8, NAMUR, 5000, Belgique',
44
+ phone: '+32 (0)81/772760',
45
+ organization: {
46
+ name: 'Direction Asset Management (SPW - Mobilité et Infrastructures - Direction Asset Management)',
47
+ },
48
+ role: 'custodian',
49
+ },
50
+ {
51
+ email: 'missing@missing.com',
52
+ organization: {
53
+ name: 'Service public de Wallonie (SPW)',
54
+ website: new URL('https://geoportail.wallonie.be'),
55
+ },
56
+ role: 'owner',
57
+ },
58
+ {
59
+ email: 'helpdesk.carto@spw.wallonie.be',
60
+ organization: {
61
+ name: 'Service public de Wallonie (SPW)',
62
+ },
63
+ role: 'distributor',
64
+ },
65
+ ],
66
+ recordCreated: new Date('2019-04-02T12:34:35'),
67
+ recordUpdated: new Date('2022-06-16T05:01:21'),
68
+ resourceCreated: new Date('2002-01-01'),
69
+ resourceUpdated: new Date('2022-06-16'),
70
+ resourcePublished: new Date('2022-06-16'),
71
+ distributions: [
72
+ {
73
+ description:
74
+ "Application de consultation des routes et autoroutes de Wallonie. Cette application est sécurisée et n'est accessible que pour les agents de la DGO1 du SPW.",
75
+ name: 'Portail cartographique des routes - Application sécurisée',
76
+ type: 'link',
77
+ url: new URL('http://geoapps.spw.wallonie.be/portailRoutes/'),
78
+ },
79
+ {
80
+ description:
81
+ "Application sécurisée permettant d'accéder aux rapports pour les passages pour piétons dans la BDR",
82
+ name: 'Rapport pour les passages pour piétons dans la BDR - Application sécurisée',
83
+ type: 'link',
84
+ url: new URL('http://rapport.papiweb.spw.wallonie.be/RapportPaPi/'),
85
+ },
86
+ {
87
+ description:
88
+ 'Portail de la DGO1 - Routes et Bâtiments relatif aux autoroutes et routes de Wallonie',
89
+ name: 'Portail autouroutes et routes de Wallonie',
90
+ type: 'link',
91
+ url: new URL('http://routes.wallonie.be/'),
92
+ },
93
+ ],
94
+ keywords: [
95
+ {
96
+ label: 'Routes',
97
+ thesaurus: {
98
+ id: 'geonetwork.thesaurus.external.theme.Themes_geoportail_wallon_hierarchy',
99
+ name: 'Thèmes du géoportail wallon',
100
+ url: new URL(
101
+ 'https://metawal.wallonie.be/geonetwork/srv/api/registries/vocabularies/external.theme.Themes_geoportail_wallon_hierarchy'
102
+ ),
103
+ },
104
+ type: 'theme',
105
+ },
106
+ {
107
+ label: 'géographie',
108
+ thesaurus: {
109
+ id: 'geonetwork.thesaurus.external.theme.gemet-theme',
110
+ name: 'GEMET themes',
111
+ url: new URL(
112
+ 'https://metawal.wallonie.be/geonetwork/srv/api/registries/vocabularies/external.theme.gemet-theme'
113
+ ),
114
+ },
115
+ type: 'theme',
116
+ },
117
+ {
118
+ label: 'transport',
119
+ thesaurus: {
120
+ id: 'geonetwork.thesaurus.external.theme.gemet-theme',
121
+ name: 'GEMET themes',
122
+ url: new URL(
123
+ 'https://metawal.wallonie.be/geonetwork/srv/api/registries/vocabularies/external.theme.gemet-theme'
124
+ ),
125
+ },
126
+ type: 'theme',
127
+ },
128
+ {
129
+ label: 'infrastructure routière',
130
+ thesaurus: {
131
+ id: 'geonetwork.thesaurus.external.theme.gemet',
132
+ name: 'GEMET',
133
+ url: new URL(
134
+ 'https://metawal.wallonie.be/geonetwork/srv/api/registries/vocabularies/external.theme.gemet'
135
+ ),
136
+ },
137
+ type: 'theme',
138
+ },
139
+ {
140
+ label: 'contrôle de la circulation',
141
+ thesaurus: {
142
+ id: 'geonetwork.thesaurus.external.theme.gemet',
143
+ name: 'GEMET',
144
+ url: new URL(
145
+ 'https://metawal.wallonie.be/geonetwork/srv/api/registries/vocabularies/external.theme.gemet'
146
+ ),
147
+ },
148
+ type: 'theme',
149
+ },
150
+ {
151
+ label: 'réseau routier',
152
+ thesaurus: {
153
+ id: 'geonetwork.thesaurus.external.theme.gemet',
154
+ name: 'GEMET',
155
+ url: new URL(
156
+ 'https://metawal.wallonie.be/geonetwork/srv/api/registries/vocabularies/external.theme.gemet'
157
+ ),
158
+ },
159
+ type: 'theme',
160
+ },
161
+ {
162
+ label: 'route',
163
+ thesaurus: {
164
+ id: 'geonetwork.thesaurus.external.theme.gemet',
165
+ name: 'GEMET',
166
+ url: new URL(
167
+ 'https://metawal.wallonie.be/geonetwork/srv/api/registries/vocabularies/external.theme.gemet'
168
+ ),
169
+ },
170
+ type: 'theme',
171
+ },
172
+ {
173
+ label: 'route',
174
+ thesaurus: {
175
+ id: 'geonetwork.thesaurus.external.theme.gemet',
176
+ name: 'GEMET',
177
+ url: new URL(
178
+ 'https://metawal.wallonie.be/geonetwork/srv/api/registries/vocabularies/external.theme.gemet'
179
+ ),
180
+ },
181
+ type: 'theme',
182
+ },
183
+ {
184
+ label: 'surveillance du trafic',
185
+ thesaurus: {
186
+ id: 'geonetwork.thesaurus.external.theme.gemet',
187
+ name: 'GEMET',
188
+ url: new URL(
189
+ 'https://metawal.wallonie.be/geonetwork/srv/api/registries/vocabularies/external.theme.gemet'
190
+ ),
191
+ },
192
+ type: 'theme',
193
+ },
194
+ {
195
+ label: 'réglementation de la circulation',
196
+ thesaurus: {
197
+ id: 'geonetwork.thesaurus.external.theme.gemet',
198
+ name: 'GEMET',
199
+ url: new URL(
200
+ 'https://metawal.wallonie.be/geonetwork/srv/api/registries/vocabularies/external.theme.gemet'
201
+ ),
202
+ },
203
+ type: 'theme',
204
+ },
205
+ {
206
+ label: 'trafic routier',
207
+ thesaurus: {
208
+ id: 'geonetwork.thesaurus.external.theme.gemet',
209
+ name: 'GEMET',
210
+ url: new URL(
211
+ 'https://metawal.wallonie.be/geonetwork/srv/api/registries/vocabularies/external.theme.gemet'
212
+ ),
213
+ },
214
+ type: 'theme',
215
+ },
216
+ {
217
+ label: 'transport terrestre',
218
+ thesaurus: {
219
+ id: 'geonetwork.thesaurus.external.theme.gemet',
220
+ name: 'GEMET',
221
+ url: new URL(
222
+ 'https://metawal.wallonie.be/geonetwork/srv/api/registries/vocabularies/external.theme.gemet'
223
+ ),
224
+ },
225
+ type: 'theme',
226
+ },
227
+ {
228
+ label: 'véhicule',
229
+ thesaurus: {
230
+ id: 'geonetwork.thesaurus.external.theme.gemet',
231
+ name: 'GEMET',
232
+ url: new URL(
233
+ 'https://metawal.wallonie.be/geonetwork/srv/api/registries/vocabularies/external.theme.gemet'
234
+ ),
235
+ },
236
+ type: 'theme',
237
+ },
238
+ {
239
+ label: 'autoroute',
240
+ thesaurus: {
241
+ id: 'geonetwork.thesaurus.external.theme.gemet',
242
+ name: 'GEMET',
243
+ url: new URL(
244
+ 'https://metawal.wallonie.be/geonetwork/srv/api/registries/vocabularies/external.theme.gemet'
245
+ ),
246
+ },
247
+ type: 'theme',
248
+ },
249
+ {
250
+ label: 'route à grande circulation',
251
+ thesaurus: {
252
+ id: 'geonetwork.thesaurus.external.theme.gemet',
253
+ name: 'GEMET',
254
+ url: new URL(
255
+ 'https://metawal.wallonie.be/geonetwork/srv/api/registries/vocabularies/external.theme.gemet'
256
+ ),
257
+ },
258
+ type: 'theme',
259
+ },
260
+ {
261
+ label: 'transport en commun',
262
+ thesaurus: {
263
+ id: 'geonetwork.thesaurus.external.theme.gemet',
264
+ name: 'GEMET',
265
+ url: new URL(
266
+ 'https://metawal.wallonie.be/geonetwork/srv/api/registries/vocabularies/external.theme.gemet'
267
+ ),
268
+ },
269
+ type: 'theme',
270
+ },
271
+ {
272
+ label: 'BDInfraSIG',
273
+ thesaurus: {
274
+ id: 'geonetwork.thesaurus.external.theme.infraSIG',
275
+ name: 'Mots-clés InfraSIG',
276
+ url: new URL(
277
+ 'https://metawal.wallonie.be/geonetwork/srv/api/registries/vocabularies/external.theme.infraSIG'
278
+ ),
279
+ },
280
+ type: 'theme',
281
+ },
282
+ {
283
+ label: 'passage piéton',
284
+ type: 'theme',
285
+ },
286
+ {
287
+ label: 'voirie régionale',
288
+ type: 'theme',
289
+ },
290
+ {
291
+ label: 'route régionale',
292
+ type: 'theme',
293
+ },
294
+ {
295
+ label: 'voie de communication',
296
+ type: 'theme',
297
+ },
298
+ {
299
+ label: 'code de la rue',
300
+ type: 'theme',
301
+ },
302
+ {
303
+ label: 'aménagement routier',
304
+ type: 'theme',
305
+ },
306
+ {
307
+ label: 'usager faible',
308
+ type: 'theme',
309
+ },
310
+ {
311
+ label: 'piéton',
312
+ type: 'theme',
313
+ },
314
+ {
315
+ label: 'gestion de la circulation',
316
+ type: 'theme',
317
+ },
318
+ {
319
+ label: 'visibilité',
320
+ type: 'theme',
321
+ },
322
+ {
323
+ label: 'code de la route',
324
+ type: 'theme',
325
+ },
326
+ {
327
+ label: 'accotement',
328
+ type: 'theme',
329
+ },
330
+ {
331
+ label: 'marquage',
332
+ type: 'theme',
333
+ },
334
+ {
335
+ label: 'pied',
336
+ type: 'theme',
337
+ },
338
+ {
339
+ label: 'signalisation',
340
+ type: 'theme',
341
+ },
342
+ {
343
+ label: 'Régional',
344
+ thesaurus: {
345
+ id: 'geonetwork.thesaurus.external.theme.httpinspireeceuropaeumetadatacodelistSpatialScope-SpatialScope',
346
+ name: 'Champ géographique',
347
+ url: new URL(
348
+ 'https://metawal.wallonie.be/geonetwork/srv/api/registries/vocabularies/external.theme.httpinspireeceuropaeumetadatacodelistSpatialScope-SpatialScope'
349
+ ),
350
+ },
351
+ type: 'theme',
352
+ },
353
+ ],
354
+ kind: 'dataset',
355
+ legalConstraints: [],
356
+ licenses: [
357
+ {
358
+ text: "Les conditions générales d'accès s’appliquent.",
359
+ url: new URL(
360
+ 'https://geoportail.wallonie.be/files/documents/ConditionsSPW/DataSPW-CGA.pdf'
361
+ ),
362
+ },
363
+ {
364
+ text: "Les conditions générales d'utilisation s'appliquent.",
365
+ url: new URL(
366
+ 'https://geoportail.wallonie.be/files/documents/ConditionsSPW/DataSPW-CGU.pdf'
367
+ ),
368
+ },
369
+ ],
370
+ lineage: `En 2002, la Direction de le Sécurité des aménagements de voiries a décidé de mener une analyse approfondie de la sécurité sur les passages piétons. En effet, depuis 1996 (loi du 21/12/2006), le piéton manifestant clairement son intention de traverser au droit d'un passage piéton bénéficie d'une priorité absolue sur les automobilistes.
371
+
372
+ La première démarche de cette direction a été de créer une base de données. Un relevé de tous les passages a donc été effectué de 2003 à 2005 et un peu moins de 6000 passages ont été répertoriés via une fiche de terrain qui est toujours utilisée actuellement.
373
+
374
+ Cette donnée a été intégrée dans la base de données routière (BDR). Les Districts routiers font la mise à jour directement dans cette base de données.
375
+
376
+ Ces données, intégrées dans la Banque de Données routières (BDR), ont fait l’objet d’une mise à jour massive en 2014-2015.
377
+ Depuis, ce sont les Districts routiers qui assurent la tenue à jour de ces informations directement dans la base de données.`,
378
+ otherConstraints: [],
379
+ overviews: [
380
+ {
381
+ description: 'PASSAGES_PIETONS',
382
+ url: new URL(
383
+ 'https://metawal.wallonie.be/geonetwork/srv/api/records/2d974612-70b1-4662-a9f4-c43cbe453773/attachments/PASSAGES_PIETONS.png'
384
+ ),
385
+ },
386
+ ],
387
+ ownerOrganization: {
388
+ name: 'Direction Asset Management (SPW - Mobilité et Infrastructures - Direction Asset Management)',
389
+ },
390
+ securityConstraints: [],
391
+ spatialExtents: [],
392
+ spatialRepresentation: 'vector',
393
+ status: 'ongoing',
394
+ temporalExtents: [],
395
+ title: 'Passages pour piéton',
396
+ topics: ['transportation'],
397
+ updateFrequency: 'continual',
398
+ landingPage: new URL(
399
+ 'https://metawal.wallonie.be/geonetwork/srv/api/records/2d974612-70b1-4662-a9f4-c43cbe453773'
400
+ ),
401
+ languages: [],
402
+ }
403
+
404
+ export const METAWAL_SERVICE_RECORD: ServiceRecord = {
405
+ uniqueIdentifier: '6d2b6fdb-f1ea-4d48-8697-a0c05512f1dc',
406
+ abstract:
407
+ "Ce service permet de visualiser les données du bâti et du parcellaire CADMAP 2016 fournies par l'Administration Générale de la Documentation Patrimoniale (AGDP - tous droits réservés) au Service public de Wallonie.",
408
+ contacts: [
409
+ {
410
+ email: 'helpdesk.carto@spw.wallonie.be',
411
+ organization: {
412
+ name: "Direction de l'Intégration des géodonnées (SPW - Secrétariat général - SPW Digital - Département de la Géomatique - Direction de l'Intégration des géodonnées)",
413
+ },
414
+ role: 'point_of_contact',
415
+ },
416
+ ],
417
+ contactsForResource: [
418
+ {
419
+ email: 'helpdesk.carto@spw.wallonie.be',
420
+ organization: {
421
+ name: "Helpdesk carto du SPW (SPW - Secrétariat général - SPW Digital - Département de la Géomatique - Direction de l'Intégration des géodonnées)",
422
+ },
423
+ role: 'point_of_contact',
424
+ },
425
+ {
426
+ email: 'helpdesk.carto@spw.wallonie.be',
427
+ organization: {
428
+ name: "Direction de l'Intégration des géodonnées (SPW - Secrétariat général - SPW Digital - Département de la Géomatique - Direction de l'Intégration des géodonnées)",
429
+ },
430
+ role: 'custodian',
431
+ },
432
+ {
433
+ email: 'missing@missing.com',
434
+ organization: {
435
+ name: 'Service public de Wallonie (SPW)',
436
+ website: new URL('https://geoportail.wallonie.be/'),
437
+ },
438
+ role: 'owner',
439
+ },
440
+ {
441
+ email: 'helpdesk.carto@spw.wallonie.be',
442
+ organization: {
443
+ name: 'Service public de Wallonie (SPW)',
444
+ },
445
+ role: 'distributor',
446
+ },
447
+ ],
448
+ keywords: [
449
+ {
450
+ label: 'Plans et règlements',
451
+ thesaurus: {
452
+ id: 'geonetwork.thesaurus.external.theme.Themes_geoportail_wallon_hierarchy',
453
+ name: 'Thèmes du géoportail wallon',
454
+ url: new URL(
455
+ 'https://metawal.wallonie.be/geonetwork/srv/api/registries/vocabularies/external.theme.Themes_geoportail_wallon_hierarchy'
456
+ ),
457
+ },
458
+ type: 'theme',
459
+ },
460
+ {
461
+ label: 'Données de base',
462
+ thesaurus: {
463
+ id: 'geonetwork.thesaurus.external.theme.Themes_geoportail_wallon_hierarchy',
464
+ name: 'Thèmes du géoportail wallon',
465
+ url: new URL(
466
+ 'https://metawal.wallonie.be/geonetwork/srv/api/registries/vocabularies/external.theme.Themes_geoportail_wallon_hierarchy'
467
+ ),
468
+ },
469
+ type: 'theme',
470
+ },
471
+ {
472
+ label: 'administration',
473
+ thesaurus: {
474
+ id: 'geonetwork.thesaurus.external.theme.gemet-theme',
475
+ name: 'GEMET themes',
476
+ url: new URL(
477
+ 'https://metawal.wallonie.be/geonetwork/srv/api/registries/vocabularies/external.theme.gemet-theme'
478
+ ),
479
+ },
480
+ type: 'theme',
481
+ },
482
+ {
483
+ label: 'Reporting INSPIRENO',
484
+ thesaurus: {
485
+ id: 'geonetwork.thesaurus.external.theme.infraSIG',
486
+ name: 'Mots-clés InfraSIG',
487
+ url: new URL(
488
+ 'https://metawal.wallonie.be/geonetwork/srv/api/registries/vocabularies/external.theme.infraSIG'
489
+ ),
490
+ },
491
+ type: 'theme',
492
+ },
493
+ {
494
+ label: 'Ministère des Finances',
495
+ type: 'theme',
496
+ },
497
+ {
498
+ label: 'SPF Finances',
499
+ type: 'theme',
500
+ },
501
+ {
502
+ label: 'Cadastre',
503
+ type: 'theme',
504
+ },
505
+ {
506
+ label: 'Administration Générale de la Documentation Patrimoniale',
507
+ type: 'theme',
508
+ },
509
+ {
510
+ label: 'Etat Fédéral',
511
+ type: 'theme',
512
+ },
513
+ {
514
+ label: 'Cadmap',
515
+ type: 'theme',
516
+ },
517
+ {
518
+ label: 'Cadgis',
519
+ type: 'theme',
520
+ },
521
+ {
522
+ label: 'Propriété',
523
+ type: 'theme',
524
+ },
525
+ {
526
+ label: 'Plan cadastral',
527
+ type: 'theme',
528
+ },
529
+ {
530
+ label: 'Fiscal',
531
+ type: 'theme',
532
+ },
533
+ {
534
+ label: 'Zonage',
535
+ type: 'theme',
536
+ },
537
+ {
538
+ label: 'Privé',
539
+ type: 'theme',
540
+ },
541
+ {
542
+ label: 'Parcellaire cadastral',
543
+ type: 'theme',
544
+ },
545
+ ],
546
+ kind: 'service',
547
+ legalConstraints: [],
548
+ licenses: [
549
+ {
550
+ text: "Les conditions d'utilisation du service sont régies par les Conditions d’accès et d’utilisation des services web géographiques de visualisation du Service public de Wallonie consultables à l'adresse https://geoportail.wallonie.be/files/documents/ConditionsSPW/LicServicesSPW.pdf\n\n Elles s'appliquent sans préjudice des conditions d'accès à la donnée décrites dans la fiche de la donnée.",
551
+ },
552
+ ],
553
+ onlineResources: [
554
+ {
555
+ description:
556
+ 'Ce service ESRI-REST permet de visualiser la couche de données "Plan parcellaire cadastral - situation 01/01/2016" (uniquement les données du bâti et le parcellaire)',
557
+ endpointUrl: new URL(
558
+ 'https://geoservices.wallonie.be/arcgis/rest/services/PLAN_REGLEMENT/CADMAP_2016_PARCELLES/MapServer'
559
+ ),
560
+ protocol: 'esriRest',
561
+ type: 'endpoint',
562
+ },
563
+ ],
564
+ otherConstraints: [],
565
+ overviews: [],
566
+ ownerOrganization: {
567
+ name: "Direction de l'Intégration des géodonnées (SPW - Secrétariat général - SPW Digital - Département de la Géomatique - Direction de l'Intégration des géodonnées)",
568
+ },
569
+ recordCreated: new Date('2019-04-02T12:31:58'),
570
+ recordUpdated: new Date('2022-02-09T11:31:06.766Z'),
571
+ resourcePublished: new Date('2016-12-01'),
572
+ securityConstraints: [],
573
+ title:
574
+ 'Plan parcellaire cadastral - situation au 01/01/2016 - Service de visualisation REST',
575
+ topics: [],
576
+ languages: [],
577
+ landingPage: new URL(
578
+ 'https://metawal.wallonie.be/geonetwork/srv/api/records/6d2b6fdb-f1ea-4d48-8697-a0c05512f1dc'
579
+ ),
580
+ }
@@ -2,9 +2,9 @@ import {
2
2
  Individual,
3
3
  Organization,
4
4
  } from '../../../../../../libs/common/domain/src/lib/model/record'
5
- import { getRoleFromRoleCode } from '../iso19139/codelists/role.mapper'
5
+ import { getRoleFromRoleCode } from '../iso19139/utils/role.mapper'
6
6
  import { Thesaurus } from './types'
7
- import { getKeywordTypeFromKeywordTypeCode } from '../iso19139/codelists/keyword.mapper'
7
+ import { getKeywordTypeFromKeywordTypeCode } from '../iso19139/utils/keyword.mapper'
8
8
 
9
9
  export type SourceWithUnknownProps = { [key: string]: unknown }
10
10
 
@@ -2,14 +2,14 @@ import { Gn4FieldMapper } from './gn4.field.mapper'
2
2
  import { lastValueFrom } from 'rxjs'
3
3
  import { OrganizationsServiceInterface } from '../../../../../../libs/common/domain/src/lib/organizations.service.interface'
4
4
  import { CatalogRecord } from '../../../../../../libs/common/domain/src/lib/model/record'
5
- import { MetadataBaseMapper } from '../metadata-base.mapper'
5
+ import { BaseConverter } from '../base.converter'
6
6
  import { Injectable } from '@angular/core'
7
7
  import { Gn4Record } from './types'
8
8
 
9
9
  @Injectable({
10
10
  providedIn: 'root',
11
11
  })
12
- export class Gn4MetadataMapper extends MetadataBaseMapper<Gn4Record> {
12
+ export class Gn4Converter extends BaseConverter<Gn4Record> {
13
13
  constructor(
14
14
  private fieldMapper: Gn4FieldMapper,
15
15
  private orgsService: OrganizationsServiceInterface
@@ -15,8 +15,8 @@ import {
15
15
  } from './atomic-operations'
16
16
  import { MetadataUrlService } from './metadata-url.service'
17
17
  import { Injectable } from '@angular/core'
18
- import { getStatusFromStatusCode } from '../iso19139/codelists/status.mapper'
19
- import { getUpdateFrequencyFromFrequencyCode } from '../iso19139/codelists/update-frequency.mapper'
18
+ import { getStatusFromStatusCode } from '../iso19139/utils/status.mapper'
19
+ import { getUpdateFrequencyFromFrequencyCode } from '../iso19139/utils/update-frequency.mapper'
20
20
  import {
21
21
  CatalogRecord,
22
22
  Constraint,
@@ -120,10 +120,16 @@ export class Gn4FieldMapper {
120
120
  }),
121
121
  creationDateForResource: (output, source) => ({
122
122
  ...output,
123
- datasetCreated: toDate(
123
+ resourceCreated: toDate(
124
124
  getFirstValue(selectField<string>(source, 'creationDateForResource'))
125
125
  ),
126
126
  }),
127
+ revisionDateForResource: (output, source) => ({
128
+ ...output,
129
+ resourceUpdated: toDate(
130
+ getFirstValue(selectField<string>(source, 'revisionDateForResource'))
131
+ ),
132
+ }),
127
133
  createDate: (output, source) => ({
128
134
  ...output,
129
135
  recordCreated: toDate(selectField<string>(source, 'createDate')),
@@ -0,0 +1,3 @@
1
+ export * from './gn4.converter'
2
+ export * from './atomic-operations'
3
+ export * from './types'
@@ -0,0 +1 @@
1
+ export * from './iso19115-3.converter'