comparison zpt/KML_schema_table.zpt @ 147:628f0f42a390

polygon-Layers
author fknauft
date Thu, 03 Feb 2011 13:45:18 +0100
parents 24828625c0ce
children 58524989283b
comparison
equal deleted inserted replaced
146:24828625c0ce 147:628f0f42a390
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <kml xmlns="http://www.opengis.net/kml/2.2" xmlns:tal="http://xml.zope.org/namespaces/tal" 2 <kml xmlns="http://www.opengis.net/kml/2.2" xmlns:tal="http://xml.zope.org/namespaces/tal"
3 tal:define="gisIdField python:request.get('gis_id_field',None); colorField python:request.get('color_field',None); 3 tal:define="gisIdField python:request.get('gis_id_field',None); colorField python:request.get('color_field','red');
4 latField python:request.get('lat_field',None); lonField python:request.get('lon_field',None); geomField python:request.get('geometry_field',None); 4 latField python:request.get('lat_field',None); lonField python:request.get('lon_field',None); geomField python:request.get('geometry_field','poly');
5 sortBy python:request.get('sort_field',1); 5 sortBy python:request.get('sort_field',1);
6 schema options/schema; table options/table; 6 schema options/schema; table options/table;
7 data python:here.getKmlData(schema=schema,table=table,sortBy=sortBy,gisIdField=gisIdField,latField=latField,lonField=lonField); 7 data python:here.getKmlData(schema=schema,table=table,sortBy=sortBy,gisIdField=gisIdField,latField=latField,lonField=lonField,geomField=geomField,colorField=colorField );
8 withLine python:request.get('connect_line',None);"> 8 withLine python:request.get('connect_line',None);">
9 <Document> 9 <Document>
10 <Style id="marker_icon_red"> 10 <Style id="marker_icon_red">
11 <IconStyle> 11 <IconStyle>
12 <scale>1.2</scale> 12 <scale>1.2</scale>