[mapguide-users] Re: MgInsertFeatures clears the feature source

mika at digikartta.net mika at digikartta.net
Mon Nov 28 03:31:52 EST 2011


 Hi Jackie,
 the schema is like this:

 <?xml version="1.0" encoding="utf-8"?>
 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
 targetNamespace="http://fdo.osgeo.org/schemas/feature/schema_zone"
 xmlns:fdo="http://fdo.osgeo.org/schemas"
 xmlns:gml="http://www.opengis.net/gml"
 xmlns:schema_zone="http://fdo.osgeo.org/schemas/feature/schema_zone"
 elementFormDefault="qualified" attributeFormDefault="unqualified">
   <xs:annotation>
     <xs:documentation>zone class schema</xs:documentation>
     <xs:appinfo source="http://fdo.osgeo.org/schemas" />
   </xs:annotation>
   <xs:element name="dim_zone" type="schema_zone:dim_zoneType"
   abstract="false" substitutionGroup="gml:_Feature">
     <xs:key name="dim_zoneKey">
       <xs:selector xpath=".//dim_zone" />
       <xs:field xpath="ID" />
     </xs:key>
   </xs:element>
   <xs:complexType name="dim_zoneType" abstract="false"
   fdo:geometryName="Geom">
     <xs:annotation>
       <xs:documentation>Feature class for zone
       layer</xs:documentation>
       <xs:appinfo source="http://fdo.osgeo.org/schemas" />
     </xs:annotation>
     <xs:complexContent>
       <xs:extension base="gml:AbstractFeatureType">
         <xs:sequence>
           <xs:element name="ID">
             <xs:simpleType>
               <xs:restriction base="xs:int" />
             </xs:simpleType>
             <xs:annotation>
               <xs:documentation />
             </xs:annotation>
           </xs:element>
           <xs:element name="typeid">
             <xs:simpleType>
               <xs:restriction base="xs:int" />
             </xs:simpleType>
             <xs:annotation>
               <xs:documentation />
             </xs:annotation>
           </xs:element>
           <xs:element name="kerrosid">
             <xs:simpleType>
               <xs:restriction base="xs:int" />
             </xs:simpleType>
             <xs:annotation>
               <xs:documentation />
             </xs:annotation>
           </xs:element>
           <xs:element name="Geom" type="gml:AbstractGeometryType"
           fdo:hasMeasure="false" fdo:hasElevation="false"
           fdo:srsName="zone_geom" fdo:geometricTypes="surface"
           fdo:geometryTypes="polygon multipolygon curvepolygon 
 multicurvepolygon">
             <xs:annotation>
               <xs:documentation />
             </xs:annotation>
           </xs:element>
         </xs:sequence>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 </xs:schema>

 On Sun, 27 Nov 2011 17:28:13 -0800 (PST), Jackie Ng 
 <jumpinjackie at gmail.com> wrote:
> How is your feature class (the one you are inserting data into) 
> structured?
>
> - Jackie
>
> --
> View this message in context:
> 
> http://osgeo-org.1803224.n2.nabble.com/MgInsertFeatures-clears-the-feature-source-tp7027286p7037466.html
> Sent from the MapGuide Users mailing list archive at Nabble.com.
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users



More information about the mapguide-users mailing list