I'm kinda lost here.
I basically just want to add a Layer for basemap.at - see here: https://www.basemap.at/wmts/1.0.0/WMTSCapabilities.xml
How do I do this? Do I use ArcGISTiledLAyer? ArcGISMapImageLayer? Which Uri?
The only documentation about WMTS I found was a "PortalItemType". If I need a "ArcGISPortal", what should I use as an Uri here?
Solved! Go to Solution.
Hi Morten,
I have downloaded the sample sources and trying it out.
How do I get the dll for Esri.ArcGISRuntime.Ogc?
I only have Esri.ArcGISRuntime.dll and Esri.ArcGISRuntime.LocalServices.dll
regards
PJ
sorry, my bad. I had mixed up with the 100.0.0 version of the dll
Thanks Morten. I have gotten it working now.
I am trying to work on something lightweight and cost nothing.
My current solution is to use open street map data in a local installation
of geoserver,
that is why I am using WMTS.
I would like to know whether there is any simpler solution?
i.e. is there any way for Esri Arcgis .NET SDK to consume local map data
(or even just a geotagged image)?
I know there are map packages that can be generated from ArcGIS Desktop,
but that would require me to
buy ArcGIS desktop, so I am not going that direction..
thanks in advance for any pointers.
rgds
PJ
Hi, I have discovered there is a Raster type and RasterLayer in Esri ArcGIS
Runtime for .Net.
However I could not get it to work.
In the github samples, I could only find RasterLayerImageServiceRaster
but the map is not showing. I get a blank map.
What should I be doing?
rgds
PJ
sorry for double posting, my code did not come out.
Hi, I have discovered there is a Raster type and RasterLayer in Esri ArcGIS
Runtime for .Net.
However I could not get it to work.
In the github samples, I could only find RasterLayerImageServiceRaster
<https://github.com/Esri/arcgis-runtime-samples-dotnet/tree/master/src/WPF/ArcGISRuntime.WPF.Samples/Samples/Layers/RasterLayerImageServiceRaster>
and RasterLayerRasterFunction
<https://github.com/Esri/arcgis-runtime-samples-dotnet/tree/master/src/WPF/ArcGISRuntime.WPF.Samples/Samples/Layers/RasterLayerRasterFunction>
I just want to create a Raster Layer from a GeoTIFF file stored on local
disk and then display it. Nothing too fancy.
My code at the moment looks something like:
Raster myRaster = new Raster(@"C:\tiffmap.tif");
RasterLater newRasterLayer = new RasterLayer(myRaster);
Basemap myBasemap = _map.Basemap;
LayerCollection myLayerCollection = myBasemap.BaseLayers;
myLayerCollection.Add(newRasterLayer);
but the map is not showing. I get a blank map.
What should I be doing?
rgds
I think you should start a new thread, since that question is unrelated to the WMTS discussion here.
Oops. Ok.