hdx-ckan icon indicating copy to clipboard operation
hdx-ckan copied to clipboard

Geo preview: uploading duplicate resources

Open cjhendrix opened this issue 9 years ago • 3 comments

CKAN allows the same file or link to be used multiple times as resources on the same dataset.

The geo preview is handling this inconsistently:

  1. For both filestore and remote resources: only a single geopreview is available on the map. image

  2. For remote resources, changing one of the resource names makes it work: image

  3. But for filestore resources, it does not. image

cjhendrix avatar Jun 26 '15 09:06 cjhendrix

my guess is that is the map layer that filters out duplicates. try to rename SOM file locally as npl and upload it as duplicate. the resource gis-related things are stored as datasetname_resourceid in the gis db and referenced accordingly on both gisapi and gislayer so this shouldnt happen

În Vin, 26 iun. 2015 la 12:27, cjhendrix [email protected] a scris:

CKAN allows the same file or link to be used multiple times as resources on the same dataset.

The geo preview is handling this inconsistently:

  1. For both filestore and remote resources: only a single geopreview is available on the map. [image: image] https://cloud.githubusercontent.com/assets/1654485/8374469/e8b9e4a8-1bf5-11e5-9030-00cff2dfcc4b.png

  2. For remote resources, changing one of the resource names makes it work: [image: image] https://cloud.githubusercontent.com/assets/1654485/8374495/22674f6a-1bf6-11e5-85d8-343e0616c0f1.png

  3. But for filestore resources, it does not. [image: image] https://cloud.githubusercontent.com/assets/1654485/8374515/47daec3e-1bf6-11e5-91a3-72dff4308434.png

— Reply to this email directly or view it on GitHub https://github.com/OCHA-DAP/hdx-ckan/issues/2987.

teodorescuserban avatar Jun 26 '15 09:06 teodorescuserban

@alexandru-m-g is this still an issue?

danmihaila avatar Aug 27 '15 12:08 danmihaila

@danmihaila this was never assigned. Probably a js issue ( but could be more deep ) . So still an issue.

alexandru-m-g avatar Aug 27 '15 12:08 alexandru-m-g