[mapserver-users] C# connectiontype issue

Murty Maganti MMaganti at oriongis.com
Mon Apr 27 15:41:11 EDT 2009


Hi

 

I have a raster layer in map file. When I load the map file using C# map
script, at run time it shows layerObj.connectiontype as
'MS_CONNECTION_TYPE.MS_SHAPEFILE' though it is raster image. Is there
any syntax error with my map file definition.  I need to know exactly
whether it is a raster or vector layer in my application. Some logic in
my application needs to handle them differently.

 

This is the entry in map file

 

  LAYER

    DATA "14m_jpg_24bit.jpg"

    NAME " 14m Jpg 24bit"

    STATUS ON

    TYPE RASTER

    UNITS METERS

  END

 

Thanks

Murty

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090427/54d5171b/attachment.html


More information about the mapserver-users mailing list