[Geoserver-users] Template for kml extrude support?

hi all,

I'd like to add kml extrude items
<extrude>1</extrude>
<altitudeMode>relativeToGround</altitudeMode>

in kml served by geoserver.

Where can i add these items?

I need to add altitude for each object. Which template could i use?
How can we have list of template available in geoserver ? Or it it dynamic?

thanks,

Sébastien

Example of objects :
<Style id="GeoServerStylecb.fid-560aab1e_11bb1b4ee3c_-300a">
             <IconStyle>
                <scale>0.4</scale>
                <Icon>
<href>http://137.129.19.1:8080/geoserver/icon-poly.png&lt;/href&gt;
                </Icon>
             </IconStyle>
             <PolyStyle>
                <color>7f11ffaa</color>
                <outline>1</outline>
             </PolyStyle>
             <LineStyle>
                <color>ff000000</color>
                <width>1</width>
             </LineStyle>
</Style>
<Placemark id="cb.fid-560aab1e_11bb1b4ee3c_-300a">
             <description>
<![CDATA[<table border='1'>

<tr>
   <th colspan='2' scope='col'>cb</th>
</tr>

<tr>
   <td>type</td> <td> cb-bottom </td>
</tr>
<tr>
   <td>originating_center</td> <td> FME </td>
</tr>
....
</table>
]]></description>
             <LookAt>
                <longitude>7.08276377791436</longitude>
                <latitude>49.06810489653757</latitude>
                <range>700</range>
                <tilt>10.0</tilt>
                <heading>10.0</heading>
             </LookAt>
             <TimeSpan>
                <begin>2008-08-11T14:07:30+00:00</begin>
                <end>2008-08-11T14:22:29+00:00</end>
             </TimeSpan>
<styleUrl>#GeoServerStylecb.fid-560aab1e_11bb1b4ee3c_-300a</styleUrl>
             <MultiGeometry>
                <Point>
<coordinates>7.08276377791436,49.06810489653757</coordinates>
                </Point>
                <Polygon>
                   <outerBoundaryIs>
                      <LinearRing>
                         <coordinates decimal="." cs="," ts=" ">7.22,49.23 7.16,49.2 7.14,49.2 7.13,49.19 7.11,49.2 7.09,49.2 7.07,49.19 7.06,49.19 7.06,49.18 7.02,49.17 7.02,49.14 7,49.13 7,49.12 6.99,49.12 6.99,49.11 6.95,49.09 6.94,49.09 6.94,49.08 6.91,49.07 6.89,49.07 6.88,49.06 6.85,49.06 6.85,49.05 6.83,49.04 6.83,49.02 6.84,49.01 6.86,49 6.88,48.98 6.88,48.98 6.89,48.96 6.89,48.96 6.9,48.95 6.96,48.94 6.97,48.93 6.98,48.93 7,48.92 7.05,48.92 7.05,48.92 7.11,48.96 7.12,48.97 7.15,48.98 7.16,48.98 7.16,48.99 7.19,49.01 7.21,49.01 7.22,49.01 7.25,49.01 7.25,49.02 7.27,49.03 7.27,49.06 7.25,49.08 7.25,49.09 7.24,49.1 7.25,49.1 7.26,49.14 7.28,49.15 7.28,49.16 7.29,49.17 7.3,49.2 7.27,49.22 7.23,49.23 7.22,49.23</coordinates>
                      </LinearRing>
                   </outerBoundaryIs>
                </Polygon>
             </MultiGeometry>
</Placemark>

Hi Sébastien,

Currently this is something that we do not do. However, there is some work in the pipe where this is going to be required. So this feature will be coming quite soon. Stay tuned.

There is no list of templates that are available. Currently (for kml) there are templates for:

* Placemark name and description
* timestamp

The extrude template will be very similar to the timestamp template. Let us know if you are available in trying out some initial versions of the extrude stuff in order to help us test.

-Justin

Sébastien Geindre wrote:

hi all,

I'd like to add kml extrude items
<extrude>1</extrude>
<altitudeMode>relativeToGround</altitudeMode>

in kml served by geoserver.

Where can i add these items?

I need to add altitude for each object. Which template could i use?
How can we have list of template available in geoserver ? Or it it dynamic?

thanks,

Sébastien

Example of objects :
<Style id="GeoServerStylecb.fid-560aab1e_11bb1b4ee3c_-300a">
             <IconStyle>
                <scale>0.4</scale>
                <Icon>
<href>http://137.129.19.1:8080/geoserver/icon-poly.png&lt;/href&gt;
                </Icon>
             </IconStyle>
             <PolyStyle>
                <color>7f11ffaa</color>
                <outline>1</outline>
             </PolyStyle>
             <LineStyle>
                <color>ff000000</color>
                <width>1</width>
             </LineStyle>
</Style>
<Placemark id="cb.fid-560aab1e_11bb1b4ee3c_-300a">
             <description>
<![CDATA[<table border='1'>

<tr>
   <th colspan='2' scope='col'>cb</th>
</tr>

<tr>
   <td>type</td> <td> cb-bottom </td>
</tr>
<tr>
   <td>originating_center</td> <td> FME </td>
</tr>
....
</table>
]]></description>
             <LookAt>
                <longitude>7.08276377791436</longitude>
                <latitude>49.06810489653757</latitude>
                <range>700</range>
                <tilt>10.0</tilt>
                <heading>10.0</heading>
             </LookAt>
             <TimeSpan>
                <begin>2008-08-11T14:07:30+00:00</begin>
                <end>2008-08-11T14:22:29+00:00</end>
             </TimeSpan>
