[Geoserver-users] WFS projection

Hi!

I want to know if geoserver know reprojected data in wfs 1.0.0 ? I know that’s work in wms but in wfs my data is not correctly positioned.

thanks

Jim

Jimmy Aumard ha scritto:

Hi!

I want to know if geoserver know reprojected data in wfs 1.0.0 ? I know that's work in wms but in wfs my data is not correctly positioned.

I thought I already answered this. Yes, it can reproject, even if it's
a vendor extension, not part of the official wfs 1.0 standard.
Example of reprojected request (from 4326 to 900913):

http://geo.openplans.org:8080/geoserver/wfs?request=GetFeature&version=1.0.0&typeName=topp:states&srsName=EPSG:900913

I have no idea why the results might be different from wfs to
wms, that never happened to me.

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

Ok sorry,

http://geo.openplans.org:8080/geoserver/wfs?request=GetFeature&version=1.0.0&typeName=topp:states&srsName=EPSG:900913

In my answer I have this:

<gml:MultiSurface srsName=“http://www.opengis.net/gml/srs/epsg.xml#4326”>

It’s normal?

thanks.

Jim

2009/4/8 Andrea Aime <aaime@anonymised.com>

Jimmy Aumard ha scritto:

Hi!

I want to know if geoserver know reprojected data in wfs 1.0.0 ? I know that’s work in wms but in wfs my data is not correctly positioned.

I thought I already answered this. Yes, it can reproject, even if it’s
a vendor extension, not part of the official wfs 1.0 standard.
Example of reprojected request (from 4326 to 900913):

http://geo.openplans.org:8080/geoserver/wfs?request=GetFeature&version=1.0.0&typeName=topp:states&srsName=EPSG:900913

I have no idea why the results might be different from wfs to
wms, that never happened to me.

Cheers
Andrea


Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

Hi,

For me your link returns:

<gml:MultiPolygon srsName="http://www.opengis.net/gml/srs/epsg.xml#900913&quot;&gt;

-Jukka Rahkonen-

-----Alkuperäinen viesti-----
Lähettäjä: Jimmy Aumard [mailto:jimmy.aumard@anonymised.com]
Lähetetty: ke 8.4.2009 12:32
Vastaanottaja: Andrea Aime
Kopio: geoserver-users@lists.sourceforge.net
Aihe: Re: [Geoserver-users] WFS projection

Ok sorry,

http://geo.openplans.org:8080/geoserver/wfs?request=GetFeature&version=1.0.0&typeName=topp:states&srsName=EPSG:900913

In my answer I have this:

<gml:MultiSurface srsName="http://www.opengis.net/gml/srs/epsg.xml#4326&quot;&gt;

It's normal?

thanks.

Jim

2009/4/8 Andrea Aime <aaime@anonymised.com>

Jimmy Aumard ha scritto:

Hi!

I want to know if geoserver know reprojected data in wfs 1.0.0 ? I know
that's work in wms but in wfs my data is not correctly positioned.

I thought I already answered this. Yes, it can reproject, even if it's
a vendor extension, not part of the official wfs 1.0 standard.
Example of reprojected request (from 4326 to 900913):

http://geo.openplans.org:8080/geoserver/wfs?request=GetFeature&version=1.0.0&typeName=topp:states&srsName=EPSG:900913

I have no idea why the results might be different from wfs to
wms, that never happened to me.

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

Jimmy Aumard ha scritto:

Ok sorry,

http://geo.openplans.org:8080/geoserver/wfs?request=GetFeature&version=1.0.0&typeName=topp:states&srsName=EPSG:900913

In my answer I have this:
<gml:MultiSurface srsName="http://www.opengis.net/gml/srs/epsg.xml#4326&quot;&gt;

It's normal?

You're making a WFS 1.1 request then, that's GML3. And even in that case:

http://geo.openplans.org:8080/geoserver/wfs?request=GetFeature&version=1.1.0&typeName=topp:states&srsName=EPSG:900913

returns:
gml:MultiSurface srsName="http://www.opengis.net/gml/srs/epsg.xml#900913&quot;

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

Hi,

I notised that the request is missing SERVICE. I do not know if it is critical, perhaps not because Geoserver answers even without it. Standard says though:
"The mandatory SERVICE parameter specifies which of the available service types at a particular service instance is being invoked. The value WFS is used to indicate that the Web Feature Service should be invoked."

-Jukka-

-----Alkuperäinen viesti-----
Lähettäjä: Jimmy Aumard [mailto:jimmy.aumard@anonymised.com]
Lähetetty: ke 8.4.2009 12:32
Vastaanottaja: Andrea Aime
Kopio: geoserver-users@lists.sourceforge.net
Aihe: Re: [Geoserver-users] WFS projection

Ok sorry,

http://geo.openplans.org:8080/geoserver/wfs?request=GetFeature&version=1.0.0&typeName=topp:states&srsName=EPSG:900913

In my answer I have this:

<gml:MultiSurface srsName="http://www.opengis.net/gml/srs/epsg.xml#4326&quot;&gt;

It's normal?

thanks.

Jim

2009/4/8 Andrea Aime <aaime@anonymised.com>

Jimmy Aumard ha scritto:

Hi!

I want to know if geoserver know reprojected data in wfs 1.0.0 ? I know
that's work in wms but in wfs my data is not correctly positioned.

I thought I already answered this. Yes, it can reproject, even if it's
a vendor extension, not part of the official wfs 1.0 standard.
Example of reprojected request (from 4326 to 900913):

http://geo.openplans.org:8080/geoserver/wfs?request=GetFeature&version=1.0.0&typeName=topp:states&srsName=EPSG:900913

I have no idea why the results might be different from wfs to
wms, that never happened to me.

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

Rahkonen Jukka wrote:

Hi,

I notised that the request is missing SERVICE. I do not know if it is critical, perhaps not because Geoserver answers even without it. Standard says though:
"The mandatory SERVICE parameter specifies which of the available service types at a particular service instance is being invoked. The value WFS is used to indicate that the Web Feature Service should be invoked."

Yeah, it is required by the spec. And if you turn on the "strict cite compliance" flag in GeoServer, it will throw an exception when you don't specify the service. And the version (in a non-capabilities request).

-Jukka-

-----Alkuperäinen viesti-----
Lähettäjä: Jimmy Aumard [mailto:jimmy.aumard@anonymised.com]
Lähetetty: ke 8.4.2009 12:32
Vastaanottaja: Andrea Aime
Kopio: geoserver-users@lists.sourceforge.net
Aihe: Re: [Geoserver-users] WFS projection
Ok sorry,

http://geo.openplans.org:8080/geoserver/wfs?request=GetFeature&version=1.0.0&typeName=topp:states&srsName=EPSG:900913

In my answer I have this:

<gml:MultiSurface srsName="http://www.opengis.net/gml/srs/epsg.xml#4326&quot;&gt;

It's normal?

thanks.

Jim

2009/4/8 Andrea Aime <aaime@anonymised.com>

Jimmy Aumard ha scritto:

Hi!

I want to know if geoserver know reprojected data in wfs 1.0.0 ? I know
that's work in wms but in wfs my data is not correctly positioned.

I thought I already answered this. Yes, it can reproject, even if it's
a vendor extension, not part of the official wfs 1.0 standard.
Example of reprojected request (from 4326 to 900913):

http://geo.openplans.org:8080/geoserver/wfs?request=GetFeature&version=1.0.0&typeName=topp:states&srsName=EPSG:900913

I have no idea why the results might be different from wfs to
wms, that never happened to me.

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.