hdx-ckan
hdx-ckan copied to clipboard
Geo preview: uploading duplicate resources
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:
-
For both filestore and remote resources: only a single geopreview is available on the map.
-
For remote resources, changing one of the resource names makes it work:
-
But for filestore resources, it does not.
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:
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
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
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.
@alexandru-m-g is this still an issue?
@danmihaila this was never assigned. Probably a js issue ( but could be more deep ) . So still an issue.