WFS map file

Bart van den Eijnden bartvde at XS4ALL.NL
Fri Nov 5 10:29:52 PST 2004


Hi,

AFAIK the Itasca demo uses the native Mapserver interface (mode=map etc.),
and is not a WFS client (nor WMS client).

I don't see anything wrong with your MAP file at first sight, but maybe
someone else does ... are there any error messages in an error log?

Best regards,
Bart

On Fri, 5 Nov 2004 12:21:04 -0600, N Zhou <zhou_naijun at HOTMAIL.COM> wrote:

> I'm using the Itasca demo provided as a demo of mapserver.
> I can get layer names defined in the WFS map file, but the layer is not
> showed in a map window when I click a layer name. This worked
> in the WMS map file.
>
> Thank you!
>
> N. Zhou
>>
>> could you explain what you mean exactly with the following sentence:
>>
>> "However, only the layer name can be showed as WFS not the real layer
>> map."
>>
>> ?
>>
>> And which requests are you trying against your WFS, or how are you
>> trying
>> to visualize your data?
>>
>> Best regards,
>> Bart
>>
>> On Fri, 5 Nov 2004 11:41:32 -0600, N Zhou <zhou_naijun at HOTMAIL.COM>
>> wrote:
>>
>>> Hi,
>>>
>>> I'm new to the WFS. I have a working WMS map file, and I followed the
>>> HOW
>>> To
>>> instruction to modify the WMS map file to WFS. However, only the layer
>>> name
>>> can be showed as WFS not the real layer map. Is this because of map
>>> projection: the data are in a projection currently not supported in
>>> EPSG?
>>> Or
>>> I have errors in the map file?
>>>
>>> Thank you very much!
>>>
>>> My map file is:
>>>
>>> Map
>>>   NAME "MyServices"
>>>   STATUS ON
>>>   EXTENT 177185 124886 891620 939320
>>>   SIZE 400 400
>>>   UNITS METERS
>>>
>>>   #
>>>   # Start of web interface definition
>>>   #
>>>   WEB
>>>     MINSCALE 1
>>>     MAXSCALE 10000000
>>>
>>>     METADATA
>>>       "wfs_title"  "DNRServices"
>>>       "wfs_srs"  "EPSG:90000"
>>>       "wfs_onlineresource"
>>> "http://myhost/cgi-bin/mapserv?map=thismapfile.map"
>>>     END
>>>   END
>>>
>>>   PROJECTION
>>>     "init=epsg:90000"
>>>   END
>>>
>>> #
>>> # Start of layer definitions
>>> #
>>>      LAYER
>>>      NAME "water"
>>>      STATUS ON
>>>      DATA "hydppoly"
>>>      TYPE  POLYGON
>>>           CLASSITEM 'HYDNW92M_'
>>>           MINSCALE 400000
>>>           PROJECTION
>>>             "init=epsg:90000"
>>>      END
>>>      DUMP TRUE
>>>      METADATA
>>>        "wfs_title"  "Open Water"
>>>        "wfs_srs"  "EPSG:90000"
>>>      END
>>>      CLASS
>>>         EXPRESSION /./
>>>         STYLE
>>>            COLOR -1 -1 -1
>>>            OUTLINECOLOR 0 0 255
>>>            SIZE 1
>>>            SYMBOL 0
>>>         END
>>>      END
>>>   END
>>> END
>>>
>>>
>>> N. Zhou
>>>
>>
>>
>>
>> --
>> Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
>



--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/



More information about the MapServer-users mailing list