Hi list!
I'm trying to serve a big postgis table containing multipolygons with x,y,z
dimensions (extruded buildings).
My WMS settings are:
Default Reflector Mode: refresh
Default superoverlay mode: auto
Generate vector placemarks (KMATTR) - checked
Layer KML settings:
Default Regionating Method: native sorting
Features Per Regionated Tile: 50
First of all, when I just add a following network link to Google Earth
http://myserv:8080/geoserver/wms/kml?layers=uno:allhousefinal&format=application/vnd.google-earth.kml+xml
it works in refresh mode as expected, but placemarks are generated with zero
z coordinates.
BTW, when i serve the same data from shapefile with z-coordinate, placemarks
are extruded perfectly as supposed.
Ok, I solve this by adding a height field to the postgis table, then adding
a height.ftl with that field and features start to get extruded in vector
mode.
So when I add a kmscore=100 to the link everything always shows up in
extruded vectors, but when I zoom out to the whole city Google Earth
freezes, because it ends up showing ~170k buildings - and that's too much
for any client.
Then I remove kmscore=100 and add a
&mode=superoverlay&superoverlay_mode=auto to see less buildings as I zoom
out. GE forms a deep tree of nested network links, but I don't see anything
on a map and there are no placemarks in that links. And I don't understand
where is the problem!
When I serve from shapefile with same parameters, everything works great - I
get the same deep tree but with 50 placemarks in the deepest nodes, and as I
zoom out, nodes refresh and less buildings show up.
Though I wait way more time for the tree to form initially.
Can anyone help me out?
I'd like to serve from postgis, not shapefile, because the data is huge and
I want to benefit from native-sorting regionation and other database stuff.
Regards
Nikolai
------------------------------------------------------------------------------
Fulfilling the Lean Software Promise
Lean software platforms are now widely adopted and the benefits have been
demonstrated beyond question. Learn why your peers are replacing JEE
containers with lightweight application servers - and what you can gain
from the move. http://p.sf.net/sfu/vmware-sfemails
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users