Walter Stovall
2017-07-14 18:08:19 UTC
I want more than just the image tile. I want the vector feature attribute data too so these are selectable graphics that can show data to the user about the selected item - works fine in google earth when using the kml reflector but that's too slow especially because every little change to the GE view downloads all the layers again OR I turn on superoverlay and avoid a download at every change but still take a huge penalty up-front on the first view.
I'm trying geoserver 2.8 and the embedded GeoWebCache.
I setup a network link in GE with the url...
http://localhost:8080/geoserver/gwc/service/kml/fdot:FiberOpticCable.kml.kmz
Google earth successfully gets back a kmz and then requests tiles from geoserver. Then it shows a red dot in the My Places tree.
The geoserver log shows...
14 Jul 13:50:27 ERROR <http-apr-8080-exec-5> [geowebcache.GeoWebCacheDispatcher] - application/vnd.google-earth.kml+xml is not a supported format for fdot:FiberOpticCable http://localhost:8080/geoserver/gwc/service/kml/fdot%3AFiberOpticCable/x8y10z4.kml.kmz
java.lang.IllegalArgumentException: application/vnd.google-earth.kml+xml is not a supported format for fdot:FiberOpticCable
at org.geoserver.gwc.layer.GeoServerTileLayer.getTile(GeoServerTileLayer.java:491)
Now I see on the demo page where you can seed the layer and select vnd.google-earth.kml+xml format http://docs.geoserver.org/latest/en/user/geowebcache/webadmin/demopage.html.
In my geoserver I get access-denied when I click the link to Seed the layer. I haven't debugged that and may well go there. It would also be great if anybody could tell me if I'm even on the right track for getting what I want.
Thanks in advance for your help!
Walter Stovall
Byers Engineering Company
I'm trying geoserver 2.8 and the embedded GeoWebCache.
I setup a network link in GE with the url...
http://localhost:8080/geoserver/gwc/service/kml/fdot:FiberOpticCable.kml.kmz
Google earth successfully gets back a kmz and then requests tiles from geoserver. Then it shows a red dot in the My Places tree.
The geoserver log shows...
14 Jul 13:50:27 ERROR <http-apr-8080-exec-5> [geowebcache.GeoWebCacheDispatcher] - application/vnd.google-earth.kml+xml is not a supported format for fdot:FiberOpticCable http://localhost:8080/geoserver/gwc/service/kml/fdot%3AFiberOpticCable/x8y10z4.kml.kmz
java.lang.IllegalArgumentException: application/vnd.google-earth.kml+xml is not a supported format for fdot:FiberOpticCable
at org.geoserver.gwc.layer.GeoServerTileLayer.getTile(GeoServerTileLayer.java:491)
Now I see on the demo page where you can seed the layer and select vnd.google-earth.kml+xml format http://docs.geoserver.org/latest/en/user/geowebcache/webadmin/demopage.html.
In my geoserver I get access-denied when I click the link to Seed the layer. I haven't debugged that and may well go there. It would also be great if anybody could tell me if I'm even on the right track for getting what I want.
Thanks in advance for your help!
Walter Stovall
Byers Engineering Company