[mapserver-users] ArcSDE 9.3 Raster Mapfile problem
Jeff McKenna
jmckenna at gatewaygeomatics.com
Mon Dec 22 06:20:05 PST 2008
marcusvcs wrote:
> I'm trying to view a raster which is in ArcSDE 9.3 with the mapfile below:
>
> MAP
> NAME "RGB_2004"
> #EXTENT -76.551793 -35.926191 -29.02357 8.997746
> #EXTENT 503299.214 8027516.529 513375.214 8037593.529
> EXTENT 8156335.197 450704.114 8202932.697 511209.614
> FONTSET "c:\ms4w\apache\htdocs\i3geo/symbols/fontes.txt"
> #-- retângulo envolvente geral da aplicação
> IMAGETYPE PNG #-- output image type
> SIZE 400 300 #-- largura x altura
> STATUS ON
> CONFIG "MS_ERRORFILE" "C:/ms4w/tmp/ms_error.txt"
> DEBUG 5
> UNITS DD #-- unidade do sistema de coordenadas de saída
>
> WEB
> METADATA #-- definições para habilitar o modo servidor WMS
> "wms_title" "MapServer" #-- título do servidor
> "wms_onlineresource"
> "http://localhost/cgi-bin/mapserv.exe?map=C:/mapas/municipios.map&"
> #-- url de acesso - a url que será colado em clients
> "wms_srs" "EPSG:29182" #-- sistema de coordenadas de saída = WGS84
> END
> END
>
> PROJECTION
> "init=epsg:29182" #-- sistema de coordenadas de saída = WGS84
> END
>
> LAYER
> NAME "RGB_2004"
> TYPE RASTER
> CONNECTION "10.234.85.59,port:5151,sde,user,pass"
> CONNECTIONTYPE PLUGIN
> PLUGIN "C:/ms4w/Apache/specialplugins/msplugin_sde_92.dll"
> DATA "SDE:10.234.85.59,5151,sde,user,pass,sde.user.RGB_2004,footprint"
> STATUS DEFAULT
> METADATA
> "wms_title" "RGB_2004"
> "wms_srs" "EPSG:29182"
> END
> END
> END
>
> In the log generated, the following message appears:
>
> msDrawRaster(): Unable to access file.
> (SDE:10.234.85.59,5151,sde,user,pass,sde.user.RGB_2004,footprint)
>
> I'm using MS4W 2.2.7.
> All other types of data worked very well.
> Does anyone know what is wrong with my mapfile?
>
A quick list search gives this thread which should help:
http://www.nabble.com/GDAL-and-SDE-raster-to20312128.html#a20312128
-jeff
--
Jeff McKenna
FOSS4G Consulting and Training Services
http://www.gatewaygeomatics.com/
More information about the MapServer-users
mailing list