Hi @ all,
i am trying to get a kml-file based on a WFS-Request, but it doesn't work:
The Reuest:
http://localhost:8080/geoserver/wfs?
service=WFS
&REQUEST=GetFeature
&version=1.0.0
&TYPENAME=topp:states
*&format=application/vnd.google-earth.kml+XML*
&width=1024
&height=1024
&srs=EPSG:4326
&layers=topp:states
&styles=population
&bbox=-180,-90,180,90
=> I get the Result as a GML-File, am I doing something wrong?
The Requwst based on a WMS-Request worked dir:
http://localhost:8080/geoserver/wms?
service=WMS
&request=GetMap
&version=1.1.1
*&format=application/vnd.google-earth.kml+XML *
&width=1024
&height=1024
&srs=EPSG:4326
&layers=topp:states
&styles=population
&bbox=-180,-90,180,90
Regards,
Gregor
--
---------------------------------------
WhereGroup GmbH & Co. KG
Siemensstraße 8
53121 Bonn
-------------------------------
Fon: +49 (0)228 / 90 90 38 - 25
Fax: +49 (0)228 / 90 90 38 - 11
-------------------------------
Dipl. Ing. (FH) Gregor Fikoczek
mailto:gregor.fikoczek@anonymised.com
mailto:info@anonymised.com
http://www.wheregroup.com
-------------------------------
Komplementärin:
WhereGroup Verwaltungs GmbH
vertreten durch:
Arnulf Christl, Olaf Knopp, Peter Stamm
Amtsgericht Bonn, HRA 6788
---------------------------------------
Gregor Fikoczek ha scritto:
Hi @ all,
i am trying to get a kml-file based on a WFS-Request, but it doesn't work:
The Reuest:
http://localhost:8080/geoserver/wfs?
service=WFS
&REQUEST=GetFeature
&version=1.0.0
&TYPENAME=topp:states
*&format=application/vnd.google-earth.kml+XML*
&width=1024
&height=1024
&srs=EPSG:4326
&layers=topp:states
&styles=population
&bbox=-180,-90,180,90
=> I get the Result as a GML-File, am I doing something wrong?
Funny you get a request at all, we don't have any KML output
out of WFS. The rationale is that KML is styled output, so it
belongs to WMS (as SVG does).
Thought it would not be that difficult to add the output
to WFS as well, especially if the styling rule was to use
the WMS default style anyways.
If you need this, open a jira issue (jira.codehaus.org).
Cheers
Andrea
Andrea Aime schrieb:
Gregor Fikoczek ha scritto:
Hi @ all,
i am trying to get a kml-file based on a WFS-Request, but it doesn't work:
The Reuest:
http://localhost:8080/geoserver/wfs?
service=WFS
&REQUEST=GetFeature
&version=1.0.0
&TYPENAME=topp:states
*&format=application/vnd.google-earth.kml+XML*
&width=1024
&height=1024
&srs=EPSG:4326
&layers=topp:states
&styles=population
&bbox=-180,-90,180,90
=> I get the Result as a GML-File, am I doing something wrong?
Funny you get a request at all, we don't have any KML output
out of WFS. The rationale is that KML is styled output, so it
belongs to WMS (as SVG does).
Thought it would not be that difficult to add the output
to WFS as well, especially if the styling rule was to use
the WMS default style anyways.
If you need this, open a jira issue (jira.codehaus.org).
Cheers
Andrea
Thanks for the quick answer Andrea,
at the moment i will use only the KML output based on WMS.
Regards,
Greq
--
---------------------------------------
WhereGroup GmbH & Co. KG
Siemensstraße 8
53121 Bonn
-------------------------------
Fon: +49 (0)228 / 90 90 38 - 25
Fax: +49 (0)228 / 90 90 38 - 11
-------------------------------
Dipl. Ing. (FH) Gregor Fikoczek
mailto:gregor.fikoczek@anonymised.com
mailto:info@anonymised.com
http://www.wheregroup.com
-------------------------------
Komplementärin:
WhereGroup Verwaltungs GmbH
vertreten durch:
Arnulf Christl, Olaf Knopp, Peter Stamm
Amtsgericht Bonn, HRA 6788
---------------------------------------