geonetwork-ui 2.11.0-dev.aed5b2e5b → 2.11.0-dev.b7f9a229d

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 (44) hide show
  1. package/fesm2022/geonetwork-ui.mjs +287 -205
  2. package/fesm2022/geonetwork-ui.mjs.map +1 -1
  3. package/index.d.ts +100 -54
  4. package/index.d.ts.map +1 -1
  5. package/package.json +2 -1
  6. package/src/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.ts +107 -34
  7. package/src/libs/common/domain/src/lib/model/search/filter.model.ts +20 -1
  8. package/src/libs/feature/map/src/index.ts +0 -1
  9. package/src/libs/feature/map/src/lib/feature-map.module.ts +1 -8
  10. package/src/libs/feature/search/src/index.ts +2 -0
  11. package/src/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.html +3 -0
  12. package/src/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.ts +13 -1
  13. package/src/libs/feature/{map/src/lib → search/src/lib/geocoding}/geocoding.service.ts +16 -7
  14. package/src/libs/feature/search/src/lib/location-search/location-search.component.html +8 -0
  15. package/src/libs/feature/search/src/lib/location-search/location-search.component.ts +40 -0
  16. package/src/libs/feature/search/src/lib/search-filters-summary-item/search-filters-summary-item.component.ts +1 -0
  17. package/src/libs/feature/search/src/lib/utils/service/fields.service.ts +8 -2
  18. package/src/libs/feature/search/src/lib/utils/service/fields.ts +49 -5
  19. package/src/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.ts +2 -1
  20. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.html +10 -1
  21. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts +8 -0
  22. package/src/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.html +7 -4
  23. package/src/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.ts +12 -9
  24. package/src/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.model.ts +2 -2
  25. package/src/libs/ui/inputs/src/lib/spatial-extent-dropdown/spatial-extent-dropdown.component.html +5 -11
  26. package/src/libs/ui/inputs/src/lib/spatial-extent-dropdown/spatial-extent-dropdown.component.ts +34 -4
  27. package/src/libs/ui/layout/src/lib/block-list/block-list.component.css +1 -0
  28. package/src/libs/ui/map/src/lib/components/map-container/map-container.component.ts +2 -0
  29. package/src/libs/util/app-config/src/lib/app-config.ts +5 -0
  30. package/src/libs/util/app-config/src/lib/fixtures.ts +3 -0
  31. package/src/libs/util/app-config/src/lib/model.ts +4 -0
  32. package/src/libs/util/shared/src/lib/links/link-utils.ts +19 -10
  33. package/src/libs/util/shared/src/lib/utils/geojson.ts +24 -0
  34. package/translations/de.json +8 -4
  35. package/translations/en.json +9 -5
  36. package/translations/es.json +8 -4
  37. package/translations/fr.json +9 -5
  38. package/translations/it.json +8 -4
  39. package/translations/nl.json +8 -4
  40. package/translations/pt.json +8 -4
  41. package/translations/sk.json +8 -4
  42. package/src/libs/feature/map/src/lib/geocoding/geocoding.component.css +0 -0
  43. package/src/libs/feature/map/src/lib/geocoding/geocoding.component.html +0 -41
  44. package/src/libs/feature/map/src/lib/geocoding/geocoding.component.ts +0 -112
@@ -24,7 +24,7 @@ import {
24
24
  propagateToDocumentOnly,
25
25
  } from '../../../../../../libs/util/shared/src'
26
26
  import { ButtonComponent } from '../button/button.component'
27
- import { NgIcon, provideIcons } from '@ng-icons/core'
27
+ import { NgIcon, provideIcons, provideNgIconsConfig } from '@ng-icons/core'
28
28
  import { FormsModule } from '@angular/forms'
29
29
  import { TranslatePipe } from '@ngx-translate/core'
30
30
 
@@ -46,19 +46,22 @@ import {
46
46
  matExpandMore,
47
47
  matExpandLess,
48
48
  }),
49
+ provideNgIconsConfig({
50
+ size: '1.5rem',
51
+ }),
49
52
  ],
50
53
  standalone: true,
51
54
  })
