JONGSUNG LEE wrote:
> Hi,
>
> I would like to create a FeatureType from GML XSD file as following:
> How can I do this?
>   
There is a community schema branch of GeoServer that has been running a 
geotools branch focused on this problem.
You will also find schema reading code as part of the GML support used 
by the GMLDataStore and WFSDataStore,
you can also find GML2 and GML3 schema support as part of the uDig OWS-3 
project (which is may be available on
geotools trunk when Justin attends a GeoTools meeting and gets it done ....)

But sorry, we have no code examples at this time ...
Jody
> - Jong
> ---
> <?xml version="1.0" encoding="UTF-8"?>
>
>     http://schemas.opengis.net/gml/2.1.2/feature.xsd"/>
>     <xsd:element name="SCHOOL" substitutionGroup="gml:_Feature" 
> type="iwfs:SCHOOL"/>
>     <xsd:complexType name="SCHOOL">
>       <xsd:complexContent>
>         <xsd:extension base="gml:AbstractFeatureType">
>           <xsd:sequence>
>             <xsd:element name="THE_GEOM" minOccurs="0" nillable="true" 
> type="gml:PointPropertyType"/>
>             <xsd:element name="ID" minOccurs="0" nillable="true" 
> type="xsd:int"/>
>             <xsd:element name="NAME" minOccurs="0" nillable="true" 
> type="xsd:string"/>
>           </xsd:sequence>
>         </xsd:extension>
>       </xsd:complexContent>
>     </xsd:complexType>
>   </xsd:schema>
> ---
>
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>   



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to