/[thuban]/branches/WIP-pyshapelib-bramz/Resources/XML/thuban-1.1.dtd
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/Resources/XML/thuban-1.1.dtd

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2104 by bh, Fri Mar 12 12:19:15 2004 UTC revision 2656 by jan, Wed Jul 27 21:47:24 2005 UTC
# Line 1  Line 1 
1  <?xml version="1.0" encoding="UTF-8"?>  <?xml version="1.0" encoding="UTF-8"?>
2  <!--    thuban-1.1.dtd  <!--    thuban-1.1.dtd
3    
4      Copyright (C) 2001, 2003, 2004 by Intevation GmbH      Copyright (C) 2001, 2003, 2004, 2005 by Intevation GmbH
5      Authors:      Authors:
6          Jan-Oliver Wagner <[email protected]>          Jan-Oliver Wagner <[email protected]>
7          Bernhard Herzog <[email protected]>          Bernhard Herzog <[email protected]>
8    
9      This program is free software under the GPL (>=v2)      This program is free software under the GPL (>=v2)
# Line 153  identify the version of the file format. Line 153  identify the version of the file format.
153  <!-- the fill and stroke attributes can be either "None" or "#RRGGBB"  <!-- the fill and stroke attributes can be either "None" or "#RRGGBB"
154       RGB hex values       RGB hex values
155    
156       All of fill, stroke and stroke_width may be omitted and default to       All of fill, stroke, stroke_width and size may be omitted and default
157       "None", "#000000" and "1" respectively.       to "None", "#000000", "1" and "5" respectively.
158   -->   -->
159  <!ATTLIST layer fill CDATA "None">  <!ATTLIST layer fill CDATA "None">
160  <!ATTLIST layer stroke CDATA "#000000">  <!ATTLIST layer stroke CDATA "#000000">
161  <!ATTLIST layer stroke_width CDATA "1">  <!ATTLIST layer stroke_width CDATA "1">
162    <!ATTLIST layer size CDATA "5">
163    
164    
165  <!-- a rasterlayer represents an image that has some geographic data  <!-- a rasterlayer represents an image that has some geographic data
166      associated with it. The filename points to the image used.      associated with it. The filename points to the image used.
167    
168        The masktype should be one of "none", "bit" or "alpha".  
169        The opacity is the opacity as a decimal floating point number in the
170        range 0.0 ... 1.0
171  -->  -->
172  <!ELEMENT rasterlayer (projection?, classification?)>  <!ELEMENT rasterlayer (projection?, classification?)>
173  <!ATTLIST rasterlayer  <!ATTLIST rasterlayer
174          title    CDATA #REQUIRED          title    CDATA #REQUIRED
175          filename CDATA #REQUIRED          filename CDATA #REQUIRED
176            opacity CDATA #IMPLIED
177            masktype CDATA #IMPLIED
178          visible  (true|false) "true">          visible  (true|false) "true">
179    
180    
181  <!-- Classification data -->  <!-- Classification data -->
182  <!ELEMENT classification (clnull?, clpoint*, clrange*, clcont*)>  <!ELEMENT classification (clnull?, clpoint*, clrange*, clcont*)>
183  <!ATTLIST classification field CDATA #REQUIRED>  <!ATTLIST classification field CDATA>
184  <!ATTLIST classification field_type CDATA #REQUIRED>  <!ATTLIST classification field_type CDATA>
185    
186  <!ELEMENT clnull (cldata*)>  <!ELEMENT clnull (cldata*)>
187  <!ELEMENT clpoint (cldata*)>  <!ELEMENT clpoint (cldata*)>
# Line 201  identify the version of the file format. Line 208  identify the version of the file format.
208       the fill and stroke attributes can be either "None" or "#RRGGBB"       the fill and stroke attributes can be either "None" or "#RRGGBB"
209       RGB hex values       RGB hex values
210    
211       All of fill, stroke and stroke_width may be omitted and default to       TODO: Actually, 'size' is only sensible for points. But adding it to
212       "None", "#000000" and "1" respectively.       clpoint would not be enough since the 'size' must also be available
213         for the clnull. And clnull again is applied for lines and polygons.
214         So, at some later point, maybe with introducing symbols, this
215         has to be improved.
216    
217         All of fill, stroke, stroke_width and size may be omitted and default to
218         "None", "#000000", "1" and "5" respectively.
219   -->   -->
220  <!ELEMENT cldata EMPTY>  <!ELEMENT cldata EMPTY>
221  <!ATTLIST cldata  <!ATTLIST cldata
222          stroke       CDATA #IMPLIED          stroke       CDATA #IMPLIED
223          stroke_width CDATA #IMPLIED          stroke_width CDATA #IMPLIED
224          fill         CDATA #IMPLIED          fill         CDATA #IMPLIED
225            size         CDATA #IMPLIED
226  >  >
227    
228    

Legend:
Removed from v.2104  
changed lines
  Added in v.2656

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26