Canadian-Geospatial-Platform / geoview

Canadian Geospatial Platform Viewer / Visualiseur de la Plateforme Géospatiale Canadienne
Other
22 stars 32 forks source link

OSDP List of URL - highly integrated #2294

Closed jolevesq closed 2 months ago

jolevesq commented 3 months ago

Highly-integrated datasets (~40) that are baked into Static web pages and search events

They should be all integrated in the OSDP demo pages

DEMOS PAGES

OTHER UUID

ychoquet commented 3 months ago

Learn_CLIMATE 2 - 3e9cc0c9-7e59-478b-befb-a584674baa75 returns an error saying Layer type esriImage not supported Dev_Fisheries 2 a57d5eef-e482-4c05-bcd5-56a0f15b9f02 loads but display nothing Dev_Agriculture 1 d765cc41-8ee0-4aca-be4b-084448e52a58 returns an error saying Layer type esriImage not supported Dev_Agriculture 2 199e4ab6-832b-4434-ac39-e4887d7cc4e5 returns an error saying Layer type esriImage not supported

jolevesq commented 3 months ago

Learn_BIODIVERSITY - 6c343726-1e92-451a-876a-76e17d398a1c loads but display nothing

took a lot of time and when on the page, it freeze the tab if I switch page then return. This query took a while to return the image https://maps-cartes.ec.gc.ca/arcgis/rest/services/CWS_SCF/CPCAD/MapServer/export?F=image&FORMAT=PNG32&TRANSPARENT=true&LAYERS=show%3A0&layerDefs=%7B%220%22%3A%20%22(BIOME%20%3D%20%27T%27%20and%20PA_OECM_DF%20in%20(1%2C%203%2C%202%2C%204%2C%205)%20or%20BIOME%20%3D%20%27M%27%20and%20PA_OECM_DF%20in%20(1%2C%203%2C%202%2C%205))%22%7D&SIZE=1570%2C1200&BBOX=-16743429.248986572%2C6858159.4413429415%2C-10576246.226071198%2C11571929.904717747&BBOXSR=3857&IMAGESR=3857&DPI=90

Dev_Fisheries 2 a57d5eef-e482-4c05-bcd5-56a0f15b9f02 loads but display nothing

There is a problem with this query: https://gisp.dfo-mpo.gc.ca/arcgis/rest/services/FGP/PATH/MapServer/identify?f=json&tolerance=7&mapExtent=-141.16356371349178,56.426476852711346,-104.25325665080462,69.11403565465335&imageDisplay=1046,800,96&layers=visible:0&layerDefs={"0": "undefined in (Active, Cancelled, Completed, Monitoring (Effects and/or Compliance))"}&returnFieldName=true&sr=4326&returnGeometry=true&geometryType=esriGeometryPoint&geometry=-138.65817958208572,57.1709701709417 logger.ts:384 13:34:31.964 esri-dynamic.getFeatureInfoAtLongLat() Error: Error code = 400 Invalid 'layerDefs' is specified at t. (esri-dynamic.ts:467:15) at f (regeneratorRuntime.js:45:16) at Generator. (regeneratorRuntime.js:133:17) at Generator.next (regeneratorRuntime.js:74:21) at r (asyncToGenerator.js:3:15) at s (asyncToGenerator.js:17:9)

Dev_Transportation 1 e218c8cb-5039-4706-b58f-d54c6c11a6fc loads but display nothing

It is a featureServer (not mapServer) and I think we do not handle this properly https://services3.arcgis.com/4ctlIwTXTNrszdvn/arcgis/rest/services/CEMS_PilotSites_ECTM_Regions_Pilotes/FeatureServer

Learn_CLIMATE 2 - 3e9cc0c9-7e59-478b-befb-a584674baa75 Dev_Agriculture 1 d765cc41-8ee0-4aca-be4b-084448e52a58 returns an error saying Layer type esriImage not supported Dev_Agriculture 2 199e4ab6-832b-4434-ac39-e4887d7cc4e5 returns an error saying Layer type esriImage not supported

esriImage is not define

ychoquet commented 3 months ago

Yes, you're right. However, we cannot be faster thant the service response time.