Hello list!

I've got some problems using a height.ftl template.
I have a postgis table with linestring geometry and a shapefile with the
same data.
The elevation attribute is called "cat".

I add a height.ftl file to my layer folder in geoserver data dir.
In the file I have:
${cat.value?number*50}

When I add a network link to google earth, i get:
Layer from postgis - is shown with vector lines draped on a globe surface
without any extrusion.
Layer from shapefile - is shown with vector lines with fixed extrusion.
Every feature has a height of 4350 meters.

Inspecting kml objects in GE, I've noticed, that every feature has tags:

<altitude>0</altitude>
<extrude>1</extrude>
<altitudeMode>relativeToGround</altitudeMode>

What am I doing wrong?
Thanks for your help.
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to