POST
|
Update: I am not sure if it is a bug or not, but when I access my service like this: http://localhost:8888/geoserver/gwc/service/wmts?request=GetCapabilities I see all published layers in the ServiceInfo.LayerInfos list. If I access it like this (REST): http://localhost:8888/geoserver/gwc/service/wmts/rest/WMTSCapabilities.xml I see only the first layer in the LayerInfos list.
... View more
05-08-2019
06:23 AM
|
0
|
0
|
7005
|
POST
|
I got the MosaicDatasetRaster working. It looks much better.
... View more
05-07-2019
07:46 AM
|
0
|
0
|
745
|
POST
|
With 100.5, I dropped an unmodified GeoServer 2.15.1 warfile on my server, and was able to load jpeg and png types, EPSG:900913 and EPSG:4326 using the REST capabilities endpoint. If my basemap was already set to SpatialReferences.WebMercator, I did need to force the TileMatrixSetId, which was not a problem as the WmtsLayer has an overloaded constructor to do this. I just needed to change from the ctor that uses LayerInfo arguments to the one with the URI , layer Id, and TileMatrixSetId arguments. I use a loop over LayerInfos in the WmtsService, creating a WmtsLayer for each. Also, with 100.5 I can use the native GroupLayer now instead of my hacked implementation to contain the layers.
... View more
05-07-2019
07:43 AM
|
2
|
1
|
7007
|
POST
|
Additional information... The 404 responses I saw when I made geowebcache return only "tile" ResourceURLs was due to new authorization configuration in newer GeoServer versions. I made anonymous access OK for gwc REST GETs and it works, but then it seems the {style} placeholder tag in the ResourceURL is not properly populated by WmtsLayer, so once ArcGIS Runtime sorts out the preferred format being ignored and properly handles the {style} placeholder (perhaps an upper/lower case issue?) it should work.
... View more
12-17-2018
05:10 AM
|
1
|
0
|
7005
|
POST
|
Matvei & Gonzalo, I have been using Runtime SDK .NET and GeoServer. With GeoServer 2.12.1 and Runtime 100.4, WMTS was working quite well for raster layers. After updating GeoServer to 2.14.1 WMTS layers (using the exact same Runtime SDK code) failed to display. I have tracked down the issue to the fact that GeoServer 2.12.1 did not send Layer Resource URL elements in the capabilities documents, and in newer versions it does. To verify this is source of the issue, I modified the Geowebcache gwc-wmts library used by GeoServer to not include the Layer Resource URL elements (in bold below), and my raster layers displayed properly. Here are the lines in the WMTS Capabilities document which break Runtime SDK WmtsLayer for raster data: <Layer> <Style isDefault="true"> <ows:Identifier>raster</ows:Identifier> <LegendURL format="image/png" xlink:href="http://localhost:8080/geoserver/ows?service=WMS&request=GetLegendGraphic&format=image%2Fpng&width=20&height=20&layer=TestWS%3AWorld" width="20" height="20"/> </Style> ... <ResourceURL format="image/png" resourceType="tile" template="http://localhost:8080/geoserver/gwc/rest/wmts/TestWS:World/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/> <ResourceURL format="image/jpeg" resourceType="tile" template="http://localhost:8080/geoserver/gwc/rest/wmts/TestWS:World/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg"/> <ResourceURL format="text/plain" resourceType="FeatureInfo" template="http://localhost:8080/geoserver/gwc/rest/wmts/TestWS:World/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/> <ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" template="http://localhost:8080/geoserver/gwc/rest/wmts/TestWS:World/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/> <ResourceURL format="text/xml" resourceType="FeatureInfo" template="http://localhost:8080/geoserver/gwc/rest/wmts/TestWS:World/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/> <ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" template="http://localhost:8080/geoserver/gwc/rest/wmts/TestWS:World/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/> <ResourceURL format="text/xml" resourceType="FeatureInfo" template="http://localhost:8080/geoserver/gwc/rest/wmts/TestWS:World/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/> <ResourceURL format="text/html" resourceType="FeatureInfo" template="http://localhost:8080/geoserver/gwc/rest/wmts/TestWS:World/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/> <ResourceURL format="application/json" resourceType="FeatureInfo" template="http://localhost:8080/geoserver/gwc/rest/wmts/TestWS:World/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/> </Layer> So it looks like GeoServer is advertising tile and feature REST endpoints, but then puking when the client tries to access them. The KVP endpoints still work, as demonstrated in the tile layer preview in GeoServer web app, but the client must ignore the REST capability and use KVP only to work. Furthermore, upon inspecting the requests generated by Runtime SDK WMTS layer, it seems to choose the "FeatureInfo" "application/json" resource, for which it cannot fill in the parameters correctly (see below). in spite of setting PreferredImageFormat = TileImageFormat.Png before LoadAsync(). That would not work even if GeoServer was properly implementing the REST endpoints. I changed geowebcache to only include the tile Resource URLS and the tile requests were formatted properly, but GeoServer still returns 404 response code. So it is broken on both ends. http://localhost:8080/geoserver/gwc/rest/wmts/TestWS:World/%7Bstyle%7D/EPSG:4326/EPSG:4326:0/0/0/%7BJ%7D/%7BI%7D?format=application/json For the time being the only solution seems to be to force KVP. As this was removed on the SDK client side, you'll need to stick with GeoServer 2.12.1 or modify/revert Geowebwebcache gwc-wmts-1xxx.jar Another alternative may be the TMS service, which I think is supported in GeoServer. Hope this is helpful, Charles
... View more
12-15-2018
08:19 AM
|
1
|
2
|
7007
|
POST
|
Thanks Mike, I have already created a .tpk of these rasters and it works really, really well, but I am trying to mitigate the need for my customer to pre-process raster products. The 100.X .Net SDK seems to support stand alone raster products quite well, and I am pleased with that. I was just wondering if this is a known issue with multiple edge-to-edge rasters. Regards, Charles
... View more
12-12-2018
05:43 AM
|
0
|
1
|
745
|
POST
|
I've created GeoTiff images from the NASA Blue marble images. The 8 image tiles covering the world have been Georeferenced using the center of the cells along the edges, so the left, right, top, and bottom of the images match. Unfortunately, when creating RasterLayers with Runtime SDK 100.4 the raster layers are rendered with undesirable seams in between them: Here is the same data rendered in ArcMap 10.5 And QGIS Any suggestions?
... View more
12-11-2018
07:47 AM
|
0
|
3
|
865
|
POST
|
Ah, of course. I was thrown off by the Overlays property and did not notice GraphicsOverlays. Thank you for steering me in the right direction.
... View more
12-10-2018
10:12 AM
|
0
|
0
|
843
|
POST
|
Most WPF .Net 100.X samples use a Static Resource of the Map object declared in the xaml file. Then the Map property of the MapView control is set to Static Resource instance. I would like to do the same for Graphics overlays but this does not seem to be possible. The exposed Overlays property is for an unrelated Items control. Sure, I can use the somewhat confusing approach as is demonstrated in the "Controller" samples (demonstrates injecting a "weak" reference to the MapView into the view model to control, for example, the map viewpoint from the ViewModel), but is there no more straight forward way?
... View more
12-08-2018
11:57 AM
|
0
|
2
|
1192
|
POST
|
I have the same request. In a nutshell, GeoServer wants tiled=true in each subsequent (WmsLayer generated) request as well as the initial GetCapabilities request. Also, the image size needs to be set to the desired tile size, for example, 256,256.
... View more
11-07-2018
07:04 AM
|
0
|
0
|
1557
|
POST
|
I was not able to find a solution, but I did make the following observations: The problem is not CompositeSymbol, it is PictureMarkerSymbol. Using only PictureMarkerSymbol still demonstrates the issue If you do not clear the cache, it works without hanging, and this is probably what you want to do anyway, at least until (or even if) the cache grows too large Caching just the RuntimeImage, but recreating the symbol for each graphic each time also works correctly Adding Trace output statements in the loop (slowing it down) makes it work. Not a solution or workaround but perhaps a clue as the root cause of the problem.
... View more
07-19-2018
07:09 AM
|
2
|
0
|
611
|
POST
|
Look for the DrawStatusChanged event in MapView. In your handler check the Status property in the DrawStatusChangedEventArgs parameter for DrawStatus.Completed.
... View more
01-23-2018
09:40 AM
|
1
|
1
|
983
|
POST
|
#ArcGIS Runtime .NET WPF application... I am having a problem displaying a WMTS layer served by a GeoServer instance which uses Geo Web Cache (KVP only). With Runtime 10.2.7, it works perfectly. I see a GetCapabilities request followed by lots of GetTile requests, exactly what I expect. In 100.2, I see the initial GetCapabilities request and service capability response followed by a single GetTile request (result 304, not modified) and response, followed by LOTS of GetCapabilities requests. Subsequenty panning and zooming results in only GetCapabilities responses sent and no more tiles. Did 100.2 break this? PS: Connecting to the same server works as expected with the latest (4.6) Javascript API. Generated Requests: WORKING 10.2.7 GET http://myserver:8888/geoserver/gwc/service/wmts?service=WMTS&request=GetCapabilities&version=1.0.0 HTTP/1.1 Host: myserver:8888 Accept-Encoding: gzip, deflate Connection: Keep-Alive GET http://myserver:8888/geoserver/gwc/service/wmts?&service=WMTS&request=GetTile&version=1.0.0&layer=WorldImagery&style=&format=image/png&tileMatrixSet=EPSG:4326&tileMatrix=EPSG:4326:1&tileRow=0&tileCol=3 HTTP/1.1 Host: myserver:8888 GET http://myserver:8888/geoserver/gwc/service/wmts?&service=WMTS&request=GetTile&version=1.0.0&layer=WorldImagery&style=&format=image/png&tileMatrixSet=EPSG:4326&tileMatrix=EPSG:4326:1&tileRow=0&tileCol=2 HTTP/1.1 Host: myserver:8888 GET http://myserver:8888/geoserver/gwc/service/wmts?&service=WMTS&request=GetTile&version=1.0.0&layer=WorldImagery&style=&format=image/png&tileMatrixSet=EPSG:4326&tileMatrix=EPSG:4326:1&tileRow=0&tileCol=0 HTTP/1.1 Host: myserver:8888 ... more GetTile NOT WORKING 100.2 GET http://myserver:8888/geoserver/gwc/service/wmts?service=WMTS&request=GetCapabilities&version=1.0.0 HTTP/1.1 User-Agent: ArcGISRuntime-NET/100.2 (Windows 6.1.7601; Win64; x64; .NET 4.7.0) Referer: http://arcgis100.app/ Host: myserver:8888 Accept-Encoding: gzip, deflate Connection: Keep-Alive GET http://myserver:8888/geoserver/gwc/service/wmts?TileCol=0&TileMatrix=EPSG%3A4326%3A0&TileMatrixSet=EPSG%3A4326&TileRow=0&format=image%2Fpng&layer=WorldImagery&request=GetTile&service=WMTS&style=&version=1.0.0 HTTP/1.1 User-Agent: ArcGISRuntime-NET/100.2 (Windows 6.1.7601; Win64; x64; .NET 4.7.0) Referer: http://arcgis100.app/ Host: myserver:8888 If-Modified-Since: Thu, 11 Jan 2018 16:24:48 GMT Accept-Encoding: gzip, deflate GET http://myserver:8888/geoserver/gwc/service/wmts?service=WMTS&request=GetCapabilities&version=1.0.0 HTTP/1.1 User-Agent: ArcGISRuntime-NET/100.2 (Windows 6.1.7601; Win64; x64; .NET 4.7.0) Referer: http://arcgis100.app/ Host: myserver:8888 Accept-Encoding: gzip, deflate GET http://myserver:8888/geoserver/gwc/service/wmts?service=WMTS&request=GetCapabilities&version=1.0.0 HTTP/1.1 User-Agent: ArcGISRuntime-NET/100.2 (Windows 6.1.7601; Win64; x64; .NET 4.7.0) Referer: http://arcgis100.app/ Host: myserver:8888 Accept-Encoding: gzip, deflate .. more GetCapabilities
... View more
01-22-2018
08:45 AM
|
0
|
1
|
795
|
POST
|
Preeti , I did install the VC 2015 redist, but only 64-bit. Installing the 32 bit as well cleared it all up. Thanks, Charles
... View more
11-30-2016
11:01 AM
|
0
|
2
|
613
|
POST
|
Update: I noticed the client32 and client64 folders no longer come with the VCRuntime14 binaries. I did run the Windows 10 Universal Runtime update, but had not noticed it failed. Including the VCRuntime binaries fixes the problem. What should the subfolders of the ArcGISRuntime100.0 be named? Mine show up as: client32 client64 resources But I still get an issue with not being able to find the native DLL. Do they need to be x64, x86? I installed the 4.5.2 targeting pack.
... View more
11-30-2016
06:19 AM
|
0
|
4
|
613
|
Title | Kudos | Posted |
---|---|---|
1 | 01-23-2018 09:40 AM | |
2 | 05-07-2019 07:43 AM | |
1 | 12-17-2018 05:10 AM | |
1 | 12-15-2018 08:19 AM | |
2 | 07-19-2018 07:09 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|