[Mapserver-users] Problem with WFS
Bart van den Eijnden
bartvde@xs4all.nl
Wed, 18 Feb 2004 18:59:44 +0100
Hi,
I've encountered the same problem.
My guess is that the ESRI GML parser expects the GML to be similar to what
the ESRI WFS produces, and this is a bit different from the Mapserver GML.
So my guess is that the ESRI GML parser is a bit too tight.
Some differences are:
-Mapserver uses <wfs:FeatureCollection> as the root element, ESRI uses
<Features>
-Mapserver uses by default MS_GEOMETRY for the "spatial attribute"
(although it can be changed), ESRI uses _SHAPE_
You could try using _SHAPE_ instead of MS_GEOMETRY in Mapserver WFS.
Anyway, it still is a guess because I don't know the ESRI internals.
BTW: is this the maximum debug/log level you can get in ArcMap?
Best regards,
Bart
On Wed, 18 Feb 2004 14:27:17 +0100, Florian Jurgeit
<Florian.Jurgeit@uibk.ac.at> wrote:
> When trying to load WFS data in ArcMAP the error "Unable to parse WFS
> data" occures.
>
> The WFS service is done by an UMN MapServer - the Output looks OK in the
> Browser.
>
> Getting the List of Layers works in ArcMAP - just opening one does not
> work (pasring error - Why ?)
>
> Greatings from Austria,
> Flo
>
> The WFS-Code looks that way (in the Browser): (only frist element ...)
> <?xml version="1.0" encoding="ISO-8859-15" ?>
> - <#> <wfs:FeatureCollection xmlns="*http://www.ttt.org/myns*"
> xmlns:myns="*http://www.ttt.org/myns*"
> xmlns:wfs="*http://www.opengis.net/wfs*"
> xmlns:gml="*http://www.opengis.net/gml*"
> xmlns:xsi="*http://www.w3.org/2001/XMLSchema-instance*"
> xsi:schemaLocation="*http://www.opengis.net/wfs
> http://ogc.dmsolutions.ca/wfs/1.0.0/WFS-basic.xsd/wfs/1.0.0/WFS-basic.xsd
> http://www.ttt.org/myns
> http://XXX.XXXX.ac.at/cgi-bin/mapserv?map=/home/cXXXXXX/public_html/ta_map/ta_wfs.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=DescribeFeatureType&TYPENAME=g1gem*">
> - <#> <gml:boundedBy>
> - <#> <gml:Box srsName="*EPSG:32632*">
> <gml:coordinates>550953.125000,137001.765625
> 817651.250000,287281.500000</gml:coordinates>
> </gml:Box>
> </gml:boundedBy>
> - <#> <gml:featureMember>
> - <#> <g1gem>
> <COUNT>1</COUNT>
> <ID>120307</ID>
> <TYP>gem</TYP>
> <LEVEL>800</LEVEL>
> <GEM_NAME>Kötschach-Mauthen</GEM_NAME>
> - <#> <MS_GEOMETRY>
> - <#> <gml:boundedBy>
> - <#> <gml:Box srsName="*EPSG:32632*">
> <gml:coordinates>797267.125000,168217.484375
> 811924.625000,182463.218750</gml:coordinates>
> </gml:Box>
> </gml:boundedBy>
> - <#> <gml:Polygon srsName="*EPSG:32632*">
> - <#> <gml:outerBoundaryIs>
> - <#> <gml:LinearRing>
> <gml:coordinates>805507.500000,180764.437500
> 807767.625000,180515.187500 808255.562500,180119.078125
> 808718.125000,179930.078125 808993.125000,179923.187500
> 809386.562500,180023.078125 809839.187500,179958.812500
> 810139.062500,180029.484375 810649.250000,180029.546875
> 810483.500000,179581.343750 809828.750000,178621.031250
> 809631.500000,178581.078125 809388.187500,178248.906250
> 809160.187500,178202.250000 809046.500000,178246.109375
> 808988.875000,178182.781250 809021.375000,177865.812500
> 809233.875000,177592.843750 809185.687500,177430.812500
> 809116.500000,177394.921875 809127.000000,177295.265625
> 809048.812500,177276.921875 808989.250000,177120.265625
> 809022.750000,177021.875000 808947.875000,176925.531250
> 809001.312500,176483.406250 808917.750000,176053.781250
> 808629.937500,175764.265625 809191.812500,175409.312500
> 810011.125000,175166.765625 810812.125000,175129.703125
> 811762.062500,174990.578125 811677.187500,174365.406250
> 811725.875000,174173.625000 811602.625000,173317.781250
> 811385.687500,172742.484375 811319.312500,172709.750000
> 811163.062500,171524.312500 811316.937500,170842.125000
> 811693.187500,170398.718750 811430.000000,169716.625000
> 811924.625000,168801.953125 811668.187500,168722.312500
> 811340.750000,168766.875000 811159.187500,168480.953125
> 810874.187500,168458.562500 810442.750000,168403.250000
> 810246.750000,168243.109375 810013.312500,168217.875000
> 809697.500000,168395.343750 808889.250000,168217.484375
> 808531.625000,168358.187500 808449.062500,168511.015625
> 808121.812500,168774.453125 808086.312500,168663.718750
> 807707.437500,168799.984375 807069.437500,168517.265625
> 806679.187500,168775.859375 806478.312500,168772.593750
> 806170.062500,168638.468750 805965.250000,168632.125000
> 805896.312500,168453.750000 805452.812500,168404.218750
> 805027.875000,168590.343750 804813.437500,168491.406250
> 804581.500000,168658.359375 804380.500000,168619.312500
> 804361.375000,168771.343750 804123.875000,168745.015625
> 803944.812500,168928.156250 803608.062500,168841.109375
> 803239.375000,169012.812500 803045.375000,168936.406250
> 803004.437500,168809.546875 802791.500000,168789.718750
> 802769.187500,168613.250000 802635.312500,168510.640625
> 801560.437500,169092.500000 801428.437500,169323.406250
> 801040.625000,169349.796875 800246.312500,169140.734375
> 799805.625000,169241.640625 799401.000000,168972.437500
> 798614.375000,169096.406250 798130.000000,168846.343750
> 797938.437500,168859.109375 797944.437500,169402.171875
> 798106.125000,170196.890625 798086.625000,170423.343750
> 797781.750000,170990.890625 798162.062500,172057.250000
> 797911.312500,172078.515625 797862.500000,172273.281250
> 797678.625000,172553.828125 797680.625000,172790.468750
> 797839.812500,173412.656250 798014.187500,173449.328125
> 798392.562500,173677.640625 798659.187500,174277.687500
> 798746.875000,174578.187500 798699.312500,175641.031250
> 798913.062500,176346.421875 798780.375000,176844.265625
> 798668.187500,176861.140625 798678.437500,177093.234375
> 798586.625000,177212.468750 798635.437500,177345.453125
> 798581.437500,177434.687500 798495.125000,177435.953125
> 798431.687500,177550.734375 798233.062500,177553.812500
> 798018.500000,177445.765625 797876.562500,177602.312500
> 797789.812500,177831.078125 797742.437500,177980.812500
> 797938.562500,178386.531250 798041.937500,178475.421875
> 798189.000000,178480.531250 798339.437500,178642.171875
> 798415.187500,178941.031250 798315.000000,179121.937500
> 798374.000000,179251.484375 798137.250000,179728.546875
> 798173.750000,179865.875000 797999.625000,180060.750000
> 797885.187500,180355.125000 797684.000000,180567.546875
> 797619.687500,180552.984375 797571.187500,180905.125000
> 797507.625000,180912.640625 797408.687500,181125.687500
> 797353.500000,181126.656250 797345.437500,181236.468750
> 797267.125000,181257.203125 797899.312500,182006.718750
> 797853.125000,182463.218750 798239.937500,182355.265625
> 798428.625000,182096.046875 798459.437500,181919.343750
> 799039.500000,181669.687500 799844.437500,181778.218750
> 801606.000000,182278.328125 802187.500000,182349.484375
> 802352.250000,182269.375000 802645.437500,182260.484375
> 802723.437500,182336.953125 803011.375000,182404.953125
> 803051.937500,182195.703125 803435.562500,182110.609375
> 803918.750000,181764.390625 804157.062500,181805.593750
> 804800.812500,181292.812500 804995.312500,181000.812500
> 805246.625000,180951.531250 805507.500000,180764.437500</gml:coordinates>
> </gml:LinearRing>
> </gml:outerBoundaryIs>
> </gml:Polygon>
> </MS_GEOMETRY>
> </g1gem>
> </gml:featureMember>
> - <#> <gml:featureMember>
> ....
> ....
>
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users@lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>
--
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users