[Geoserver-users] Probolems with geoserver 2.0.2 tutorial

Hi im following the official geoserver tutorial http://docs.geoserver.org/stable/en/user/googleearth/tutorials/heights/heights.html but i’m having some troubles, in the “Heights Template” part i have to put this as a network link in google earth:

http://localhost:8080/geoserver/wms/reflect?layers=topp:states&format=application/vnd.google-earth.kml+xml
… figure:: height-none.png
:align: center
topp:states in Google Earth

this can’t be pasted as a link in google earth, y tryied putting just http://localhost:8080/geoserver/wms/reflect?layers=topp:states&format=application/vnd.google-earth.kml+xml but it still showing me all states with no height, i put the height.flt in this folders:

C:\Program Files\GeoServer 2.0.2\data_dir\workspaces\topp\states_shapefile
C:\Program Files\GeoServer 2.0.2\data_dir\workspaces\topp\states_shapefile\states

the value of GEOSERVER_DATA_DIR environment variavle is: C:\Program Files\GeoServer 2.0.2\data_dir

I skipped this part and went to the “Time” part i did everithing until “Trying it Out” where i have to navigate to this link:
http://localhost:8080/geoserver/wms/kml_reflect?layers=inet_weu&legend=true.
it is supposed to open a kml file in google earth but it only tryies to download and unknow type file,
then i tried this link http://localhost:8080/geoserver/wms/kml?layers=inet_weu&legend=true and it opens a kmz file but it shows a drawing of england over brazil, i dnon’t know if i mistaked in any step of the tutorial, can some one help me?

On Fri, Sep 24, 2010 at 2:04 PM, Carlos Henriquez <carloshhp@anonymised.com> wrote:

Hi im following the official geoserver tutorial
http://docs.geoserver.org/stable/en/user/googleearth/tutorials/heights/heights.html but
i'm having some troubles, in the "Heights Template" part i have to put this
as a network link in google earth:

http://localhost:8080/geoserver/wms/reflect?layers=topp:states&format=application/vnd.google-earth.kml+xml
.. figure:: height-none.png
:align: center
*topp:states in Google Earth*

The bit that starts .. figure shouldn't be pasted in (it is supposed
to be a picture showing the result).

this can't be pasted as a link in google earth, y tryied putting just
http://localhost:8080/geoserver/wms/reflect?layers=topp:states&format=application/vnd.google-earth.kml+xml
but it still showing me all states with no height, i put the height.flt in
this folders:

At that point it should just show the states (all is well)

I've just worked through the rest of the tutorial and it seems to work fine.

C:\Program Files\GeoServer 2.0.2\data_dir\workspaces\topp\states_shapefile

This should be the right one.

Ian

--
Ian Turton