Hi Justin,
Thanks I have just gone through the gml 2.1.2 schema
and a bit of the gml 3.1.1 schema. By examining a
sample gml data served by geoserver, it seems like the
gml file uses only gml 2.1.2 not gml 3.1.1.
Am I right about this ?
Does geoserver only use the gml 2.1.2 schema ?
If that is the case, all i need to develop the xslt
is the gml 2.1.2 schema. I am using geoserver 1.5.1.
Thanks
Roman
--- Justin Deoliveira <jdeolive@anonymised.com> wrote:
Hi Roman,
Yes, feature.xsd is just the "top-level" scheam for
gml2. You will also
need geometry.xsd and xlinks.xsd.
Similarily for gml3 you will need all the schemas
(for wihch there is a
great number of them). So you need to get every
single xsd file under
http://schemas.opengis.net/gml/3.1.1/.
That is only if you want to store the schemas
locally on your machine
and reference them from your machine. You can also
just reference the
schemas directly from schemas.opengis.net...
although you will have to
deal with the network.
Let me know if anything is unclear or if you have
any more questions.
-Justin
Roman Isitua wrote:
> Sorry but i will like to be clear on this. So
what
> you are trying to say is that to develop an xslt
to
> transform the gml data generated by geoserver to
> another xml format I just need the feature.xsd
from
> gml 2 and the gml.xsd from gml 3. I just
downloaded
> the gml 2 feature.xsd in it I can see an
>
> <include schemaLocation="geometry.xsd"/> statement
do
> I need to get the geometry.xsd too ? (I am new to
> xslt)
>
> Thanks
> Roman
>
>
>
> --- Justin Deoliveira <jdeolive@anonymised.com>
wrote:
>
>> These will include links to the gml scheams as
well
>> but if you want just
>> the core gml schemas themselves (or any of the
other
>> ogc schemas) you
>> can grab them all from
http://schemas.opengis.net.
>>
>> For gml2 the one you want is
>>
>> http://schemas.opengis.net/gml/2.1.2/feature.xsd
>>
>> For gml3:
>>
>> http://schemas.opengis.net/gml/3.1.1/base/gml.xsd
>>
>> -Justin
>>
>>
>> Scott Davis wrote:
>>> Send a "DescribeFeatureType" request -- it'll
>> return the exact schema
>>> for your layer.
>>>
>>> To get a list of all features:
>>> ---------------------------------------
>>> http://localhost:8888/geoserver/wfs?
>>> service=WFS&
>>> version=1.0.0&
>>> request=GetCapabilities
>>>
>>> To get XSD for a specific layer:
>>> ------------------------------------------------
>>> http://localhost:8888/geoserver/wfs?
>>> version=1.0.0&
>>> service=WFS&
>>> request=DescribeFeatureType&
>>> typename=us_states_poly
>>>
>>> To get the GML:
>>> -----------------------------
>>> http://localhost:8888/geoserver/wfs?
>>> version=1.0.0&
>>> service=WFS&
>>> request=GetFeature&
>>> typename=us_states_poly
>>>
>>> HTH,
>>> s
>>>
>>> Scott Davis
>>> scott@anonymised.com
>>>
>>>
>>>
>>> On Aug 22, 2007, at 5:59 AM, Roman Isitua wrote:
>>>
>>>> Hi,
>>>>
>>>> I intend to develop an xslt to transform gml to
>>>> another xml format. I
>>>> have a software tool that can assist in
>> generating the
>>>> xslt but to use the
>>>> tool i need the schema for the two xml
documents
>> (i.e
>>>> gml and the other xml format). I already
>>>> have the schema for the target xml.
>>>>
>>>> My question is:
>>>>
>>>> where can I get the schema for the gml data
>> generated
>>>> by geoserver ?
>>>> I downloaded the the gml specification and in
it
>> i can
>>>> see a dozen xsd's, does anyone have an idea
>>>> which one. I am confused as to the right one I
am
>>>> supposed to use.
>>>>
>>>> Thanks
>>>> Roman
>>>>
>>>>
>>>>
>>>>
>>>>
>
______________________________________________________________________
>>>> ______________
>>>> Got a little couch potato?
>>>> Check out fun summer activities for kids.
>>>>
>
http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities
>>>> +for+kids&cs=bz
>>>>
>>>>
>
----------------------------------------------------------------------
>>>> ---
>>>> This SF.net email is sponsored by: Splunk Inc.
>>>> Still grepping through log files to find
>> problems? Stop.
>>>> Now Search log events and configuration files
>> using AJAX and a
>>>> browser.
>>>> Download your FREE copy of Splunk now >>
>> http://get.splunk.com/
>>>> _______________________________________________
>>>> Geoserver-users mailing list
>>>> Geoserver-users@lists.sourceforge.net
>>>>
>
https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>
>>>
>
-------------------------------------------------------------------------
>>> This SF.net email is sponsored by: Splunk Inc.
>>> Still grepping through log files to find
problems?
>> Stop.
>>> Now Search log events and configuration files
>> using AJAX and a browser.
>>> Download your FREE copy of Splunk now >>
>> http://get.splunk.com/
>>> _______________________________________________
>>> Geoserver-users mailing list
>>> Geoserver-users@lists.sourceforge.net
>>>
>
https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>
>>>
>>
>> --
>> Justin Deoliveira
>> The Open Planning Project
>> http://topp.openplans.org
>>
>
>
>
>
>
____________________________________________________________________________________
=== message truncated ===
____________________________________________________________________________________
Yahoo! oneSearch: Finally, mobile search
that gives answers, not web links.
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC
____________________________________________________________________________________
Sick sense of humor? Visit Yahoo! TV's
Comedy with an Edge to see what's on, when.
http://tv.yahoo.com/collections/222