I have a very large dataset served as kml network link with Geoserver. Is it possible to generate the resulting kml file with time templates as a “real” kml file with feature data ?
Martin
I have a very large dataset served as kml network link with Geoserver. Is it possible to generate the resulting kml file with time templates as a “real” kml file with feature data ?
Martin
Martin Jensen ha scritto:
I have a very large dataset served as kml network link with Geoserver. Is it possible to generate the resulting kml file with time templates as a "real" kml file with feature data ?
Yep, just make a normal WMS request and use kml as the format instead of
image/png or application/openlayers:
http://atlas.openplans.org:9090/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=topp:states&styles=&bbox=-124.73142200000001,24.955967,-66.969849,49.371735&width=780&height=330&srs=EPSG:4326&format=kml
I know it's possible to do also with the kml reflector with a parameter,
but I don't remember it right now.
Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.
Andrea Aime wrote:
Martin Jensen ha scritto:
I have a very large dataset served as kml network link with Geoserver. Is it possible to generate the resulting kml file with time templates as a "real" kml file with feature data ?
Yep, just make a normal WMS request and use kml as the format instead of
image/png or application/openlayers:
http://atlas.openplans.org:9090/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=topp:states&styles=&bbox=-124.73142200000001,24.955967,-66.969849,49.371735&width=780&height=330&srs=EPSG:4326&format=kmlI know it's possible to do also with the kml reflector with a parameter,
but I don't remember it right now.
Just use "&mode=download" with the reflector and it will do the same.
Cheers
Andrea
--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.