Hi,
Ok so from what you said :
1) In WFS 1.0.0 if my data are in EPSG:27572, and if the feature type is
declared with the same projection i will have to make requests to Geoserver
with a BBOX also defined in EPSG:27572.
2) In WFS 1.1.0 I should be able to make request with a BBOX defined in
EPSG:2154 on my feature defined in EPSG:27572
I've just tried making a request to my feature in EPSG:27572 like this :
http://localhost/geoserver/wfs?
request=GetFeature&
SERVICE=WFS&
BBOX=568518.46,6270011.33,569235.85,6270716.86&
TYPENAME=topp:commune&
srsName=EPSG:2154&
version=1.0.0
But when i look in the Geoserver logs here is what i see 
2 Aug 13:30:15 DEBUG [data.jdbc] - sql is SELECT "layerid", "gid",
"layerid", "gid", "sourcede", "nom", "code_ins", "statut", "canton",
"arrondis", "departem", "region", "populati", "multi_ca",
encode(asBinary(force_2d("the_geom"),'XDR'),'base64') FROM
"public"."commune" WHERE "the_geom" && GeometryFromText('POLYGON ((568518.46
6270011.33, 568518.46 6270716.86, 569235.85 6270716.86, 569235.85
6270011.33, 568518.46 6270011.33))', 27572) LIMIT 1000000
The BBOX should be reprojected and it seems it's not ... Where should i look
to fix it ?
Thanx for your help
Manu
Rahkonen Jukka wrote:
Hi,
WFS 1.0.0 is serving data in one projection only, which is advertised in
the getCapabilities document. For Geoserver data do not need to be in
that projection in the backend database. You can configure Geoserver to
reproject it into some other projection which is then used in
getCapabilities and in the output. BBOX in request must use this same
advertised projection. Use WFS 1.1.0 if you want to deliver data in
several projections.
-Jukka Rahkonen-
-----Alkuperäinen viesti-----
Lähettäjä: geoserver-users-bounces@lists.sourceforge.net
[mailto:geoserver-users-bounces@lists.sourceforge.net]
Puolesta Emmanuel Séguin
Lähetetty: 12. elokuuta 2008 12:53
Vastaanottaja: geoserver-users@lists.sourceforge.net
Aihe: [Geoserver-users] [Geoserver 1.6.4] WFS reprojection
version 1.0.0 ?
Hi,
I'm currently having troubles with 1.0.0 WFS GET requests
BBOX reprojection.
So here are my questions :
1) In WFS 1.0.0 is it possible to make WFS GET requests with
a BBOX in a different SRS than the one from the native
database SRS ? (BBOX in EPSG:2154 and database in EPSG:27572
for example)
2) If it is, can you tell me where the BBOX reprojection is
supposed to happen precisely ? For now i'm quite confused
with what happens in GetFeature.java and
GeoserverFeatureSource.java => It seems the
toDataQuery() method puts a CoordinateSystemReproject
attribute into the query instance but the adaptQuery() method
erases it just after...
Thanx in advance
Manu
--
View this message in context:
http://www.nabble.com/-Geoserver-1.6.4--WFS-reprojection-versi
on-1.0.0---tp18940994p18940994.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
--------------------------------------------------------------
-----------
This SF.Net email is sponsored by the Moblin Your Move
Developer's challenge
Build the coolest Linux based applications with Moblin SDK &
win great prizes
Grand prize is a trip for two to an Open Source event
anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
View this message in context: http://www.nabble.com/-Geoserver-1.6.4--WFS-reprojection-version-1.0.0---tp18940994p18942630.html
Sent from the GeoServer - User mailing list archive at Nabble.com.