AW: [UMN_MAPSERVER-USERS] wfs server and encoding

Arnd Wippermann arndw at WTAL.DE
Fri Oct 26 06:00:35 PDT 2007


Hello Eric,

In the online example there are attributes Grönland, Südamerika and
Großbritannien. Coming from an SQLite db, they will convert to utf-8, but
MapServer delivers iso-8859-1 and so they are displayed wrong.

In an other local example I use an ACCESS mdb for the geometry. There are
many äs, ös and üs. The geometry as WFS are displayed, but the attributes
show many questionmarks.

To get this right, I think I have found a solution.

Mit freundlichen Grüssen

Arnd Wippermann
http://gis.ibbeck.de/ginfo/



 

-----Ursprüngliche Nachricht-----
Von: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] Im
Auftrag von Eric Lemoine
Gesendet: Freitag, 26. Oktober 2007 06:43
An: MAPSERVER-USERS at LISTS.UMN.EDU
Betreff: Re: [UMN_MAPSERVER-USERS] wfs server and encoding

Hi Arnd,

Are there accentuaded letters in your GML file? Could you post it so that I
can try it with my setup?

Thanks,

--
Eric

On 10/25/07, Arnd Wippermann <arndw at wtal.de> wrote:
> Hello Eric,
>
> That's wrong. Loading WFS-layers from MapServer with OpenLayers works 
> with FF and IE.
>
> (OpenLayers 2.5, MapServer 4.10)
>
> http://gis.ibbeck.de/ginfo/apps/OLExamples/SphericalMercator/OL_900913
> _frame
> s.html
>
> This is the head part of the WFS-response get with Firebug:
>
> <?xml version='1.0' encoding="ISO-8859-1" ?> <wfs:FeatureCollection
>    xmlns:ms="http://mapserver.gis.umn.edu/mapserver"
>    xmlns:wfs="http://www.opengis.net/wfs"
>    xmlns:gml="http://www.opengis.net/gml"
>    xmlns:ogc="http://www.opengis.net/ogc"
>    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>    xsi:schemaLocation="http://www.opengis.net/wfs
> http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd
>                        http://mapserver.gis.umn.edu/mapserver
> http://gis.ibbeck.de/ginfo/apps/OLExamples
> /SphericalMercator/!SphericalMercator.asp&Service=WFS?SERVICE=WFS&
> amp;VE RSION=1.0.0&REQUEST=DescribeFeatureType
> &TYPENAME=POLYGONS&OUTPUTFORMAT=XMLSCHEMA">
>       <gml:boundedBy>
>         <gml:Box srsName="EPSG:900913"> ...
>
> Mit freundlichen Grüssen
>
> Arnd Wippermann
> http://gis.ibbeck.de/ginfo/



More information about the MapServer-users mailing list