Open prustar opened 7 years ago
@prustar https://d3ug57i5ee5hwd.cloudfront.net/lossyear/{z}/{x}/{y}.png looks like a WMS endpoint so I would say you should be able to add it as a WMS layer. The only thing I'm missing is the namespace:layer_name part on the URL.
@Huyeng any ideas?
In the second example if you go to the link you will find the details of the file name and layer name which is in the URL so this should be easy to establish I would think.
I asked about the TMS layer but no response yet.
@prustar
I have been looking into this. The second link you pasted seems to be from an Imagery Layer as indicated below:
As opposed to the layers you proposed on https://github.com/OpenDevelopmentMekong/wp-odm_theme/issues/656, this type of layer is not currently supported by our frontend.
Those layers marked as tile layers on http://www.arcgis.com/ should work as TMS layers though:
@acorbi so I just add the layer into WP? How do we manage the metadata?
How do we manage the metadata?
This is to approach as part of 2.4.0 but we can have a call soon in case you have some ideas that could be implemented in the interim for supporting future work.
@acorbi would be great to implement something now so we don't keep having this issue. The standardised metadata ISO 19115 exist already in other CKAN repositories - I wonder if we can just copy this:
Example should be here: https://github.com/TerriaJS/nationalmap
or perhaps on the open government portal for the US or Canada.
@prustar you can add the layer https://d3ug57i5ee5hwd.cloudfront.net/lossyear/{z}/{x}/{y}.png as the Title Layer. Please add some description into the content if you have. For the second one, i don't think you can add it as it can be exported into only the image file.
@acorbi @Huyeng -- This is a feature layer (WMS) so I should be able to add it theoretically but when I look a the URL still not able to get the data - http://www.arcgis.com/home/item.html?id=aeb3d84296b84e7d9d4ec025142a8c81#overview http://services1.arcgis.com/RTK5Unh1Z71JKIiR/arcgis/rest/services/Coastal_Vulnerability_Myanmar_InVEST/FeatureServer
I can upload the layer and then manually input into our system but really don't want to have to do this for all these new layers which I've found.
This raster layer doesn't seem to have corresponding TMS layer URL either: http://www.arcgis.com/home/item.html?id=c2390465168b4cb0b1261d154fe122ce http://globil.wwf.de/arcgis/rest/services/Myanmar_InVEST/Combined_Ecosystem_Services_Myanmar_InVEST/ImageServer
I also note that they are using a different metadata standard to the one I want to implement.
Can the WP map layers accept the following cloud services from ESRI:
Raster - https://d3ug57i5ee5hwd.cloudfront.net/lossyear/{z}/{x}/{y}.png or something like this:
http://globil.wwf.de/arcgis/rest/services/Myanmar_InVEST/Change_in_Baseflow_Baseline_All_Agriculture_Myanmar_InVEST/ImageServer
If not can we make this happen I would like to harvest from WWF as they are harvesting from us currently.