Hrm. I'm on 5.2.1 and I also see this bug. It looks to be present in beta 2
and RC1. I think the href is screwed up. See 2.1.x
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="
http://www.google.com/kml/ext/2.2" xmlns:kml="http://www.opengis.net/kml/2.2"
xmlns:atom="http://www.w3.org/2005/Atom">
<GroundOverlay>
<name>tiger:tiger_roads</name>
<visibility>0</visibility>
<Icon>
<href>http://localhost:8080/geoserver/layer_0.png</href>
<viewBoundScale>0.75</viewBoundScale>
</Icon>
<LatLonBox>
<north>40.79879226908909</north>
<south>40.76363171731663</south>
<east>-73.93688121798309</east>
<west>-73.99751930085826</west>
</LatLonBox>
</GroundOverlay>
</kml>
In 2.0.x we get
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="
http://www.google.com/kml/ext/2.2" xmlns:kml="http://www.opengis.net/kml/2.2"
xmlns:atom="http://www.w3.org/2005/Atom">
<GroundOverlay>
<name>tiger_roads</name>
<Icon>
<href>
http://demo.opengeo.org/geoserver/wms?height=1024&width=1024&layers=tiger%3Atiger_roads&request=GetMap&service=wms&styles=tiger_roads&format_options=SUPEROVERLAY%3Afalse%3BKMPLACEMARK%3Afalse%3BKMSCORE%3A40%3BKMATTR%3Atrue%3B&srs=EPSG%3A4326&format=application%2Fvnd.google-earth.kmz%2Bxml&transparent=false&version=1.1.1&BBOX=-74.06528942356405,40.72433381874588,-73.86911110807472,40.83803156067457/layer_0.png
</href>
<viewBoundScale>0.75</viewBoundScale>
</Icon>
<LatLonBox>
<north>40.83803156067457</north>
<south>40.72433381874588</south>
<east>-73.86911110807472</east>
<west>-74.06528942356405</west>
</LatLonBox>
</GroundOverlay>
</kml>
Does anyone know why that changed?
Digging in to it, looks to be that beta1 works, so was probably introduced
during the WMS refactoring. I'm pretty surprised no one has seen this
before though. It consistently fails with tiger_roads and probably any of
the rasters.
C
On Mon, Jan 31, 2011 at 4:55 PM, David Collins <[email protected]>wrote:
> Sorry, didn't reply all ..
>
> Is this a known bug?
>
> ---------- Forwarded message ----------
> From: David Collins <[email protected]>
> Date: Mon, Jan 31, 2011 at 12:16 PM
> Subject: Re: [Geoserver-users] Google Earth Tile vs. KML Generation
> To: Bob Wenzlau <[email protected]>
>
>
> Hello, Bob.
>
> I am using Geoserver 2.0.2 and I get the big red cross when Geoserver sends
> raster if I use Google Earth 6, but not if I use Google Earth 5.
>
> Regards,
> David
>
>
> On Mon, Jan 31, 2011 at 9:29 AM, Bob Wenzlau <[email protected]> wrote:
>
>> Hi,
>>
>> This is my first post in this forum, and obviously I am learning this
>> suite.
>>
>> I have a layer that has the daycare facilities in the state of California.
>> It comes off a PostGis DB on the GeoServer.
>>
>> For example: this URL will resolve in KML at low zoom levels, but as one
>> zooms out the GeoServer throws tiles with red X's.
>>
>> http://184.106.68.77:8080/geoserver/wms/kml?layers=pgterradex:ca_daycare
>>
>> Alternately, this URL from the GeoCache Configure tool will resolve tiles,
>> but never shifts to the kml as one zooms in. (this is after running tile
>> generation)
>>
>> http://184.106.68.77:8080
>> /geoserver/gwc/service/kml/pgterradex:ca_daycare.png.kml
>>
>> This results in the following questions that I hope I can get some help
>> with:
>>
>> - How or where do I control the transition from a wms tiles to kml?
>> - How do I limit the number of features shown within a view so the map
>> does not stack up with icons. (icons overflow map)
>> - I used the GeoCache, but did not find web.xml file in the web-inf
>> folder - it is empty (Windows version). It is not clear where I find the
>> setting to understand where the cache tiles are going.
>> - Finally, is there away to set the
>> <BalloonStyle>$[description]</BalloonStyle>
>> in order to avoid the drive to / from showing up in the Google Earth
>> Balloon.
>>
>> Thanks,
>>
>> Bob
>>
>>
>> --
>> Bob Wenzlau
>> *Terradex, Inc.*
>> 650-227-3251 | [email protected] | Read the Monitor: A Terradex
>> Blog<http://blog.terradex.com>
>>
>>
>> ------------------------------------------------------------------------------
>> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
>> Finally, a world-class log management solution at an even better
>> price-free!
>> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
>> February 28th, so secure your free ArcSight Logger TODAY!
>> http://p.sf.net/sfu/arcsight-sfd2d
>> _______________________________________________
>> Geoserver-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>>
>
>
>
> ------------------------------------------------------------------------------
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better
> price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users