WFS Intersect in Mapserver 5

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

WFS Intersect in Mapserver 5

Sture Dingsøyr
Hi all...

Have anyone noticed a difference in WFS intersect from mapserver version 4.10.2 to 5.0.2?

If i do the same WFS Request in 4.10.2 it is working fine. But in version 5.0.2 the WFS only returns "<gml:null>missing</gml:null>"

VERSION: 5.0.2:
http://mapserver.avinet.no/cgi-bin/mapserv502?map=/var/www/html/mapengine/adaptive/mapfile_wfs_internal.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=getfeature&TYPENAME=layer_74&FILTER=<Filter><Intersect><PropertyName>Geometry</PropertyName><gml:Polygon><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>51694,6810794 51684.3926402022,6810696.45483899 51655.9397662578,6810602.65828382 51609.7348061559,6810516.2148835 51547.5533906012,6810440.44660942 51471.7851165215,6810378.26519386 51385.3417161981,6810332.06023375 51291.5451610273,6810303.6073598 51194.0000000224,6810294 51096.4548390167,6810303.60735979 51002.6582838434,6810332.06023373 50916.2148835159,6810378.26519383 50840.4466094305,6810440.44660938 50778.265193869,6810516.21488346 50732.0602337594,6810602.65828378 50703.6073598066,6810696.45483895 50694,6810793.99999996 50703.6073597891,6810891.54516096 50732.060233725,6810985.34171614 50778.2651938191,6811071.78511647 50840.446609367,6811147.55339055 50916.2148834412,6811209.73480612 51002.6582837604,6811255.93976623 51096.4548389286,6811284.39264019 51193.9999999327,6811294 51291.5451609393,6811284.39264022 51385.3417161151,6811255.93976628 51471.7851164468,6811209.73480619 51547.5533905377,6811147.55339065 51609.7348061061,6811071.78511658 51655.9397662234,6810985.34171626 51684.3926401846,6810891.54516109 51694,6810794.00000009 51694,6810794</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></Intersect></Filter>

VERSION 4.10.2:
http://mapserver.avinet.no/cgi-bin/mapserv4102?map=/var/www/html/mapengine/adaptive/mapfile_wfs_internal.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=getfeature&TYPENAME=layer_74&FILTER=<Filter><Intersect><PropertyName>Geometry</PropertyName><gml:Polygon><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>51694,6810794 51684.3926402022,6810696.45483899 51655.9397662578,6810602.65828382 51609.7348061559,6810516.2148835 51547.5533906012,6810440.44660942 51471.7851165215,6810378.26519386 51385.3417161981,6810332.06023375 51291.5451610273,6810303.6073598 51194.0000000224,6810294 51096.4548390167,6810303.60735979 51002.6582838434,6810332.06023373 50916.2148835159,6810378.26519383 50840.4466094305,6810440.44660938 50778.265193869,6810516.21488346 50732.0602337594,6810602.65828378 50703.6073598066,6810696.45483895 50694,6810793.99999996 50703.6073597891,6810891.54516096 50732.060233725,6810985.34171614 50778.2651938191,6811071.78511647 50840.446609367,6811147.55339055 50916.2148834412,6811209.73480612 51002.6582837604,6811255.93976623 51096.4548389286,6811284.39264019 51193.9999999327,6811294 51291.5451609393,6811284.39264022 51385.3417161151,6811255.93976628 51471.7851164468,6811209.73480619 51547.5533905377,6811147.55339065 51609.7348061061,6811071.78511658 51655.9397662234,6810985.34171626 51684.3926401846,6810891.54516109 51694,6810794.00000009 51694,6810794</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></Intersect></Filter>

Regards
Sture
Reply | Threaded
Open this post in threaded view
|

Re: WFS Intersect in Mapserver 5

Yewondwossen Assefa
Hi There,

  Is it possible to have a sample file, I can certainly give it a look.

Best Regards,

Sture Dingsøyr wrote:
> Hi all...
>
> Have anyone noticed a difference in WFS intersect from mapserver version 4.10.2 to 5.0.2?
>
> If i do the same WFS Request in 4.10.2 it is working fine. But in version 5.0.2 the WFS only returns "<gml:null>missing</gml:null>"
>
> VERSION: 5.0.2:
> http://mapserver.avinet.no/cgi-bin/mapserv502?map=/var/www/html/mapengine/adaptive/mapfile_wfs_internal.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=getfeature&TYPENAME=layer_74&FILTER=<Filter><Intersect><PropertyName>Geometry</PropertyName><gml:Polygon><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>51694,6810794 51684.3926402022,6810696.45483899 51655.9397662578,6810602.65828382 51609.7348061559,6810516.2148835 51547.5533906012,6810440.44660942 51471.7851165215,6810378.26519386 51385.3417161981,6810332.06023375 51291.5451610273,6810303.6073598 51194.0000000224,6810294 51096.4548390167,6810303.60735979 51002.6582838434,6810332.06023373 50916.2148835159,6810378.26519383 50840.4466094305,6810440.44660938 50778.265193869,6810516.21488346 50732.0602337594,6810602.65828378 50703.6073598066,6810696.45483895 50694,6810793.99999996 50703.6073597891,6810891.54516096 50732.060233725,6810985.34171614 50778.2651938191,6811071.78511647 50840.446609367,6811147.55339055 50916.2148834412,
6811209.73480612 51002.6582837604,6811255.93976623 51096.4548389286,6811284.39264019 51193.9999999327,6811294 51291.5451609393,6811284.39264022 51385.3417161151,6811255.93976628 51471.7851164468,6811209.73480619 51547.5533905377,6811147.55339065 51609.7348061061,6811071.78511658 51655.9397662234,6810985.34171626 51684.3926401846,6810891.54516109 51694,6810794.00000009 51694,6810794</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></Intersect></Filter>
>
> VERSION 4.10.2:
> http://mapserver.avinet.no/cgi-bin/mapserv4102?map=/var/www/html/mapengine/adaptive/mapfile_wfs_internal.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=getfeature&TYPENAME=layer_74&FILTER=<Filter><Intersect><PropertyName>Geometry</PropertyName><gml:Polygon><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>51694,6810794 51684.3926402022,6810696.45483899 51655.9397662578,6810602.65828382 51609.7348061559,6810516.2148835 51547.5533906012,6810440.44660942 51471.7851165215,6810378.26519386 51385.3417161981,6810332.06023375 51291.5451610273,6810303.6073598 51194.0000000224,6810294 51096.4548390167,6810303.60735979 51002.6582838434,6810332.06023373 50916.2148835159,6810378.26519383 50840.4466094305,6810440.44660938 50778.265193869,6810516.21488346 50732.0602337594,6810602.65828378 50703.6073598066,6810696.45483895 50694,6810793.99999996 50703.6073597891,6810891.54516096 50732.060233725,6810985.34171614 50778.2651938191,6811071.78511647 50840.446609367,6811147.55339055 50916.2148834412
,6811209.73480612 51002.6582837604,6811255.93976623 51096.4548389286,6811284.39264019 51193.9999999327,6811294 51291.5451609393,6811284.39264022 51385.3417161151,6811255.93976628 51471.7851164468,6811209.73480619 51547.5533905377,6811147.55339065 51609.7348061061,6811071.78511658 51655.9397662234,6810985.34171626 51684.3926401846,6810891.54516109 51694,6810794.00000009 51694,6810794</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></Intersect></Filter>
>
> Regards
> Sture


--
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst

Email: [hidden email]
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------