Mapserver and Mapinfo

vincent.dacol vincent.dacol at LAPOSTE.NET
Fri May 27 03:49:32 EDT 2005


Hi Bart,

HEre is the reponse of my Mapserver WFS to a DescribeFeatureType:



<schema targetNamespace="http://www.ttt.org/myns"
elementFormDefault="qualified" version="0.1">
<import namespace="http://www.opengis.net/gml"
schemaLocation="http://schemas.cubewerx.com/schemas//gml/2.1.2/feature.xsd"/>
<element name="France_L2_WFS" type="myns:France_L2_WFS_Type"
substitutionGroup="gml:_Feature"/>
-
        <complexType name="France_L2_WFS_Type">
-
        <complexContent>
-
        <extension base="gml:AbstractFeatureType">
-
        <sequence>
<element ref="gml:polygonProperty" minOccurs="0"/>
<element name="NOM_DEP" type="string"/>
<element name="NUM_REG" type="string"/>
<element name="NOM_REG" type="string"/>
<element name="H3982" type="string"/>
<element name="F3982" type="string"/>
<element name="H5982" type="string"/>
<element name="F5982" type="string"/>
<element name="H6082" type="string"/>
<element name="F6082" type="string"/>
<element name="H7582" type="string"/>
<element name="F7582" type="string"/>
<element name="H1990" type="string"/>
<element name="F1990" type="string"/>
<element name="H3990" type="string"/>
<element name="F3990" type="string"/>
<element name="H5990" type="string"/>
<element name="F5990" type="string"/>
<element name="H6090" type="string"/>
<element name="F6090" type="string"/>
<element name="H7590" type="string"/>
<element name="F7590" type="string"/>
<element name="RESP90" type="string"/>
<element name="MIND90" type="string"/>
<element name="LCOL90" type="string"/>
<element name="FERM90" type="string"/>
<element name="LAUT90" type="string"/>
<element name="PROP90" type="string"/>
<element name="LOUE90" type="string"/>
<element name="LGRA90" type="string"/>
<element name="SECO90" type="string"/>
<element name="VACA90" type="string"/>
<element name="PTOT90" type="string"/>
<element name="AEXP90" type="string"/>
<element name="ACCE90" type="string"/>
<element name="CPIS90" type="string"/>
<element name="PRIN90" type="string"/>
<element name="EMPL90" type="string"/>
<element name="OUVR90" type="string"/>
<element name="RETR90" type="string"/>
<element name="ASAP90" type="string"/>
<element name="EE1590" type="string"/>
<element name="POPA90" type="string"/>
<element name="AGSP90" type="string"/>
<element name="INDU90" type="string"/>
<element name="BGCA90" type="string"/>
<element name="COMM90" type="string"/>
<element name="TRTE90" type="string"/>
<element name="AUSM90" type="string"/>
<element name="SENM90" type="string"/>
<element name="POPA290" type="string"/>
<element name="SALA90" type="string"/>
<element name="SAPR90" type="string"/>
<element name="NOSA90" type="string"/>
<element name="INSS90" type="string"/>
<element name="EMPS90" type="string"/>
<element name="CHOM90" type="string"/>
<element name="PA_PRIM_90" type="string"/>
<element name="PA_SEC_90" type="string"/>
<element name="PA_TER_90" type="string"/>
</sequence>
</extension>
</complexContent>
</complexType>
</schema>





I will try the location of the CubeWex shema, just after I
finish downloading the new ms4w ;)
Maybe it will help.

Thank for the help in the hard world of mapserver,

Vincent






> Hi Vincent,
>
> a) can you post the response of your Mapserver WFS to a
DescribeFeatureType request to the list? So we can see if it
might be a configuration issue.
>
> b) can you try using the Cubewerx site for the schemas,
there is a problem in the OGC schemas, in the WEB object's
METADATA section use:
>
> ows_schemas_location "http://schemas.cubewerx.com/schemas/"
>
> Best regards,
> Bart
>
> Bart van den Eijnden
> Syncera-ITSolutions
> Postbus 270
> 2600 AG  DELFT
>
> tel.nr.: 015-7512436
> email: BEN at Syncera-ITSolutions.nl
>
> >>> "vincent.dacol" <vincent.dacol at LAPOSTE.NET> 05/27/05
08:47am >>>
> Hi everybody, I'm back with a new problem ;)
>
> Now, I try to use Mapinfo to visualize WFS Mapserver server
> layers.
>
> The server work great with an mapserver client. But with
> Mapinfo, it's a little different.
>
> Mapinfo find the WFS Mapserver correctly. But when I click on
> a layer in the Mapinfo box, a warning appear. It says : "In
> answer to Describe Feature Type Request, the WFS server return
> invalide type component".
>
> A Describefeaturetype request with Mapserver client work fine.
>
> It seem that the XML document use not a valide XML schema.
>
> I have try to change the service in  "ows_schemas_location"
> meta, but not positive effect.
>
> I have try to with the mapfile of "ms_ogc_workshop" who is
> correct I think, but Mapinfo could'nt correctly use it too.
>
> If somebody have an idea, he could help me a lot lot lot ;)
>
> Vincent
>
>
> Accédez au courrier électronique de La Poste :
www.laposte.net ;
> 3615 LAPOSTENET (0,34€/mn) ; tél : 08 92 68 13 50 (0,34€/mn)
> 

Accédez au courrier électronique de La Poste : www.laposte.net ; 
3615 LAPOSTENET (0,34€/mn) ; tél : 08 92 68 13 50 (0,34€/mn)





More information about the mapserver-users mailing list