WMS and C# Mapscript

Tamas Szekeres szekerest at GMAIL.COM
Fri Sep 22 09:04:09 PDT 2006


Hi,

Did you mean that the same mapfile works with the mapserv application,
but not works when loading into a mapObj using mapscript?

Tamas




2006/9/22, Todd Fagin <tfagin at coordinatesolutions.com>:
>
>
>
>
> Greetings list,
>
>
>
> We are using the following to access data from a WMS.  It works fine in a
> straight map file, but does not work with a C# mapscript. The error message
> simply states "System.ApplicationException was unhandled. Message="No such
> file or directory". Source="mapscript_csharp""
>
>
>
> Any suggestions would be greatly appreciated.
>
>
>
>       LAYER
>
>             NAME "wms_2003"
>
>             GROUP "Imagery"
>
>             TYPE RASTER
>
>             STATUS ON
>
>             CONNECTION
> "http://maps.scigis.com/wmsconnector/com.esri.wms.Esrimap/WMS_COLOR_DOQQ?"
>
>             CONNECTIONTYPE WMS
>
>             TRANSPARENCY 60
>
>             METADATA
>
>                   "wms_srs" "EPSG:102003"
>
>                   "wms_name" "1"
>
>                   "wms_server_version" "1.1.1"
>
>                   "wms_format" "image/png"
>
>                   "wms_title" "2003 Aerial Photos"
>
>                   "NoID" "T"
>
>                   legend_order "4"
>
>             END
>
>       END
>
>
>
>
>
> Todd Fagin
>
>
>
> Coordinate Solutions, Inc.
>
>
> 501 N.E. 15th St.
>
>
> Oklahoma City, OK 73104
>
>
> 405.246.9396 (Voice)
>
>
> 405.227.0781 (Fax)



More information about the MapServer-users mailing list