-------- Forwarding messages --------
From: chenzhao <[email protected]>
Date: 2010-10-22 11:21:48
To: [email protected]
Subject: problem with geoserver wfs bbox
Hi,
I have a problem with geoserver wfs
I use geoserver to publish a layer.If the layer's geometry is "point or 
multipoint",I send a request that is :
{
Ext.Ajax.request({
                            url:'http://'+location.host+'/geoserver/wfs',
                            params:{
                                service: 'wfs',
                                request: "GetFeature",
                                version: '1.0.0',    //版本号:原来是1.0.0
                                bbox: bbox,    //filter里的bbox和这里不能同时用
                                typename: dataLayer[0][1],
                                //typename:'topp:states',
                                outputFormat:'JSON',
                                propertyName: getColumn(dataLayer[0][1]),
                                srsName: 'EPSG:4326'
                            },
                            success:function(response){
                                                
setHTML(response,boxMaker,ge,dataLayer,chooseLayer);
                            },
                            failure:function(){
                                alert('连接geoserver服务器失败');
                            }    
                    });//ajax
}
The response is right.

 when the layer's geometry is "multilinestring" or "multipolygon",occasionally 
the BBOX‘s area is nothing on the layer,but the response has some information 
about the layer.
There is no line acrossing the BBOX,why can I get information from the response?
Is the request  wrong?
Please advise

Zhao


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to