Re: [mapserver-users] C# connectiontype issue

2009-04-28 Thread Frank Warmerdam
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

[mapserver-users] C# connectiontype issue

2009-04-27 Thread Murty Maganti
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

Re: [mapserver-users] C# connectiontype issue

2009-04-27 Thread Steve Lime
Nothing wrong with the layer def. Why not just look at the layer type first in your application. Rasters will always have TYPE RASTER. Everything else, is vector I'm pretty sure. Steve On 4/27/2009 at 2:41 PM, in message b7b039d0a59b9b42a821bb623fe47e1c01af2...@vmexc01.oriongis.com, Murty

RE: [mapserver-users] C# connectiontype issue

2009-04-27 Thread Murty Maganti
, 2009 4:41 PM To: mapserver-users@lists.osgeo.org; Murty Maganti Subject: Re: [mapserver-users] C# connectiontype issue Nothing wrong with the layer def. Why not just look at the layer type first in your application. Rasters will always have TYPE RASTER. Everything else, is vector I'm pretty sure

RE: [mapserver-users] C# connectiontype issue

2009-04-27 Thread Venkat Rao Tammineni
@lists.osgeo.org Subject: [mapserver-users] C# connectiontype issue 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