[Liblas-commits] hg: update schemas

liblas-commits at liblas.org liblas-commits at liblas.org
Wed Mar 17 16:48:36 EDT 2010


changeset a7e50a69311b in /Volumes/Data/www/liblas.org/hg
details: http://hg.liblas.orghg?cmd=changeset;node=a7e50a69311b
summary: update schemas

diffstat:

 schemas/LAS.xsd |  10 +++++++---
 schemas/las.xml |  50 +++++++++++++++++++++++++-------------------------
 2 files changed, 32 insertions(+), 28 deletions(-)

diffs (169 lines):

diff -r 864b87e78b9d -r a7e50a69311b schemas/LAS.xsd
--- a/schemas/LAS.xsd	Wed Mar 17 15:31:17 2010 -0500
+++ b/schemas/LAS.xsd	Wed Mar 17 15:42:56 2010 -0500
@@ -1,5 +1,9 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:las="http://liblas.org/schemas/LAS/example" attributeFormDefault="qualified" targetNamespace="http://liblas.org/schemas/LAS/example" version="1.0">
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" 
+    xmlns:las="http://liblas.org/schemas/LAS/example" 
+    elementFormDefault="qualified" 
+    attributeFormDefault="unqualified" 
+    targetNamespace="http://liblas.org/schemas/LAS/example" version="1.0">
 
     <xs:simpleType name="sizeType">
         <xs:annotation><xs:documentation>
@@ -41,10 +45,10 @@
         <xs:attribute name="value" type="xs:decimal"></xs:attribute>
     </xs:complexType>
     
-    <xs:complexType name="dimesionType">
+    <xs:complexType name="dimensionType">
         <xs:sequence>
             <xs:element name="name" type="xs:string"  />
-            <xs:element name="description" type="xs:string" nillable="true"/>
+            <xs:element name="description" type="xs:string" minOccurs="0"/>
             
             <xs:element name="position" type="xs:nonNegativeInteger" >
                 <xs:annotation><xs:documentation>
diff -r 864b87e78b9d -r a7e50a69311b schemas/las.xml
--- a/schemas/las.xml	Wed Mar 17 15:31:17 2010 -0500
+++ b/schemas/las.xml	Wed Mar 17 15:42:56 2010 -0500
@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <ns1:LASSchema xmlns:ns1="http://liblas.org/schemas/LAS/example" 
                 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
-                xsi:schemaLocation="http://liblas.org/schemas/LAS/1.0 file:/Users/hobu/Desktop/LAS.xsd">
-    <dimension>
+                xsi:schemaLocation="http://liblas.org/schemas/LAS/1.0 file:/Users/hobu/hg/liblas/schemas/LAS.xsd">
+    <ns1:dimension>
         <name>X</name>
         <description>
             x coordinate as a long integer.  You must use the scale and 
@@ -15,8 +15,8 @@
         <interpretation>uint32_t</interpretation>
         <minimum ns1:units="double" ns1:value="-131600417.982"/>
         <maximum ns1:units="double" ns1:value="404506682.749"/>
-    </dimension>
-    <dimension>
+    </ns1:dimension>
+    <ns1:dimension>
         <name>Y</name>
         <description>
             y coordinate as a long integer.  You must use the scale and 
@@ -29,8 +29,8 @@
         <interpretation>uint32_t</interpretation>
         <minimum ns1:units="double" ns1:value="-586874.0"/>
         <maximum ns1:units="double" ns1:value="123456789101112.9876"/>
-    </dimension>
-    <dimension>
+    </ns1:dimension>
+    <ns1:dimension>
         <name>Z</name>
         <description>
             z coordinate as a long integer.  You must use the scale and 
@@ -43,8 +43,8 @@
         <interpretation>uint32_t</interpretation>
         <minimum ns1:units="double" ns1:value="0.00"/>
         <maximum ns1:units="double" ns1:value="2512.26"/>
-    </dimension>
-    <dimension>
+    </ns1:dimension>
+    <ns1:dimension>
         <name>Intensity</name>
         <description>
             The intensity value is the integer representation of the pulse 
@@ -58,8 +58,8 @@
         <interpretation>uint16_t</interpretation>
         <minimum ns1:units="uint16_t" ns1:value="0"/>
         <maximum ns1:units="uint16_t" ns1:value="14224"/>
-    </dimension>
-    <dimension>
+    </ns1:dimension>
+    <ns1:dimension>
         <name>Return number</name>
         <description>
             Return Number: The Return Number is the pulse return number for 
@@ -75,8 +75,8 @@
         <interpretation>unknown</interpretation>
         <minimum ns1:units="uint16_t" ns1:value="0"/>
         <maximum ns1:units="uint16_t" ns1:value="5"/>
-    </dimension>
-    <dimension>
+    </ns1:dimension>
+    <ns1:dimension>
         <name>Number of Returns</name>
         <description>
             Number of Returns (for this emitted pulse): The Number of Returns 
@@ -91,8 +91,8 @@
         <interpretation>unknown</interpretation>
         <minimum ns1:units="uint16_t" ns1:value="0"/>
         <maximum ns1:units="uint16_t" ns1:value="5"/>
-    </dimension>
-    <dimension>
+    </ns1:dimension>
+    <ns1:dimension>
         <name>Scan direction</name>
         <description>
             The Scan Direction Flag denotes the direction at which the 
@@ -109,8 +109,8 @@
         <interpretation>unknown</interpretation>
         <minimum ns1:units="uint8_t" ns1:value="0"/>
         <maximum ns1:units="uint8_t" ns1:value="1"/>
-    </dimension>
-    <dimension>
+    
+    <ns1:dimension>
         <name>Flight Line Edge</name>
         <description>
             The Edge of Flight Line data bit has a value of 1 only when 
@@ -124,8 +124,8 @@
         <interpretation>unknown</interpretation>
         <minimum ns1:units="int8_t" ns1:value="0"/>
         <maximum ns1:units="int8_t" ns1:value="1"/>
-    </dimension>
-    <dimension>
+    
+    <ns1:dimension>
         <name>Classification</name>
         <description>
             Classification in LAS 1.0 was essentially user defined and optional. 
@@ -144,8 +144,8 @@
         <interpretation>uint8_t</interpretation>
         <minimum/>
         <maximum/>
-    </dimension>
-    <dimension>
+    
+    <ns1:dimension>
         <name>Scan Angle</name>
         <description>
             The Scan Angle Rank is a signed one-byte number with a 
@@ -165,8 +165,8 @@
         <interpretation>uint8_t</interpretation>
         <minimum ns1:units="int8_t" ns1:value="-90"/>
         <maximum ns1:units="int8_t" ns1:value="90"/>
-    </dimension>
-    <dimension>
+    </ns1:dimension>
+    <ns1:dimension>
         <name>User data</name>
         <description>
             This field may be used at the user’s discretion.            
@@ -178,8 +178,8 @@
         <interpretation>uint8_t</interpretation>
         <minimum/>
         <maximum/>
-    </dimension>
-    <dimension>
+    </ns1:dimension>
+    <ns1:dimension>
         <name>Point Source ID </name>
         <description>
             This value indicates the file from which this point originated. 
@@ -199,5 +199,5 @@
         <interpretation>uint16_t</interpretation>
         <minimum/>
         <maximum/>
-    </dimension>
+    </ns1:dimension>
 </ns1:LASSchema>


More information about the Liblas-commits mailing list