52
- export class DropdownMultiselectComponent {
55
+ export class DropdownMultiselectComponent<T = unknown> {
53
56
  private scrollStrategies = inject(ScrollStrategyOptions)
54
57
 
55
58
  @Input() title: string
56
- @Input() choices: Choice[]
57
- @Input() selected: unknown[] = []
59
+ @Input() choices: Choice<T>[]
60
+ @Input() selected: T[] = []
58
61
  @Input() allowSearch = true
59
62
  @Input() maxRows: number
60
63
  @Input() searchInputValue = ''
61
- @Output() selectValues = new EventEmitter<unknown[]>()
64
+ @Output() selectValues = new EventEmitter<T[]>()
62
65
  @ViewChild('overlayOrigin') overlayOrigin: CdkOverlayOrigin
63
66
  @ViewChild(CdkConnectedOverlay) overlay: CdkConnectedOverlay
64
67
  @ViewChild('overlayContainer', { read: ElementRef })
@@ -115,7 +118,7 @@ export class DropdownMultiselectComponent {
115
118
 
116
119
  private setFocus() {
117
120
  setTimeout(() => {
118
- this.searchFieldInput.nativeElement.focus()
121
+ this.searchFieldInput?.nativeElement.focus()
119
122
  }, 0)
120
123
  }
121
124
 
@@ -194,18 +197,18 @@ export class DropdownMultiselectComponent {
194
197
  this.checkboxes.get(newIndex).nativeElement.focus()
195
198
  }
196
199
 
197
- isSelected(choice: Choice) {
200
+ isSelected(choice: Choice<T>) {
198
201
  return this.selected.indexOf(choice.value) > -1
199
202
  }
200
203
 
201
- select(choice: Choice, selected: boolean) {
204
+ select(choice: Choice<T>, selected: boolean) {
202
205
  this.selected = selected
203
206
  ? [...this.selected.filter((v) => v !== choice.value), choice.value]
204
207
  : this.selected.filter((v) => v !== choice.value)
205
208
  this.selectValues.emit(this.selected)
206
209
  }
207
210
 
208
- toggle(choice: Choice) {
211
+ toggle(choice: Choice<T>) {
209
212
  this.select(choice, !this.isSelected(choice))
210
213
  }
211
214
 
@@ -1,4 +1,4 @@
1
- export interface Choice {
2
- value: unknown
1
+ export interface Choice<T = unknown> {
2
+ value: T
3
3
  label: string
4
4
  }
@@ -58,7 +58,7 @@
58
58
  [class]="
59
59
  (hasSelection
60
60
  ? 'border-b-[1px] border-gray-400 pb-[20px]'
61
- : 'pb-[8px]') + ' text-black'
61
+ : 'pb-[12px]') + ' text-black'
62
62
  "
63
63
  >
64
64
  <gn-ui-drag-and-drop-file-input
@@ -68,7 +68,7 @@
68
68
  [showFileName]="false"
69
69
  textClass="text-black truncate"
70
70
  dropzoneBackgroundColor="transparent"
71
- icon="iconoirImport"
71
+ icon="iconoirUpload"
72
72
  extraClass="gn-ui-gray-outline-input w-full !h-[32px] px-[8px] py-[4px] justify-between"
73
73
  (fileChange)="handleFileSelected($event)"
74
74
  (errorChange)="handleFileError($event)"
@@ -79,11 +79,7 @@
79
79
  @if (hasSelection) {
80
80
  <gn-ui-button
81
81
  [type]="'primary-light'"
82
- [title]="
83
- ('search.filters.spatialExtent.bboxDelete' | translate) +
84
- ' ' +
85
- fileName
86
- "
82
+ [title]="selectionDeleteLabelKey | translate: selectionLabelParams"
87
83
  (buttonClick)="removeSelection($event)"
88
84
  extraClass="group gap-x-2 w-full h-[28px] px-[8px] py-[4px] mb-[12px] bg-primary-lighter text-white"
89
85
  data-test="spatial-extent-selected-item"
@@ -94,12 +90,10 @@
94
90
  size="15px"
95
91
  ></ng-icon>
96
92
  <span class="group-hover:hidden truncate text-sm m-auto">
97
- {{ 'search.filters.spatialExtent.bboxPrefix' | translate }}
98
- {{ fileName }}
93
+ {{ selectionLabelKey | translate: selectionLabelParams }}
99
94
  </span>
100
95
  <span class="hidden group-hover:block truncate text-sm m-auto">
101
- {{ 'search.filters.spatialExtent.bboxDelete' | translate }}
102
- {{ fileName }}
96
+ {{ selectionDeleteLabelKey | translate: selectionLabelParams }}
103
97
  </span>
104
98
  <ng-icon
105
99
  name="iconoirCheckCircle"
@@ -20,9 +20,9 @@ import { ButtonComponent } from '../button/button.component'
20
20
  import { NgIcon, provideIcons } from '@ng-icons/core'
21
21
  import {
22
22
  iconoirCheckCircle,
23
- iconoirImport,
24
23
  iconoirSquareDashed,
25
24
  iconoirTrash,
25
+ iconoirUpload,
26
26
  } from '@ng-icons/iconoir'
27
27
  import {
28
28
  matClose,
@@ -35,6 +35,7 @@ import {
35
35
  BoundingBox,
36
36
  getGeometryBoundingBox,
37
37
  getGeometryFromGeoJSON,
38
+ isBoundingBoxWithinWorldExtent,
38
39
  propagateToDocumentOnly,
39
40
  readFileAsText,
40
41
  } from '../../../../../../libs/util/shared/src'
@@ -46,13 +47,21 @@ import {
46
47
  marker('search.filters.spatialExtent.import')
47
48
  marker('search.filters.spatialExtent.helpText')
48
49
  marker('search.filters.spatialExtent.error.title')
49
- marker('search.filters.spatialExtent.bboxPrefix')
50
+ marker('search.filters.spatialExtent.error.outOfBounds')
51
+
52
+ const LABEL_FROM_FILE = marker('search.filters.spatialExtent.bboxFromFile')
53
+ const LABEL_FROM_FILE_DELETE = marker(
54
+ 'search.filters.spatialExtent.bboxFromFileDelete'
55
+ )
56
+ const LABEL_INITIAL = marker('search.filters.spatialExtent.bboxInitial')
57
+ const LABEL_INITIAL_DELETE = marker(
58
+ 'search.filters.spatialExtent.bboxInitialDelete'
59
+ )
50
60
 
51
61
  export interface SpatialExtentDropdownError {
52
62
  key: string
53
63
  params?: Record<string, string | number>
54
64
  }
55
- marker('search.filters.spatialExtent.bboxDelete')
56
65
 
57
66
  @Component({
58
67
  selector: 'gn-ui-spatial-extent-dropdown',
@@ -67,9 +76,9 @@ marker('search.filters.spatialExtent.bboxDelete')
67
76
  providers: [
68
77
  provideIcons({
69
78
  iconoirCheckCircle,
70
- iconoirImport,
71
79
  iconoirSquareDashed,
72
80
  iconoirTrash,
81
+ iconoirUpload,
73
82
  matClose,
74
83
  matExpandLess,
75
84
  matExpandMore,
@@ -85,6 +94,11 @@ export class SpatialExtentDropdownComponent {
85
94
 
86
95
  @Input() title: string
87
96
  @Input() maxFileSizeMb: number | null = null
97
+ @Input() set initialBbox(value: BoundingBox | null) {
98
+ if (!this.bbox && value) {
99
+ this.bbox = value
100
+ }
101
+ }
88
102
 
89
103
  @Output() bboxChange = new EventEmitter<BoundingBox | null>()
90
104
  @Output() errorChange = new EventEmitter<SpatialExtentDropdownError>()
@@ -123,6 +137,18 @@ export class SpatialExtentDropdownComponent {
123
137
  return !!this.bbox
124
138
  }
125
139
 
140
+ get selectionLabelKey() {
141
+ return this.fileName ? LABEL_FROM_FILE : LABEL_INITIAL
142
+ }
143
+
144
+ get selectionDeleteLabelKey() {
145
+ return this.fileName ? LABEL_FROM_FILE_DELETE : LABEL_INITIAL_DELETE
146
+ }
147
+
148
+ get selectionLabelParams() {
149
+ return { fileName: this.fileName }
150
+ }
151
+
126
152
  openOverlay() {
127
153
  this.overlayMinWidth =
128
154
  this.overlayOrigin.elementRef.nativeElement.getBoundingClientRect()
@@ -154,6 +180,10 @@ export class SpatialExtentDropdownComponent {
154
180
  return
155
181
  }
156
182
  const bbox = getGeometryBoundingBox(geometry)
183
+ if (!isBoundingBoxWithinWorldExtent(bbox)) {
184
+ this.setError(marker('search.filters.spatialExtent.error.outOfBounds'))
185
+ return
186
+ }
157
187
  this.bbox = bbox
158
188
  this.fileName = file.name
159
189
  this.bboxChange.emit(bbox)
@@ -3,6 +3,7 @@
3
3
  }
4
4
 
5
5
  :host {
6
+ display: block;
6
7
  position: relative;
7
8
  }
8
9
 
@@ -58,6 +58,8 @@ import { transformExtent } from 'ol/proj.js'
58
58
  export const DEFAULT_BASEMAP_LAYER: MapContextLayerMapLibreStyle = {
59
59
  type: 'maplibre-style',
60
60
  styleUrl: `https://basemaps.cartocdn.com/gl/positron-gl-style/style.json`,
61
+ clickable: false,
62
+ hoverable: false,
61
63
  }
62
64
 
63
65
  const DEFAULT_VIEW: MapContextView = {
@@ -253,6 +253,8 @@ export function loadAppConfig(configUrl = 'assets/configuration/default.toml') {
253
253
  'advanced_filters',
254
254
  'limit',
255
255
  'spatial_extent_max_file_size',
256
+ 'geocoding_provider',
257
+ 'geocoding_provider_options',
256
258
  ],
257
259
  warnings,
258
260
  errors
@@ -284,6 +286,9 @@ export function loadAppConfig(configUrl = 'assets/configuration/default.toml') {
284
286
  LIMIT: parsedSearchSection.limit,
285
287
  SPATIAL_EXTENT_MAX_FILE_SIZE:
286
288
  parsedSearchSection.spatial_extent_max_file_size,
289
+ GEOCODING_PROVIDER: parsedSearchSection.geocoding_provider,
290
+ GEOCODING_PROVIDER_OPTIONS:
291
+ parsedSearchSection.geocoding_provider_options,
287
292
  } as SearchConfig)
288
293
 
289
294
  const parsedMetadataQualitySection = parseConfigSection(
@@ -41,6 +41,9 @@ fonts_stylesheet_url = "https://fonts.googleapis.com/css2?family=Open+Sans"
41
41
  record_kind_quick_filter = false
42
42
  filter_geometry_url = 'https://my.domain.org/geom.json'
43
43
  do_not_use_default_search_preset = false
44
+ geocoding_provider = "geoplateforme"
45
+ geocoding_provider_options.category = "administratif"
46
+ geocoding_provider_options.limit = 5
44
47
  advanced_filters = ['publicationYear', 'documentStandard', 'inspireKeyword', 'topic', 'license']
45
48
 
46
49
  [[search_preset]]
@@ -55,6 +55,8 @@ export interface SearchPreset {
55
55
  filters: Record<string, string[] | string>
56
56
  }
57
57
 
58
+ export type GeocodingProviderName = 'geoadmin' | 'geonames' | 'geoplateforme'
59
+
58
60
  export interface SearchConfig {
59
61
  RECORD_KIND_QUICK_FILTER?: boolean
60
62
  FILTER_GEOMETRY_URL?: string
@@ -64,6 +66,8 @@ export interface SearchConfig {
64
66
  ADVANCED_FILTERS?: []
65
67
  LIMIT?: number
66
68
  SPATIAL_EXTENT_MAX_FILE_SIZE?: number
69
+ GEOCODING_PROVIDER?: GeocodingProviderName
70
+ GEOCODING_PROVIDER_OPTIONS?: Record<string, string | number>
67
71
  }
68
72
 
69
73
  export interface MetadataQualityConfig {
@@ -344,7 +344,11 @@ export function getLinkLabel(
344
344
  return format ? `${label} (${format})` : label
345
345
  }
346
346
 
347
- export async function getLayers(url: string, serviceProtocol: ServiceProtocol) {
347
+ export async function getLayers(
348
+ url: string,
349
+ serviceProtocol: ServiceProtocol,
350
+ deep = false
351
+ ) {
348
352
  switch (serviceProtocol) {
349
353
  case 'ogcFeatures': {
350
354
  const layers = await new OgcApiEndpoint(url).allCollections
@@ -352,7 +356,10 @@ export async function getLayers(url: string, serviceProtocol: ServiceProtocol) {
352
356
  }
353
357
  case 'wfs': {
354
358
  const endpointWfs = await new WfsEndpoint(url).isReady()
355
- const featureTypes = await endpointWfs.getFeatureTypes()
359
+ const featureTypes = endpointWfs.getFeatureTypes()
360
+ if (!deep) {
361
+ return featureTypes
362
+ }
356
363
  const layers = (
357
364
  await Promise.allSettled(
358
365
  featureTypes.map((collection) => {
@@ -366,14 +373,16 @@ export async function getLayers(url: string, serviceProtocol: ServiceProtocol) {
366
373
  }
367
374
  case 'wms': {
368
375
  const endpointWms = await new WmsEndpoint(url).isReady()
369
- const layers = (
370
- await endpointWms
371
- .getLayers()
372
- .flatMap(wmsLayerFlatten)
373
- .filter((l) => l.name)
374
- ).map((collection) => {
375
- return endpointWms.getLayerByName(collection.name)
376
- })
376
+ const layersSummary = endpointWms
377
+ .getLayers()
378
+ .flatMap(wmsLayerFlatten)
379
+ .filter((l) => l.name)
380
+ if (!deep) {
381
+ return layersSummary
382
+ }
383
+ const layers = layersSummary.map((collection) =>
384
+ endpointWms.getLayerByName(collection.name)
385
+ )
377
386
  return layers
378
387
  }
379
388
  case 'wmts': {
@@ -38,6 +38,30 @@ export function getGeometryFromGeoJSON(
38
38
  // FIXME: this type should be more generic across the project
39
39
  export type BoundingBox = [number, number, number, number]
40
40
 
41
+ export function isBoundingBox(value: unknown): value is BoundingBox {
42
+ return (
43
+ Array.isArray(value) &&
44
+ value.length === 4 &&
45
+ value.every((item) => typeof item === 'number')
46
+ )
47
+ }
48
+
49
+ /**
50
+ * Checks that a bounding box's coordinates stay within the valid
51
+ * longitude (-180/180) and latitude (-90/90) ranges.
52
+ */
53
+ export function isBoundingBoxWithinWorldExtent(bbox: BoundingBox): boolean {
54
+ const [minX, minY, maxX, maxY] = bbox
55
+ return (
56
+ minX >= -180 &&
57
+ maxX <= 180 &&
58
+ minY >= -90 &&
59
+ maxY <= 90 &&
60
+ minX <= maxX &&
61
+ minY <= maxY
62
+ )
63
+ }
64
+
41
65
  export function getGeometryBoundingBox(geometry: Geometry): BoundingBox {
42
66
  // use the bounding box if specified in the GeoJSON object
43
67
  if (geometry.bbox) {
@@ -425,7 +425,6 @@
425
425
  "map.add.layer.wms": "Aus WMS",
426
426
  "map.addFromFile.placeholder": "Klicke hier oder ziehe eine Datei herein",
427
427
  "map.dropdown.placeholder": "Kein Vorschaulayer verfügbar",
428
- "map.geocoding.placeholder": "Nach einem Ort suchen",
429
428
  "map.help.addFromFile": "Klicke oder ziehe eine Datei herein um eine Karte hinzuzufügen (momentan wird nur das GeoJSON-Format unterstützt).",
430
429
  "map.layer.add": "Hinzufügen",
431
430
  "map.layers.available": "Verfügbare Layer",
@@ -690,18 +689,23 @@
690
689
  "search.filters.recordKind.reuse": "Wiederverwendungen",
691
690
  "search.filters.recordKind.service": "Dienste",
692
691
  "search.filters.representationType": "Repräsentationstyp",
692
+ "search.filters.resourceCreationRevisionDate": "Ressourcendatum",
693
693
  "search.filters.resourceType": "Ressourcentyp",
694
- "search.filters.spatialExtent": "",
695
- "search.filters.spatialExtent.bboxDelete": "",
696
- "search.filters.spatialExtent.bboxPrefix": "",
694
+ "search.filters.spatialExtent.bboxFromFile": "",
695
+ "search.filters.spatialExtent.bboxFromFileDelete": "",
696
+ "search.filters.spatialExtent.bboxInitial": "",
697
+ "search.filters.spatialExtent.bboxInitialDelete": "",
697
698
  "search.filters.spatialExtent.error.fileTooLarge": "",
698
699
  "search.filters.spatialExtent.error.invalidFormat": "",
699
700
  "search.filters.spatialExtent.error.noGeometry": "",
701
+ "search.filters.spatialExtent.error.outOfBounds": "",
700
702
  "search.filters.spatialExtent.error.title": "",
703
+ "search.filters.spatialExtent": "",
701
704
  "search.filters.spatialExtent.helpText": "",
702
705
  "search.filters.spatialExtent.import": "",
703
706
  "search.filters.standard": "Standard",
704
707
  "search.filters.summaryLabel.changeDate": "Geändert am: ",
708
+ "search.filters.summaryLabel.resourceCreationRevisionDate": "Ressourcendatum: ",
705
709
  "search.filters.summaryLabel.user": "Geändert von: ",
706
710
  "search.filters.title": "Ergebnisse filtern",
707
711
  "search.filters.topic": "Themen",
@@ -425,7 +425,6 @@
425
425
  "map.add.layer.wms": "From WMS",
426
426
  "map.addFromFile.placeholder": "Click or drop a file here",
427
427
  "map.dropdown.placeholder": "No preview layer available",
428
- "map.geocoding.placeholder": "Search for a place",
429
428
  "map.help.addFromFile": "Click or drag and drop a file to add to the map (currently supports GeoJSON format only).",
430
429
  "map.layer.add": "Add",
431
430
  "map.layers.available": "Available Layers",
@@ -690,18 +689,23 @@
690
689
  "search.filters.recordKind.reuse": "Reuses",
691
690
  "search.filters.recordKind.service": "Services",
692
691
  "search.filters.representationType": "Representation type",
692
+ "search.filters.resourceCreationRevisionDate": "Resource date",
693
693
  "search.filters.resourceType": "Resource type",
694
- "search.filters.spatialExtent": "Spatial extent",
695
- "search.filters.spatialExtent.bboxDelete": "Delete",
696
- "search.filters.spatialExtent.bboxPrefix": "bbox from",
694
+ "search.filters.spatialExtent.bboxFromFile": "Extent from {fileName}",
695
+ "search.filters.spatialExtent.bboxFromFileDelete": "Delete {fileName}",
696
+ "search.filters.spatialExtent.bboxInitial": "Pre-selected extent",
697
+ "search.filters.spatialExtent.bboxInitialDelete": "Delete selection",
697
698
  "search.filters.spatialExtent.error.fileTooLarge": "The file exceeds the maximum allowed size ({maxSize} MB)",
698
699
  "search.filters.spatialExtent.error.invalidFormat": "The file could not be read as a valid GeoJSON",
699
700
  "search.filters.spatialExtent.error.noGeometry": "No geometry could be found in the file",
701
+ "search.filters.spatialExtent.error.outOfBounds": "The geometry of the GeoJSON file is not compliant; either some coordinates are out of bounds ([-180, 180] for longitude and [-90, 90] for latitude), or the file uses projected coordinates instead of longitude and latitude",
700
702
  "search.filters.spatialExtent.error.title": "GeoJSON import error",
701
- "search.filters.spatialExtent.helpText": "The selected item for the spatial extent will be converted to a bbox",
703
+ "search.filters.spatialExtent": "Spatial extent",
704
+ "search.filters.spatialExtent.helpText": "The extent of the selected geometry will be used",
702
705
  "search.filters.spatialExtent.import": "Import a GeoJSON",
703
706
  "search.filters.standard": "Standard",
704
707
  "search.filters.summaryLabel.changeDate": "Updated: ",
708
+ "search.filters.summaryLabel.resourceCreationRevisionDate": "Resource date: ",
705
709
  "search.filters.summaryLabel.user": "Editor: ",
706
710
  "search.filters.title": "Filter your results",
707
711
  "search.filters.topic": "Topics",
@@ -425,7 +425,6 @@
425
425
  "map.add.layer.wms": "",
426
426
  "map.addFromFile.placeholder": "",
427
427
  "map.dropdown.placeholder": "",
428
- "map.geocoding.placeholder": "",
429
428
  "map.help.addFromFile": "",
430
429
  "map.layer.add": "",
431
430
  "map.layers.available": "",
@@ -690,18 +689,23 @@
690
689
  "search.filters.recordKind.reuse": "",
691
690
  "search.filters.recordKind.service": "",
692
691
  "search.filters.representationType": "",
692
+ "search.filters.resourceCreationRevisionDate": "",
693
693
  "search.filters.resourceType": "",
694
- "search.filters.spatialExtent": "",
695
- "search.filters.spatialExtent.bboxDelete": "",
696
- "search.filters.spatialExtent.bboxPrefix": "",
694
+ "search.filters.spatialExtent.bboxFromFile": "",
695
+ "search.filters.spatialExtent.bboxFromFileDelete": "",
696
+ "search.filters.spatialExtent.bboxInitial": "",
697
+ "search.filters.spatialExtent.bboxInitialDelete": "",
697
698
  "search.filters.spatialExtent.error.fileTooLarge": "",
698
699
  "search.filters.spatialExtent.error.invalidFormat": "",
699
700
  "search.filters.spatialExtent.error.noGeometry": "",
701
+ "search.filters.spatialExtent.error.outOfBounds": "",
700
702
  "search.filters.spatialExtent.error.title": "",
703
+ "search.filters.spatialExtent": "",
701
704
  "search.filters.spatialExtent.helpText": "",
702
705
  "search.filters.spatialExtent.import": "",
703
706
  "search.filters.standard": "",
704
707
  "search.filters.summaryLabel.changeDate": "",
708
+ "search.filters.summaryLabel.resourceCreationRevisionDate": "",
705
709
  "search.filters.summaryLabel.user": "",
706
710
  "search.filters.title": "",
707
711
  "search.filters.topic": "",
@@ -425,7 +425,6 @@
425
425
  "map.add.layer.wms": "Depuis un service WMS",
426
426
  "map.addFromFile.placeholder": "Cliquez ou déposez un fichier ici",
427
427
  "map.dropdown.placeholder": "Aucune couche d'aperçu disponible",
428
- "map.geocoding.placeholder": "Rechercher un lieu",
429
428
  "map.help.addFromFile": "Cliquez ou glissez-déposez un fichier pour l'ajouter à la carte (supporte actuellement uniquement le format GeoJSON).",
430
429
  "map.layer.add": "Ajouter",
431
430
  "map.layers.available": "Couches disponibles",
@@ -690,18 +689,23 @@
690
689
  "search.filters.recordKind.reuse": "Réutilisations",
691
690
  "search.filters.recordKind.service": "Services",
692
691
  "search.filters.representationType": "Type de représentation",
692
+ "search.filters.resourceCreationRevisionDate": "Date de la ressource",
693
693
  "search.filters.resourceType": "Type de ressource",
694
- "search.filters.spatialExtent": "Étendue spatiale",
695
- "search.filters.spatialExtent.bboxDelete": "Supprimer",
696
- "search.filters.spatialExtent.bboxPrefix": "bbox de",
694
+ "search.filters.spatialExtent.bboxFromFile": "Étendue de {fileName}",
695
+ "search.filters.spatialExtent.bboxFromFileDelete": "Supprimer {fileName}",
696
+ "search.filters.spatialExtent.bboxInitial": "Étendue présélectionnée",
697
+ "search.filters.spatialExtent.bboxInitialDelete": "Supprimer la sélection",
697
698
  "search.filters.spatialExtent.error.fileTooLarge": "Le fichier dépasse la taille maximale autorisée ({maxSize} Mo)",
698
699
  "search.filters.spatialExtent.error.invalidFormat": "Le fichier n'a pas pu être lu comme un GeoJSON valide",
699
700
  "search.filters.spatialExtent.error.noGeometry": "Aucune géométrie n'a pu être trouvée dans le fichier",
701
+ "search.filters.spatialExtent.error.outOfBounds": "La géométrie du fichier GeoJSON n'est pas conforme ; soit certaines coordonnées sont hors limites ([-180, 180] pour la longitude et [-90, 90] pour la latitude), soit le fichier utilise des coordonnées projetées au lieu de la longitude et de la latitude.",
700
702
  "search.filters.spatialExtent.error.title": "Erreur d'importation GeoJSON",
701
- "search.filters.spatialExtent.helpText": "L’élément sélectionné pour l'étendue sera converti en bbox",
703
+ "search.filters.spatialExtent": "Étendue spatiale",
704
+ "search.filters.spatialExtent.helpText": "L'étendue de la géométrie sélectionnée sera utilisée",
702
705
  "search.filters.spatialExtent.import": "Importer un GeoJSON",
703
706
  "search.filters.standard": "Standard",
704
707
  "search.filters.summaryLabel.changeDate": "Mise à jour : ",
708
+ "search.filters.summaryLabel.resourceCreationRevisionDate": "Date de la ressource : ",
705
709
  "search.filters.summaryLabel.user": "Éditeur : ",
706
710
  "search.filters.title": "Affiner votre recherche",
707
711
  "search.filters.topic": "Thèmes",
@@ -425,7 +425,6 @@
425
425
  "map.add.layer.wms": "Da un WMS",
426
426
  "map.addFromFile.placeholder": "Clicca o trascina un file qui",
427
427
  "map.dropdown.placeholder": "Nessun livello di anteprima disponibile",
428
- "map.geocoding.placeholder": "Cerca un luogo",
429
428
  "map.help.addFromFile": "Clicca o trascina un file per aggiungerlo alla mappa (attualmente supporta solo il formato GeoJSON)",
430
429
  "map.layer.add": "Aggiungi",
431
430
  "map.layers.available": "Layer disponibili",
@@ -690,18 +689,23 @@
690
689
  "search.filters.recordKind.reuse": "Riutilizzi",
691
690
  "search.filters.recordKind.service": "Servizi",
692
691
  "search.filters.representationType": "Tipo di rappresentazione",
692
+ "search.filters.resourceCreationRevisionDate": "Data della risorsa",
693
693
  "search.filters.resourceType": "Tipo di risorsa",
694
- "search.filters.spatialExtent": "",
695
- "search.filters.spatialExtent.bboxDelete": "",
696
- "search.filters.spatialExtent.bboxPrefix": "",
694
+ "search.filters.spatialExtent.bboxFromFile": "",
695
+ "search.filters.spatialExtent.bboxFromFileDelete": "",
696
+ "search.filters.spatialExtent.bboxInitial": "",
697
+ "search.filters.spatialExtent.bboxInitialDelete": "",
697
698
  "search.filters.spatialExtent.error.fileTooLarge": "",
698
699
  "search.filters.spatialExtent.error.invalidFormat": "",
699
700
  "search.filters.spatialExtent.error.noGeometry": "",
701
+ "search.filters.spatialExtent.error.outOfBounds": "",
700
702
  "search.filters.spatialExtent.error.title": "",
703
+ "search.filters.spatialExtent": "",
701
704
  "search.filters.spatialExtent.helpText": "",
702
705
  "search.filters.spatialExtent.import": "",
703
706
  "search.filters.standard": "Standard",
704
707
  "search.filters.summaryLabel.changeDate": "Aggiornato: ",
708
+ "search.filters.summaryLabel.resourceCreationRevisionDate": "Data della risorsa: ",
705
709
  "search.filters.summaryLabel.user": "Editor: ",
706
710
  "search.filters.title": "Affina la sua ricerca",
707
711
  "search.filters.topic": "Argomenti",
@@ -425,7 +425,6 @@
425
425
  "map.add.layer.wms": "",
426
426
  "map.addFromFile.placeholder": "",
427
427
  "map.dropdown.placeholder": "",
428
- "map.geocoding.placeholder": "",
429
428
  "map.help.addFromFile": "",
430
429
  "map.layer.add": "",
431
430
  "map.layers.available": "",
@@ -690,18 +689,23 @@
690
689
  "search.filters.recordKind.reuse": "",
691
690
  "search.filters.recordKind.service": "",
692
691
  "search.filters.representationType": "",
692
+ "search.filters.resourceCreationRevisionDate": "",
693
693
  "search.filters.resourceType": "",
694
- "search.filters.spatialExtent": "",
695
- "search.filters.spatialExtent.bboxDelete": "",
696
- "search.filters.spatialExtent.bboxPrefix": "",
694
+ "search.filters.spatialExtent.bboxFromFile": "",
695
+ "search.filters.spatialExtent.bboxFromFileDelete": "",
696
+ "search.filters.spatialExtent.bboxInitial": "",
697
+ "search.filters.spatialExtent.bboxInitialDelete": "",
697
698
  "search.filters.spatialExtent.error.fileTooLarge": "",
698
699
  "search.filters.spatialExtent.error.invalidFormat": "",
699
700
  "search.filters.spatialExtent.error.noGeometry": "",
701
+ "search.filters.spatialExtent.error.outOfBounds": "",
700
702
  "search.filters.spatialExtent.error.title": "",
703
+ "search.filters.spatialExtent": "",
701
704
  "search.filters.spatialExtent.helpText": "",
702
705
  "search.filters.spatialExtent.import": "",
703
706
  "search.filters.standard": "",
704
707
  "search.filters.summaryLabel.changeDate": "",
708
+ "search.filters.summaryLabel.resourceCreationRevisionDate": "",
705
709
  "search.filters.summaryLabel.user": "",
706
710
  "search.filters.title": "",
707
711
  "search.filters.topic": "",
@@ -425,7 +425,6 @@
425
425
  "map.add.layer.wms": "",
426
426
  "map.addFromFile.placeholder": "",
427
427
  "map.dropdown.placeholder": "",
428
- "map.geocoding.placeholder": "",
429
428
  "map.help.addFromFile": "",
430
429
  "map.layer.add": "",
431
430
  "map.layers.available": "",
@@ -690,18 +689,23 @@
690
689
  "search.filters.recordKind.reuse": "",
691
690
  "search.filters.recordKind.service": "",
692
691
  "search.filters.representationType": "",
692
+ "search.filters.resourceCreationRevisionDate": "",
693
693
  "search.filters.resourceType": "",
694
- "search.filters.spatialExtent": "",
695
- "search.filters.spatialExtent.bboxDelete": "",
696
- "search.filters.spatialExtent.bboxPrefix": "",
694
+ "search.filters.spatialExtent.bboxFromFile": "",
695
+ "search.filters.spatialExtent.bboxFromFileDelete": "",
696
+ "search.filters.spatialExtent.bboxInitial": "",
697
+ "search.filters.spatialExtent.bboxInitialDelete": "",
697
698
  "search.filters.spatialExtent.error.fileTooLarge": "",
698
699
  "search.filters.spatialExtent.error.invalidFormat": "",
699
700
  "search.filters.spatialExtent.error.noGeometry": "",
701
+ "search.filters.spatialExtent.error.outOfBounds": "",
700
702
  "search.filters.spatialExtent.error.title": "",
703
+ "search.filters.spatialExtent": "",
701
704
  "search.filters.spatialExtent.helpText": "",
702
705
  "search.filters.spatialExtent.import": "",
703
706
  "search.filters.standard": "",
704
707
  "search.filters.summaryLabel.changeDate": "",
708
+ "search.filters.summaryLabel.resourceCreationRevisionDate": "",
705
709
  "search.filters.summaryLabel.user": "",
706
710
  "search.filters.title": "",
707
711
  "search.filters.topic": "",