[Geoserver-users] which gml schema ?

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

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

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

!DSPAM:4007,46cc490053593362379201!

--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org

  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

>
> !DSPAM:4007,46cc490053593362379201!
>

--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org

____________________________________________________________________________________
Park yourself in front of a world of choices in
alternative vehicles. Visit the Yahoo! Auto Green
Center.
http://autos.yahoo.com/green_center/

____________________________________________________________________________________
Yahoo! oneSearch: Finally, mobile search
that gives answers, not web links.
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC

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

____________________________________________________________________________________
Park yourself in front of a world of choices in
alternative vehicles. Visit the Yahoo! Auto Green
Center.
http://autos.yahoo.com/green_center/

____________________________________________________________________________________
Yahoo! oneSearch: Finally, mobile search
that gives answers, not web links.
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC

!DSPAM:4007,46cdd7fd185558362916074!

--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org

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

Hi Roman,

If you use GeoServer 1.5.3 or earlier then yes it only used the gml
2.1.2 schema because it only supports WFS 1.0. However in GeoServer
1.6.x WFS 1.1 has been added which uses GML3. So GeoServer 1.6.x and
above uses both.

You can see this if you make a GetFeature request in GeoServer 1.6.x and
just change the "version" parameter from 1.0.0 to 1.1.0, You should see
the different gml schemas referenced.

-Justin

Roman Isitua wrote:

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

!DSPAM:4007,46cee46a104373668746562!

--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org

Hi Justin,

What is the current status of geoserver 1.6 ? is it
officially out or is it still in the beta stage. When
is the official release date. on the geoserver web
site i can only see links to geoserver 1.5.3.

Thanks
Roman

--- Justin Deoliveira <jdeolive@anonymised.com> wrote:

Hi Roman,

If you use GeoServer 1.5.3 or earlier then yes it
only used the gml
2.1.2 schema because it only supports WFS 1.0.
However in GeoServer
1.6.x WFS 1.1 has been added which uses GML3. So
GeoServer 1.6.x and
above uses both.

You can see this if you make a GetFeature request in
GeoServer 1.6.x and
just change the "version" parameter from 1.0.0 to
1.1.0, You should see
the different gml schemas referenced.

-Justin

Roman Isitua wrote:
> 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
>>>>>>
>>>>>>

=== message truncated ===

____________________________________________________________________________________
Choose the right car based on your needs. Check out Yahoo! Autos new Car Finder tool.
http://autos.yahoo.com/carfinder/

Hi Justin,

What is the current status of geoserver 1.6 ? is it
officially out or is it still in the beta stage. When
is the official release date. on the geoserver web
site i can only see links to geoserver 1.5.3.

Thanks
Roman

--- Justin Deoliveira <jdeolive@anonymised.com> wrote:

Hi Roman,

If you use GeoServer 1.5.3 or earlier then yes it
only used the gml
2.1.2 schema because it only supports WFS 1.0.
However in GeoServer
1.6.x WFS 1.1 has been added which uses GML3. So
GeoServer 1.6.x and
above uses both.

You can see this if you make a GetFeature request in
GeoServer 1.6.x and
just change the "version" parameter from 1.0.0 to
1.1.0, You should see
the different gml schemas referenced.

-Justin

Roman Isitua wrote:
> 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
>>>>>>
>>>>>>

=== message truncated ===

      ____________________________________________________________________________________
Shape Yahoo! in your own image. Join our Network Research Panel today! http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7

Roman Isitua ha scritto:

Hi Justin,

What is the current status of geoserver 1.6 ? is it
officially out or is it still in the beta stage. When
is the official release date. on the geoserver web
site i can only see links to geoserver 1.5.3.

GeoServer 1.6.0 should be out within one or two months.
Cheers
Andrea