changeset 128:8b7994a50d8e

polygon-Layers
author fknauft
date Wed, 02 Feb 2011 14:57:38 +0100
parents 7ed8de30af56
children 77e64d605e6c
files zpt/KML_schema_table.zpt
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/zpt/KML_schema_table.zpt	Wed Feb 02 14:50:54 2011 +0100
+++ b/zpt/KML_schema_table.zpt	Wed Feb 02 14:57:38 2011 +0100
@@ -66,13 +66,13 @@
       ERD-0815: ERD-0815
       </description>
 #      <styleUrl tal:content="place/icon" >#marker_icon</styleUrl>
-      <styleUrl tal:content="place/icon" tal:condition="place/icon">#marker_icon_red</styleUrl>
-      <Point tal:condition="place/icon">
-        <coordinates tal:content="string:${place/coord_x},${place/coord_y},${place/coord_z}" tal:condition="place/icon">116.38,39.92,0</coordinates>
+      <styleUrl tal:content="place/icon" tal:condition="python:place/icon">#marker_icon_red</styleUrl>
+      <Point tal:condition="python:place/icon">
+        <coordinates tal:content="string:${place/coord_x},${place/coord_y},${place/coord_z}">116.38,39.92,0</coordinates>
       </Point>
-      <Style tal:condition="place/LinearRing">
+      <Style tal:condition="python:place/LinearRing">
          <PolyStyle><color tal:content="place/LineColor">#80800000</color><fill>1</fill><outline>1</outline></PolyStyle></Style>
-      <MultiGeometry tal:condition="place/LinearRing"><Polygon><outerBoundaryIs><LinearRing><coordinates tal:content="string:${place/LinearRing}">116.38,39.92,0</coordinates>
+      <MultiGeometry tal:condition="python:place/LinearRing"><Polygon><outerBoundaryIs><LinearRing><coordinates tal:content="string:${place/LinearRing}">116.38,39.92,0</coordinates>
           </LinearRing></outerBoundaryIs></Polygon></MultiGeometry>
     </Placemark> 
     <Placemark tal:condition="withLine">