<styleUrl>#GeoServerStylecb.fid-560aab1e_11bb1b4ee3c_-300a</styleUrl>
             <MultiGeometry>
                <Point>
<coordinates>7.08276377791436,49.06810489653757</coordinates>
                </Point>
                <Polygon>
                   <outerBoundaryIs>
                      <LinearRing>
                         <coordinates decimal="." cs="," ts=" ">7.22,49.23 7.16,49.2 7.14,49.2 7.13,49.19 7.11,49.2 7.09,49.2 7.07,49.19 7.06,49.19 7.06,49.18 7.02,49.17 7.02,49.14 7,49.13 7,49.12 6.99,49.12 6.99,49.11 6.95,49.09 6.94,49.09 6.94,49.08 6.91,49.07 6.89,49.07 6.88,49.06 6.85,49.06 6.85,49.05 6.83,49.04 6.83,49.02 6.84,49.01 6.86,49 6.88,48.98 6.88,48.98 6.89,48.96 6.89,48.96 6.9,48.95 6.96,48.94 6.97,48.93 6.98,48.93 7,48.92 7.05,48.92 7.05,48.92 7.11,48.96 7.12,48.97 7.15,48.98 7.16,48.98 7.16,48.99 7.19,49.01 7.21,49.01 7.22,49.01 7.25,49.01 7.25,49.02 7.27,49.03 7.27,49.06 7.25,49.08 7.25,49.09 7.24,49.1 7.25,49.1 7.26,49.14 7.28,49.15 7.28,49.16 7.29,49.17 7.3,49.2 7.27,49.22 7.23,49.23 7.22,49.23</coordinates>
                      </LinearRing>
                   </outerBoundaryIs>
                </Polygon>
             </MultiGeometry>
</Placemark>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com

Justin Deoliveira a écrit :

Hi Sébastien,

Currently this is something that we do not do. However, there is some work in the pipe where this is going to be required. So this feature will be coming quite soon. Stay tuned.

There is no list of templates that are available. Currently (for kml) there are templates for:

* Placemark name and description
* timestamp

The extrude template will be very similar to the timestamp template. Let us know if you are available in trying out some initial versions of the extrude stuff in order to help us test.

sure, it will be a pleasure to help your team...

-Justin

Sébastien Geindre wrote:

hi all,

I'd like to add kml extrude items
<extrude>1</extrude>
<altitudeMode>relativeToGround</altitudeMode>

in kml served by geoserver.

Where can i add these items?

I need to add altitude for each object. Which template could i use?
How can we have list of template available in geoserver ? Or it it dynamic?

thanks,

Sébastien

Example of objects :
<Style id="GeoServerStylecb.fid-560aab1e_11bb1b4ee3c_-300a">
             <IconStyle>
                <scale>0.4</scale>
                <Icon>
<href>http://137.129.19.1:8080/geoserver/icon-poly.png&lt;/href&gt;
                </Icon>
             </IconStyle>
             <PolyStyle>
                <color>7f11ffaa</color>
                <outline>1</outline>
             </PolyStyle>
             <LineStyle>
                <color>ff000000</color>
                <width>1</width>
             </LineStyle>
</Style>
<Placemark id="cb.fid-560aab1e_11bb1b4ee3c_-300a">
             <description>
<![CDATA[<table border='1'>

<tr>
   <th colspan='2' scope='col'>cb</th>
</tr>

<tr>
   <td>type</td> <td> cb-bottom </td>
</tr>
<tr>
   <td>originating_center</td> <td> FME </td>
</tr>
....
</table>
]]></description>
             <LookAt>
                <longitude>7.08276377791436</longitude>
                <latitude>49.06810489653757</latitude>
                <range>700</range>
                <tilt>10.0</tilt>
                <heading>10.0</heading>
             </LookAt>
             <TimeSpan>
                <begin>2008-08-11T14:07:30+00:00</begin>
                <end>2008-08-11T14:22:29+00:00</end>
             </TimeSpan>
<styleUrl>#GeoServerStylecb.fid-560aab1e_11bb1b4ee3c_-300a</styleUrl>
             <MultiGeometry>
                <Point>
<coordinates>7.08276377791436,49.06810489653757</coordinates>
                </Point>
                <Polygon>
                   <outerBoundaryIs>
                      <LinearRing>
                         <coordinates decimal="." cs="," ts=" ">7.22,49.23 7.16,49.2 7.14,49.2 7.13,49.19 7.11,49.2 7.09,49.2 7.07,49.19 7.06,49.19 7.06,49.18 7.02,49.17 7.02,49.14 7,49.13 7,49.12 6.99,49.12 6.99,49.11 6.95,49.09 6.94,49.09 6.94,49.08 6.91,49.07 6.89,49.07 6.88,49.06 6.85,49.06 6.85,49.05 6.83,49.04 6.83,49.02 6.84,49.01 6.86,49 6.88,48.98 6.88,48.98 6.89,48.96 6.89,48.96 6.9,48.95 6.96,48.94 6.97,48.93 6.98,48.93 7,48.92 7.05,48.92 7.05,48.92 7.11,48.96 7.12,48.97 7.15,48.98 7.16,48.98 7.16,48.99 7.19,49.01 7.21,49.01 7.22,49.01 7.25,49.01 7.25,49.02 7.27,49.03 7.27,49.06 7.25,49.08 7.25,49.09 7.24,49.1 7.25,49.1 7.26,49.14 7.28,49.15 7.28,49.16 7.29,49.17 7.3,49.2 7.27,49.22 7.23,49.23 7.22,49.23</coordinates>
                      </LinearRing>
                   </outerBoundaryIs>
                </Polygon>
             </MultiGeometry>
</Placemark>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users