Well, Chris, your suggestion is as lame as effective :-). It works with 1.4.0 release, so it is welcome!.
Thanks very much for the help.
Regards,
I have a somewhat lame suggestion.
Upgrade to 1.4.0, since it's our latest stable release. There's a decent chance that will fix your problem.
Hi again,
After sending the question to the mapbuilder users list, it happens
that a getFeature request from the browser to geoserver like this
http://pcwin.gmv.es:8083/geoserver/wfs?request=GetFeature&typeName=win
:ship_positions&bbox=-45.099999999999994,-43.74000000000001,-43.699999
99999999,-42.34
returns all the points of the layer, even those outside the bounding box passed as parameter (the response is attached), so something is going wrong in my geoserver. I have checked the projection in my feature type definition and it is epsg:4326, which is the good one.
One of the mapbuilder users said that he had been stuck with the same problem in geoserver 1.3.4 (the release that I am using), but when he switched back to version 1.3.3 everything was ok. This makes me wonder if it would be a problem linked to the 1.3.4 release, but since I get the wfs-t demo working fine with geoserver 1.3.4 I don't think this is the case.
Do you have any suggestions?.
Héctor.
-----Mensaje original-----
De: geoserver-users-bounces@lists.sourceforge.net
[mailto:geoserver-users-bounces@lists.sourceforge.net] En nombre de
Hector Hugo Perez Alonso Enviado el: viernes, 05 de enero de 2007 9:02
Para: Brent Owens
CC: geoserver-users@lists.sourceforge.net
Asunto: Re: [Geoserver-users] wfs-t based GetFeature problem
Hi Brent,
Thanks for the reply. It is not solved yet, but the issue is being followed in the mapbuilder list (it is posted there under the subject "wfsGetFeature problem").
Cheers,
Héctor.
-----Mensaje original-----
De: Brent Owens [mailto:brentowens@anonymised.com] Enviado el: viernes, 05
de enero de 2007 0:37
Para: Hector Hugo Perez Alonso
CC: geoserver-users@lists.sourceforge.net
Asunto: Re: [Geoserver-users] wfs-t based GetFeature problem
Hi Hector, sorry for the late reply.
Have you resolved your problem yet? I doubt the issue has anything to do with whether your data is in postgis vs. shapefile. But what it could be is that the wrong projection is being used.
You could try asking the mapbuilder list
(mapbuilder-users@lists.sourceforge.net) and see what they think the issue could be.
Brent Owens
(The Open Planning Project)
Hector Hugo Perez Alonso wrote:
Hi everybody,
I am taking my first steps with GeoServer and MapBuilder as client. I
have based my sample in the wfs-t demo (instead of shapefiles I am
using simple PostGis tables for my datastore and featureTypes), and I
get it working with points, lines and polygons.
My problem is that the wfsGetFeature behaves differently than in the
demo. When a specific feature in the map is clicked (with the
wfsGetFeature button activated), the server retuns the information
for all the features of the map instead of doing it just for the one
that has been clicked. I thought it would be some misconfiguration in
the mapbuilder xml files from my side, but now I'm not so sure. The
wfsGetFeature tag in my config file (copied below) is the same as in
the demo, except for the specific values of typeName (int his case a
feature with polygons) and the webServiceUrl.
Maybe it has something to do with the data store changed from shape
files to postGis?.
If somebody could point me out where should I take a look, it would
be great!.
<WfsGetFeature id="wfsGetFeature">
<buttonBar>mainButtonBar</buttonBar>
<targetModel>mainMap</targetModel>
<mouseHandler>mainMouseClick</mouseHandler>
<class>RadioButton</class>
<enabledSrc>/images/QueryEnable.png</enabledSrc>
<disabledSrc>/images/QueryDisable.png</disabledSrc>
<transactionResponseModel>featureCollection</transactionResponseModel>
<webServiceUrl>http://localhost:8080/geoserver/wfs?</webServiceUrl>
<typeName>win:win_onepoly</typeName>
<tolerance>5</tolerance>
</WfsGetFeature>
Thanks in advance,
Héctor.
---------------------------------------------------------------------
-
--
*Héctor Hugo Pérez Alonso*
Licenciado en CC. Matemáticas/
M.SC.Mathematics
GMV AEROSPACE
AND DEFENCE, S.A.
Isaac Newton, 11
P.T.M. Tres Cantos
E-28760 Madrid
Tel. +34 91 807 21 00 / 3369
Fax +34 91 807 21 99
www.gmv.com
---------------------------------------------------------------------
-
-- Este mensaje, y en su caso, cualquier fichero anexo al mismo,
puede contener información clasificada por su emisor como
confidencial en el marco de su Sistema de Gestión de Seguridad de la
Información siendo para uso exclusivo del destinatario, quedando
prohibida su divulgación copia o distribución a terceros sin la
autorización expresa del remitente. Si Vd. ha recibido este mensaje
erróneamente, se ruega lo notifique al remitente y proceda a su
borrado. Gracias por su colaboración.
---------------------------------------------------------------------
-
-- This message including any attachments may contain confidential
information, according to our Information Security Management System,
and intended solely for a specific individual to whom they are
addressed. Any unauthorised copy, disclosure or distribution of this
message is strictly forbidden. If you have received this transmission
in error, please notify the sender immediately and delete it.
---------------------------------------------------------------------
-
--
---------------------------------------------------------------------
-
--
---------------------------------------------------------------------
-
--- Take Surveys. Earn Cash. Influence the Future of IT Join
SourceForge.net's Techsay panel and you'll get the chance to share
your opinions on IT & business topics through brief surveys - and
earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DE
V
DEV
---------------------------------------------------------------------
-
--
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
______________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo, puede contener informacion clasificada por su emisor como confidencial en el marco de su Sistema de Gestion de Seguridad de la Informacion siendo para uso exclusivo del destinatario, quedando prohibida su divulgacion copia o distribucion a terceros sin la autorizacion expresa del remitente. Si Vd. ha recibido este mensaje erroneamente, se ruega lo notifique al remitente y proceda a su borrado.
Gracias por su colaboracion.
______________________
This message including any attachments may contain confidential information, according to our Information Security Management System, and intended solely for a specific individual to whom they are addressed.
Any unauthorised copy, disclosure or distribution of this message is strictly forbidden. If you have received this transmission in error, please notify the sender immediately and delete it.
______________________
----------------------------------------------------------------------
--- Take Surveys. Earn Cash. Influence the Future of IT Join
SourceForge.net's Techsay panel and you'll get the chance to share
your opinions on IT & business topics through brief surveys - and earn
cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEV
DEV _______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
______________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo, puede
contener informacion clasificada por su emisor como confidencial en
el marco de su Sistema de Gestion de Seguridad de la Informacion
siendo para uso exclusivo del destinatario, quedando prohibida su
divulgacion copia o distribucion a terceros sin la autorizacion
expresa del remitente. Si Vd. ha recibido este mensaje erroneamente,
se ruega lo notifique al remitente y proceda a su borrado.
Gracias por su colaboracion.
______________________
This message including any attachments may contain confidential
information, according to our Information Security Management System,
and intended solely for a specific individual to whom they are addressed.
Any unauthorised copy, disclosure or distribution of this message is
strictly forbidden. If you have received this transmission in error,
please notify the sender immediately and delete it.
______________________
!DSPAM:1003,45a2412788911410093335!
----------------------------------------------------------------------
--
<?xml version="1.0" encoding="UTF-8"?> <wfs:FeatureCollection
xmlns:wfs="http://www.opengis.net/wfs" xmlns:gml="http://www.opengis.net/gml" xmlns:win="http://www.win-eu.org" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wfs http://pcwin.gmv.es:8083/geoserver/schemas/wfs/1.0.0/WFS-basic.xsd http://www.win-eu.org http://pcwin.gmv.es:8083/geoserver/wfs/DescribeFeatureType?typeName=win:ship_positions">
<gml:boundedBy>
<gml:Box srsName="http://www.opengis.net/gml/srs/epsg.xml#4326">
<gml:coordinates decimal="." cs="," ts=" ">-44.54,-42.62 -44.54,-42.62</gml:coordinates>
</gml:Box>
</gml:boundedBy>
<gml:featureMember>
<win:ship_positions fid="ship_positions.%2Cm.m%2C.&010400000001000000010100000048E17A14AE4731C034333333333349C0">
<win:ship_name>,m.m,.</win:ship_name>
<win:position>
<gml:MultiPoint srsName="http://www.opengis.net/gml/srs/epsg.xml#4326">
<gml:pointMember>
<gml:Point>
<gml:coordinates decimal="." cs="," ts=" ">-17.28,-50.4</gml:coordinates>
</gml:Point>
</gml:pointMember>
</gml:MultiPoint>
</win:position>
</win:ship_positions>
</gml:featureMember>
<gml:featureMember>
<win:ship_positions fid="ship_positions.test2&010400000001000000010100000040E17A14AE470140EC51B81E85EB49C0">
<win:ship_name>test2</win:ship_name>
<win:position>
<gml:MultiPoint srsName="http://www.opengis.net/gml/srs/epsg.xml#4326">
<gml:pointMember>
<gml:Point>
<gml:coordinates decimal="." cs="," ts=" ">2.16,-51.84</gml:coordinates>
</gml:Point>
</gml:pointMember>
</gml:MultiPoint>
</win:position>
</win:ship_positions>
</gml:featureMember>
<gml:featureMember>
<win:ship_positions fid="ship_positions.winTestpoint&010400000001000000010100000040D7A3703D0A0740BA1E85EB51B842C0">
<win:ship_name>winTestpoint</win:ship_name>
<win:position>
<gml:MultiPoint srsName="http://www.opengis.net/gml/srs/epsg.xml#4326">
<gml:pointMember>
<gml:Point>
<gml:coordinates decimal="." cs="," ts=" ">2.88,-37.44</gml:coordinates>
</gml:Point>
</gml:pointMember>
</gml:MultiPoint>
</win:position>
</win:ship_positions>
</gml:featureMember>
<gml:featureMember>
<win:ship_positions fid="ship_positions.winTestPoint95&0104000000010000000101000000708FC2F5285C2B40C2F5285C8FC247C0">
<win:ship_name>winTestPoint95</win:ship_name>
<win:position>
<gml:MultiPoint srsName="http://www.opengis.net/gml/srs/epsg.xml#4326">
<gml:pointMember>
<gml:Point>
<gml:coordinates decimal="." cs="," ts=" ">13.68,-47.52</gml:coordinates>
</gml:Point>
</gml:pointMember>
</gml:MultiPoint>
</win:position>
</win:ship_positions>
</gml:featureMember>
<gml:featureMember>
<win:ship_positions fid="ship_positions.winTestPosition95&010400000001000000010100000000CDCCCCCCCC0C40A8703D0AD7A33AC0">
<win:ship_name>winTestPosition95</win:ship_name>
<win:position>
<gml:MultiPoint srsName="http://www.opengis.net/gml/srs/epsg.xml#4326">
<gml:pointMember>
<gml:Point>
<gml:coordinates decimal="." cs="," ts=" ">3.6,-26.64</gml:coordinates>
</gml:Point>
</gml:pointMember>
</gml:MultiPoint>
</win:position>
</win:ship_positions>
</gml:featureMember>
<gml:featureMember>
<win:ship_positions fid="ship_positions.winTestpoint&0104000000010000000101000000C047E17A14AE1F40608FC2F5285C2BC0">
<win:ship_name>winTestpoint</win:ship_name>
<win:position>
<gml:MultiPoint srsName="http://www.opengis.net/gml/srs/epsg.xml#4326">
<gml:pointMember>
<gml:Point>
<gml:coordinates decimal="." cs="," ts=" ">7.92,-13.68</gml:coordinates>
</gml:Point>
</gml:pointMember>
</gml:MultiPoint>
</win:position>
</win:ship_positions>
</gml:featureMember>
<gml:featureMember>
<win:ship_positions fid="ship_positions.Arg1&010400000001000000010100000014AE47E17A944FC09A999999999948C0">
<win:ship_name>Arg1</win:ship_name>
<win:position>
<gml:MultiPoint srsName="http://www.opengis.net/gml/srs/epsg.xml#4326">
<gml:pointMember>
<gml:Point>
<gml:coordinates decimal="." cs="," ts=" ">-63.16,-49.2</gml:coordinates>
</gml:Point>
</gml:pointMember>
</gml:MultiPoint>
</win:position>
</win:ship_positions>
</gml:featureMember>
<gml:featureMember>
<win:ship_positions fid="ship_positions.Arg1&0104000000010000000101000000AE47E17A14EE4FC05C8FC2F528DC49C0">
<win:ship_name>Arg1</win:ship_name>
<win:position>
<gml:MultiPoint srsName="http://www.opengis.net/gml/srs/epsg.xml#4326">
<gml:pointMember>
<gml:Point>
<gml:coordinates decimal="." cs="," ts=" ">-63.86,-51.72</gml:coordinates>
</gml:Point>
</gml:pointMember>
</gml:MultiPoint>
</win:position>
</win:ship_positions>
</gml:featureMember>
<gml:featureMember>
<win:ship_positions fid="ship_positions.shipTest&0104000000010000000101000000CCCCCCCCCC8C4DC034333333333347C0">
<win:ship_name>shipTest</win:ship_name>
<win:position>
<gml:MultiPoint srsName="http://www.opengis.net/gml/srs/epsg.xml#4326">
<gml:pointMember>
<gml:Point>
<gml:coordinates decimal="." cs="," ts=" ">-59.1,-46.4</gml:coordinates>
</gml:Point>
</gml:pointMember>
</gml:MultiPoint>
</win:position>
</win:ship_positions>
</gml:featureMember>
<gml:featureMember>
<win:ship_positions fid="ship_positions.testShip99&01040000000100000001010000001E85EB51B8DE4BC0A4703D0AD7A346C0">
<win:ship_name>testShip99</win:ship_name>
<win:position>
<gml:MultiPoint srsName="http://www.opengis.net/gml/srs/epsg.xml#4326">
<gml:pointMember>
<gml:Point>
<gml:coordinates decimal="." cs="," ts=" ">-55.74,-45.28</gml:coordinates>
</gml:Point>
</gml:pointMember>
</gml:MultiPoint>
</win:position>
</win:ship_positions>
</gml:featureMember>
<gml:featureMember>
<win:ship_positions fid="ship_positions.testShip120&0104000000010000000101000000E17A14AE47A149C05C8FC2F5285C46C0">
<win:ship_name>testShip120</win:ship_name>
<win:position>
<gml:MultiPoint srsName="http://www.opengis.net/gml/srs/epsg.xml#4326">
<gml:pointMember>
<gml:Point>
<gml:coordinates decimal="." cs="," ts=" ">-51.26,-44.72</gml:coordinates>
</gml:Point>
</gml:pointMember>
</gml:MultiPoint>
</win:position>
</win:ship_positions>
</gml:featureMember>
<gml:featureMember>
<win:ship_positions fid="ship_positions.barquito&010400000001000000010100000084EB51B81E4546C090C2F5285C4F45C0">
<win:ship_name>barquito</win:ship_name>
<win:position>
<gml:MultiPoint srsName="http://www.opengis.net/gml/srs/epsg.xml#4326">
<gml:pointMember>
<gml:Point>
<gml:coordinates decimal="." cs="," ts=" ">-44.54,-42.62</gml:coordinates>
</gml:Point>
</gml:pointMember>
</gml:MultiPoint>
</win:position>
</win:ship_positions>
</gml:featureMember>
</wfs:FeatureCollection>
----------------------------------------------------------------------
--
----------------------------------------------------------------------
--- Take Surveys. Earn Cash. Influence the Future of IT Join
SourceForge.net's Techsay panel and you'll get the chance to share
your opinions on IT & business topics through brief surveys - and earn
cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEV
DEV
!DSPAM:1003,45a2412788911410093335!
----------------------------------------------------------------------
--
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
!DSPAM:1003,45a2412788911410093335!