Hi Andrea,
Thanks for the quick response. Maybe it’s a different issue then because we are able to extrude polygons as explained here [1]. After placing the height.ftl file on the corresponding directory, the KML file returned by:
[http://localhost:8080/geoserver/wms/reflect?layers=topp:states&format=application/vnd.google-earth.kml+xml](http://localhost:8080/geoserver/wms/reflect?layers=topp:states&format=application/vnd.google-earth.kml+xml)
returns something like this:
…
1
relativeToGround
…
1
relativeToGround
…
…
And it is displayed as in the screenshots. However, if we use a point layer (I’m using a test layer with a single point) and perform the same request we obtain a KML with:
…
…
...
which doesn’t contain the or the tags, even if the latter is specified in the request. I assumed that’s what the issue was talking about: internally always uses clampToGround, which results in missing tags in the KML output.
Regarding the extrusion, probably the most useful result would be to place the point over the ground with altitudeMode:relativeToGround and extrusion:false. But that’s not a real extrusion, actually. If you edit by hand the generated KML to add and , Google Earth draws the extrusion as a line from the ground to the point, as you say.
Regards,
Víctor.
···
2013/12/16 Andrea Aime <andrea.aime@anonymised.com>
On Mon, Dec 16, 2013 at 7:04 PM, Victor Gonzalez <victor.gonzalez@anonymised.com> wrote:
Hello,
I’m Víctor González, I am a developer. Currently I work with a customer that needs to extrude KML data using GeoServer. When we extrude polygons it works as expected, but we found a problem when doing it with points. The version we are using is 2.4.0.
I found that this has been already reported [1]. Also, I know that there was a codesprint las friday [2]. However, I didn’t find any update in the issue tracker or any commit referencing the issue in the github repo.
Is there any progress with this? Is anybody else currently working on it? Provided that we can spend some time on fixing it ourselves and contribute the solution, any advices?
Best regards,
Víctor.
[1] http://jira.codehaus.org/browse/GEOS-6167
This report is related to all geometries, not only points, the issue there is that the code always refers to the
ground, not to the sea level, and supposedly there is a parameter to make it refer the sea level, that is not honored.
The issue you report is not being worked on by anyone, that I know of. However… not sure what you’d expect
from a point “extrusion”, a single line from the ground to the point maybe?
Cheers
Andrea
–
== GeoSolutions will be closed for seasonal holidays from 23/12/2013 to 06/01/2014 ==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it