[Mapbender_dev] hi evreybody, i think there is a problem abouth WFS search via GeoServer WFS Service !

Verena Diewald verena.diewald at wheregroup.com
Fri Oct 22 04:01:22 EDT 2010


Hi Christoph.,


task is fixed now. See http://trac.osgeo.org/mapbender/ticket/712 for 
more information.


Best regards,

Verena


Am 07.10.2010 20:56, schrieb Christoph Baudson:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Christoph Baudson wrote:
>    
>> You are right. We've just added unit tests for the WFS 1.1.0 classes and
>> this bug turned up. It is on my agenda. I will try to fix it tonight.
>>      
> Apparently Verena is already working on the bug fix. We will merge it
> into the 2.6 branch asap.
>
> Christoph
>
>    
>> Thanks
>>
>> Christoph
>>
>>
>> necipakca wrote:
>>      
>>> i am working now WFS service on mapbender 2.6.2 and when i was developing new
>>> wfs search items ,i found that ,,,
>>>        
>>      
>>> "<wfs:Query  ";
>>>        
>>      
>>> 		// add namespace
>>> 		if (strpos($featureTypeName, ":") !== false) {
>>> 			$ft = $this->findFeatureTypeByName($featureTypeName);
>>> 			$ns = $this->getNamespace($featureTypeName);
>>> 			$url = $ft->getNamespace($ns);
>>> 			$postData .= "xmlns:" . $ns . "=\"" . $url . "\" ";
>>>        
>>      
>>> 		}
>>> 		$postData .= "typeName=\"" . $featureTypeName . "\">" .
>>> 			$filter .
>>> 			"</wfs:Query></wfs:GetFeature>";
>>>        
>>      
>>> there is no srsName attribute so GeoServer is directing to wrong BBOX and
>>> wrong place.
>>>        
>>      
>>> but when i was adding srsName attribute wfs:Query every thing is ok .its
>>> works!!!
>>>        
>>      
>>> like that ;
>>>        
>>      
>>>    "<wfs:Query  srsName=\"EPSG:2320\"   ";
>>>        
>>      
>>> 		// add namespace
>>> 		if (strpos($featureTypeName, ":") !== false) {
>>> 			$ft = $this->findFeatureTypeByName($featureTypeName);
>>> 			$ns = $this->getNamespace($featureTypeName);
>>> 			$url = $ft->getNamespace($ns);
>>> 			$postData .= "xmlns:" . $ns . "=\"" . $url . "\" ";
>>>        
>>      
>>> 		}
>>> 		$postData .= "typeName=\"" . $featureTypeName . "\">" .
>>> 			$filter .
>>> 			"</wfs:Query></wfs:GetFeature>";
>>> Regards,
>>> Necip AKCA
>>>        
>>      
> _______________________________________________
> Mapbender_dev mailing list
> Mapbender_dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_dev
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkyuF8QACgkQGtMIfbycMX5LUQCgtWluhXOnAlsGOq4QP9Buga86
> 2igAn3V+lIW5iHCd3Pn2TqRMrmmtwUjO
> =+jBs
> -----END PGP SIGNATURE-----
> _______________________________________________
> Mapbender_dev mailing list
> Mapbender_dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_dev
>    


-- 




More information about the Mapbender_dev mailing list