[Mapserver-users] msDrawMap(): Image handling error

Zamil Murji Zamil.Murji@divestco.com
Wed, 9 Jul 2003 09:52:06 -0600


Hi Anil,

I just finished getting an oracle spatial layer to work properly for me. When I was getting this error message it was due to the fact that NO SPATIAL INDEX was created on the shape column. Also in your DATA tag you must have USING SRID 8307 or whatever SRID you have. Read the WIKI for more help (http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?OracleSpatial)

Hope this helps.

Thanks
Zamil

-----Original Message-----
From: Anil Kumar Vemu [mailto:anilvemu@yahoo.com]
Sent: Tuesday, July 08, 2003 10:44 PM
To: mapserver-users@lists.gis.umn.edu
Subject: [Mapserver-users] msDrawMap(): Image handling error


Hi all,

I'm trying to access data from Oracle Spatial. The map file LAYER settings
are as follows.

LAYER
  NAME building
  TYPE POLYGON
  STATUS ON
  CONNECTIONTYPE oraclespatial
  CONNECTION "htil/ispat@NHUGHES"
  DATA "shape FROM building"
  CLASSITEM 'building'
  CLASS
    NAME building
    EXPRESSION 'Itasca'
    OUTLINECOLOR 128 128 128
    COLOR 225 225 128
  END
  METADATA
    WMS_TITLE "Landbase Buildings"
    WMS_AUTHOR "ANIL VEMU"        
  END
END

Once I click the Demo_init.html page, I'm getting the error,

msDrawMap(): Image handling error. Failed to draw layer named 'building'. 

I have gone through the archives, but couldn't get sufficient help. 
Thanks in advance.

Regards,
Anil Vemu.

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users

_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users