wmts service #2639
-
I failed to add the wmts service using xyzimagelayer, and there was an error [osgearth]*[geopoint] called toworld() on an invalid point. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Your image did not upload. Please paste your earth file or a way to reproduce your issue. |
Beta Was this translation helpful? Give feedback.
-
WMTS requires that you use the auto layer = new GDALImageLayer();
layer->setConnection("WMTS:https://services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/WMTS/1.0.0/WMTSCapabilities.xml,layer=World_Imagery"); (Notice the |
Beta Was this translation helpful? Give feedback.
WMTS requires that you use the
GDALImageLayer
and set theconnection
to a WMTS endpoint, like so:(Notice the
WMTS:
prefix on the URL.)