[Mapbender-users] one or two question

zorg zorg at probesys.com
Thu Nov 4 06:21:00 EDT 2010


Hello
After more testing it is working if I use WFS version="1.0.0"
is it the only solution

thank for your answer

Le 03/11/2010 18:24, zorg a écrit :
> Hi
> in fact I had some bad geom
> but now still find nothing but it should not
> here is what I have
>
> <wfs:GetFeature service="WFS" version="1.1.0" 
> xmlns:wfs="http://www.opengis.net/wfs" 
> xmlns:gml="http://www.opengis.net/gml" 
> xmlns:ogc="http://www.opengis.net/ogc"><wfs:Query 
> xmlns:demo="http://192.168.12.137/demo" 
> typeName="demo:parcellaire"><ogc:Filter><Intersects><ogc:PropertyName>demo:wkb_geometry</ogc:PropertyName><gml:Polygon 
> srsName='EPSG:2154'><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>1916745,4223669 
> 1916745,4224436 1917157,4224436 1917157,4223669 
> 1916745,4223669</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></Intersects></ogc:Filter></wfs:Query></wfs:GetFeature> 
>
> 2010.11.03, 18:07:43,Notice: connector.http.postData: <?xml 
> version="1.0" encoding="UTF-8"?>
> <wfs:GetFeature service="WFS" version="1.1.0" 
> xmlns:wfs="http://www.opengis.net/wfs" 
> xmlns:gml="http://www.opengis.net/gml" 
> xmlns:ogc="http://www.opengis.net/ogc"><wfs:Query 
> xmlns:demo="http://192.168.12.137/demo" 
> typeName="demo:parcellaire"><ogc:Filter><Intersects><ogc:PropertyName>demo:wkb_geometry</ogc:PropertyName><gml:Polygon 
> srsName='EPSG:2154'><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>1916745,4223669 
> 1916745,4224436 1917157,4224436 1917157,4223669 
> 1916745,4223669</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></Intersects></ogc:Filter></wfs:Query></wfs:GetFeature> 
>
> 2010.11.03, 18:07:43,Notice: connector.http.response: <?xml 
> version="1.0" encoding="UTF-8"?>
> <wfs:FeatureCollection numberOfFeatures="0" 
> timeStamp="2010-11-03T18:07:43.207+01:00" 
> xsi:schemaLocation="http://192.168.12.137/demo 
> http://192.168.12.137:80/geoserver/wfs?service=WFS&amp;version=1.1.0&amp;request=DescribeFeatureType&amp;typeName=demo%3Aparcellaire 
> http://www.opengis.net/wfs 
> http://schemas.opengis.net/wfs/1.1.0/wfs.xsd" 
> xmlns:ogc="http://www.opengis.net/ogc" 
> xmlns:tiger="http://www.census.gov" 
> xmlns:cite="http://www.opengeospatial.net/cite" 
> xmlns:nurc="http://www.nurc.nato.int" 
> xmlns:sde="http://geoserver.sf.net" 
> xmlns:wfs="http://www.opengis.net/wfs" 
> xmlns:topp="http://www.openplans.org/topp" 
> xmlns:it.geosolutions="http://www.geo-solutions.it" 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
> xmlns:sf="http://www.openplans.org/spearfish" 
> xmlns:ows="http://www.opengis.net/ows" 
> xmlns:demo="http://192.168.12.137/demo" 
> xmlns:gml="http://www.opengis.net/gml" 
> xmlns:xlink="http://www.w3.org/1999/xlink"><gml:featureMembers/></wfs:FeatureCollection> 
>
>
>
> Le 03/11/2010 08:38, Verena Diewald a écrit :
>> Hi,
>>
>>
>> Am 02.11.2010 22:19, schrieb zorg:
>>> Hello
>>>
>>> I have been testing mapbender for a month and I still have some 
>>> question
>>>
>>> My map are using EPSG:2154 but by default mapbender only propose me 
>>> EPSG:4326   to make it work I have use solution given in this post
>>> http://osgeo-org.1803224.n2.nabble.com/Problems-with-EPSG-td2059853.html 
>>> (doing insert in the database).
>>> Is it the good solution
>> The point described in the post above is exactly what you have to do.
>>>
>>> second problem
>>> I've been trying to make the Spatial Queries with OGC WFS to work 
>>> without any success (there is not error it just never found something)
>>> I using mapbender  2.6.2,  GeoServer 2.0.2
>>>
>>> For the moment I have manage to  work with the digitize module and 
>>> gazetter module using wfs  . I can  create polygon without problem 
>>> but after I can't find it with the spatial request module.
>> Can you give some more information? How does the filter statement for 
>> the getFeature request look like? To get it, you can set the log 
>> level in mapbender.conf to "notice", so you can then find the request 
>> send to GeoServer in the mapbender log file in the log/ folder. Same 
>> for the digitize transaction request.  You could try to use the 
>> getFeature xml post request or the transaction request in the 
>> GeoServer demo request frontend to see what happens.
>>
>>
>> Best regards,
>>
>> Verena
>>>
>>> hope someone can help
>>> I can give more specific information but I don't really know which 
>>> one  can help
>>>
>>>
>>> _______________________________________________
>>> Mapbender_users mailing list
>>> Mapbender_users at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/mapbender_users
>>
>>
>> _______________________________________________
>> Mapbender_users mailing list
>> Mapbender_users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapbender_users
>
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_users



More information about the Mapbender_users mailing list