Changes between Initial Version and Version 1 of MapGuideRfc27


Ignore:
Timestamp:
Aug 13, 2007, 11:12:14 AM (17 years ago)
Author:
BillKellner
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MapGuideRfc27

    v1 v1  
     1MapGuide RFC 27 - New DWG Load Procedure Schema¶
     2This page contains an change request (RFC) for the MapGuide Open Source project. More MapGuide RFCs can be found on the RFCs page.
     3
     4Status ¶
     5
     6RFC Template Version (1.0) 
     7Submission Date August 13, 2007 
     8Last Modified Bill Kellner Mon Aug 13 13:40:15 2007 
     9Author Bill Kellner 
     10RFC Status draft 
     11Implementation Status under development 
     12Proposed Milestone 1.3 
     13Assigned PSC guide(s) (when determined) 
     14Voting History (vote date) 
     15+1 Bob, Andy, Haris 
     16+0 Paul 
     17-0 Tom, Bruce 
     18-1 Jason (troublemaker) 
     19
     20
     21Overview ¶
     22This change adds a new version of the DWG Load Procedure resource schema.
     23
     24Motivation ¶
     25Autodesk MapGuide Studio will start using a new DWG load procedure XML document.  Because the DWG load procedure document is stored in the repository the schema must be made available to the server.
     26
     27Proposed Solution ¶
     28Add DWGLoadProcuedure-2.0.0.xsd to the Common/Schema folder.  this is enough to get the server to store DWG load procedures in the new format in the repository.
     29
     30     <xs:complexType name="DwgLoadProcedureType">
     31       <xs:annotation>
     32         <xs:documentation>Extension of LoadProcedure for DWGs and DXFs</xs:documentation>
     33       </xs:annotation>
     34       <xs:complexContent>
     35         <xs:extension base="LoadProcedureType">
     36           <xs:sequence>
     37             <xs:element name="FileComponents">
     38               <xs:annotation>
     39                 <xs:documentation>List of DWG files and their layers to be extracted, whether selected or not.</xs:documentation>
     40               </xs:annotation>
     41               <xs:complexType>
     42                 <xs:sequence>
     43                   <xs:element name="FileComponent" type="DwgFileComponentType" maxOccurs="unbounded">
     44                     <xs:annotation>
     45                       <xs:documentation>One DWG file and its layers</xs:documentation>
     46                     </xs:annotation>
     47                   </xs:element>
     48                 </xs:sequence>
     49               </xs:complexType>
     50             </xs:element>
     51             <xs:element name="CombineComponents" type="xs:boolean">
     52               <xs:annotation>
     53                 <xs:documentation>Indicate whether to combine components into one resource or create a separate resource for each component</xs:documentation>
     54               </xs:annotation>
     55             </xs:element>
     56             <xs:element name="Generalization" type="PercentageType">
     57               <xs:annotation>
     58                 <xs:documentation>Reduces the point (or vertex) count of each map feature to the specified percentage of the original count</xs:documentation>
     59               </xs:annotation>
     60             </xs:element>
     61             <xs:element name="ClosedPolylinesToPolygons" type="xs:boolean">
     62               <xs:annotation>
     63                 <xs:documentation>Indicates whether to convert closed polyline features to polygons</xs:documentation>
     64               </xs:annotation>
     65             </xs:element>
     66           </xs:sequence>
     67         </xs:extension>
     68       </xs:complexContent>
     69     </xs:complexType>
     70     <xs:complexType name="DwgFileComponentType">
     71       <xs:annotation>
     72         <xs:documentation>Specifies a DWG file and its list of layers</xs:documentation>
     73       </xs:annotation>
     74       <xs:sequence>
     75         <xs:element name="Name" type="xs:string">
     76           <xs:annotation>
     77             <xs:documentation>The name of the DWG file</xs:documentation>
     78           </xs:annotation>
     79         </xs:element>
     80         <xs:element name="LayerComponents">
     81           <xs:annotation>
     82             <xs:documentation>List of DWG layers</xs:documentation>
     83           </xs:annotation>
     84           <xs:complexType>
     85             <xs:sequence>
     86               <xs:element name="LayerComponent" type="DwgLayerComponentType" maxOccurs="unbounded">
     87                 <xs:annotation>
     88                   <xs:documentation>One DWG layer</xs:documentation>
     89                 </xs:annotation>
     90               </xs:element>
     91             </xs:sequence>
     92           </xs:complexType>
     93         </xs:element>
     94       </xs:sequence>
     95     </xs:complexType>
     96     <xs:complexType name="DwgLayerComponentType">
     97       <xs:annotation>
     98         <xs:documentation>Specifies a layer and a flag to indicate if it should be extracted</xs:documentation>
     99       </xs:annotation>
     100       <xs:sequence>
     101         <xs:element name="Name" type="xs:string">
     102           <xs:annotation>
     103           <xs:documentation>The name of the layer</xs:documentation>
     104           </xs:annotation>
     105         </xs:element>
     106         <xs:element name="Selected" type="xs:boolean">
     107           <xs:annotation>
     108             <xs:documentation>Indicates whether this layer is to be extracted when executing the Load Procedure</xs:documentation>
     109           </xs:annotation>
     110         </xs:element>
     111       </xs:sequence>
     112     </xs:complexType>
     113   </xs:schema>
     114 
     115
     116Implications ¶
     117None.
     118
     119Test Plan ¶
     120There were no unit tests to test the dwg load procedure.  No new unit tests are planned.
     121
     122Funding/Resources ¶
     123Supplied by Autodesk.
     124