[Geoserver-users] superoverlay_mode=auto issue

This url give me perfect rastor or vector data depending on altitude.
    http://localhost:1710/geoserver/wms/kml?
      layers=LANDPARCELS&mode=superoverlay&superoverlay_mode=overview

If I am at an altitude where the above shows vector and I set
superoverlay_mode=auto I get nothing.

However, if I then set it to superoverlay_mode=vector the polygons are back.

Cheers
Stuart
--
View this message in context: http://www.nabble.com/superoverlay_mode%3Dauto-issue-tp21008040p21008040.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Interesting. I believe the "vector" mode should not exist anymore. David, can you confirm?

stumit63 wrote:

This url give me perfect rastor or vector data depending on altitude.
    http://localhost:1710/geoserver/wms/kml?
      layers=LANDPARCELS&mode=superoverlay&superoverlay_mode=overview

If I am at an altitude where the above shows vector and I set
superoverlay_mode=auto I get nothing.

However, if I then set it to superoverlay_mode=vector the polygons are back.

Cheers
Stuart

--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

Hrm. Superoverlay_mode=vector doesn't appear to be a valid option in 1.7.1. I tested this on my end and it doesn't return anything. The valid options are auto, raster, overview, and hybrid.

Are you perhaps using a build of 1.7.x instead of the released 1.7.1? If so, there may be things in an unstable state.

Please see our newly updated Google Earth documentation for more info:

http://geoserver.org/display/GEOSDOC/Google+Earth
Specifically:
http://geoserver.org/display/GEOSDOC/01-KML+Reflector

Thanks,
Mike Pumphrey
OpenGeo - http://opengeo.org

stumit63 wrote:

This url give me perfect rastor or vector data depending on altitude.
    http://localhost:1710/geoserver/wms/kml?
      layers=LANDPARCELS&mode=superoverlay&superoverlay_mode=overview

If I am at an altitude where the above shows vector and I set
superoverlay_mode=auto I get nothing.

However, if I then set it to superoverlay_mode=vector the polygons are back.

Cheers
Stuart

Correct, 'vector' has been renamed to 'auto.' Unknown superoverlay modes in reflector requests should result in an OGC exception. I believe that Google Earth has some error reporting settings that can be configured such that it would not report any problems when given an OGC exception in place of a KML file; perhaps this is happening for you. Are you entering the URL into a web browser, or are you directly entering it into a NetworkLink in Google Earth?

David Winslow

Justin Deoliveira wrote:

Interesting. I believe the "vector" mode should not exist anymore. David, can you confirm?

stumit63 wrote:

This url give me perfect rastor or vector data depending on altitude.
    http://localhost:1710/geoserver/wms/kml?
      layers=LANDPARCELS&mode=superoverlay&superoverlay_mode=overview

If I am at an altitude where the above shows vector and I set
superoverlay_mode=auto I get nothing.

However, if I then set it to superoverlay_mode=vector the polygons are back.

Cheers
Stuart

Sorry all. The last url should have said superoverlay_mode=hybrid.

The point remians that what is valid data, at a vector rendering altitude,
does nothing for me in auto mode. Is there something I can check?

Thanks
Stuart

stumit63 wrote:

This url give me perfect rastor or vector data depending on altitude.
    http://localhost:1710/geoserver/wms/kml?
      layers=LANDPARCELS&mode=superoverlay&superoverlay_mode=overview

If I am at an altitude where the above shows vector and I set
superoverlay_mode=auto I get nothing.

However, if I then set it to superoverlay_mode=vector the polygons are
back.

Cheers
Stuart

--
View this message in context: http://www.nabble.com/superoverlay_mode%3Dauto-issue-tp21008040p21023270.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Hi Stuart,

I just did a quick check with some of my data and it seems to work ok. Do you see any errors in the log? One thing you may want to try is clearing out the contents of the geosearch directory under the data directory. The regionator stores a bunch of files there... it could they are out of sync or something.

Other then that can you provide some of the data you working with (you can send it by private email). Perhaps it is an issue specific to your dataset.

-Justin

stumit63 wrote:

Sorry all. The last url should have said superoverlay_mode=hybrid.

The point remians that what is valid data, at a vector rendering altitude,
does nothing for me in auto mode. Is there something I can check?

Thanks
Stuart

stumit63 wrote:

This url give me perfect rastor or vector data depending on altitude.
    http://localhost:1710/geoserver/wms/kml?
      layers=LANDPARCELS&mode=superoverlay&superoverlay_mode=overview

If I am at an altitude where the above shows vector and I set
superoverlay_mode=auto I get nothing.

However, if I then set it to superoverlay_mode=vector the polygons are
back.

Cheers
Stuart

--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.