MKemalS ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=70121%3Ab37fdd2d-32ad-4543-8921-843288b427a4
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiNWEwODM4YmY2YWQ4NDVjNGFiMmJkYWY5MmFhZTg1ODEiLCJwIjoiaiJ9
 ) / Improvement ( 
https://osgeo-org.atlassian.net/browse/GEOS-10086?atlOrigin=eyJpIjoiNWEwODM4YmY2YWQ4NDVjNGFiMmJkYWY5MmFhZTg1ODEiLCJwIjoiaiJ9
 ) GEOS-10086 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10086?atlOrigin=eyJpIjoiNWEwODM4YmY2YWQ4NDVjNGFiMmJkYWY5MmFhZTg1ODEiLCJwIjoiaiJ9
 ) The KML altitudeMode value should be defined not only in the LookAt section, 
but also under the geometry tags such as Polygon, Point under MultiGeometry. ( 
https://osgeo-org.atlassian.net/browse/GEOS-10086?atlOrigin=eyJpIjoiNWEwODM4YmY2YWQ4NDVjNGFiMmJkYWY5MmFhZTg1ODEiLCJwIjoiaiJ9
 )

Issue Type: Improvement Assignee: Unassigned Created: 03/Jun/21 1:24 AM 
Priority: Medium Reporter: MKemalS ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=70121%3Ab37fdd2d-32ad-4543-8921-843288b427a4
 )

The KML altitudeMode value should be defined not only in the LookAt section, 
but also under the geometry tags such as Polygon, Point under MultiGeometry.
Currently, the altitudeMode value is defined in two ways.

* When altitudeMode is specified in format_options parameter, it affects 
altitudeMode under LookAt.
* When we give extrude:true value in format_options parameter, it is defined as 
<altitudeMode>relativeToGround</altitudeMode> under Geometry only. We should be 
able to change this value with a parameter from outside. For example, 
altitudeMode=absolute should be set.

KML format output currently served from 3D city model data is not displayed in 
3D when opened in Google Earth. When we manually change the "altitudeMode" 
values to "absolute" in the content of the KML file, the objects gain a real 3D 
image.

For example, the output of a service like 
"http://localhost:8080/geoserver/deneme/wms/kml?service=wms&request=GetMap&version=1.1.1&format=application/vnd.google-earth.kml+xml&height=426&width=768&transparent=false&srs=EPSG:4326&format_options=extrude:true;altitudeMode:absolute":
..................
<LookAt>
<longitude>*************</longitude>
<latitude>*************</latitude>
<altitude>**************</altitude>
<heading>0.0</heading>
<tilt>0.0</tilt>
<range>2.622813407704994</range>
<altitudeMode>absolute</altitudeMode>
</LookAt>
..................
<MultiGeometry>
<Polygon>
<extrude>1</extrude>
<altitudeMode> *relativeToGround* </altitudeMode>
<outerBoundaryIs>
<LinearRing>
<coordinates>*********************</coordinates>
</LinearRing>
</outerBoundaryIs>
</Polygon>
..................

Red bold marked place can be changed parametrically.

( 
https://osgeo-org.atlassian.net/browse/GEOS-10086#add-comment?atlOrigin=eyJpIjoiNWEwODM4YmY2YWQ4NDVjNGFiMmJkYWY5MmFhZTg1ODEiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10086#add-comment?atlOrigin=eyJpIjoiNWEwODM4YmY2YWQ4NDVjNGFiMmJkYWY5MmFhZTg1ODEiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100165- 
sha1:f51af71 )
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to