Hi Everyboody,

 Very........ Thanks..............  
 
  I got the Map image on the browser.
 
  Hi Erik i done the same manner you described, Its working.

  For the beginners like me  Map file and Query  is given below, which i got the map image from Oracle Spatial

  MAP
                DEBUG ON
                STATUS ON
                SIZE 800 600
                UNITS dd
                IMAGECOLOR 255 255 255
               
                PROJECTION
                        "proj=latlong"
                        "ellps=WGS84"
                END
               
                EXTENT -180 -45 180 45
               
                LAYER
                        DEBUG ON
                        PROJECTION
                                "proj=latlong"
                                "ellps=WGS84"
                        END
                       
                        NAME "CountryMap"
                        TYPE POLYGON
                       
                        CONNECTIONTYPE oraclespatial
                        CONNECTION "world/[EMAIL PROTECTED]"
                        DATA "shape FROM country USING SRID 8307"
                       
                        CLASS
                                NAME "Country_Class"
                                STYLE
                                        COLOR 250 250 0
                                        OUTLINECOLOR 32 32 32
                                END
                        END
                END
        END

 Query is

 http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/sdocountry/sdocountry.map&layers=CountryMap&mode=map

If any suggestion and imporvement in the Map file please Reply I am waiting...

Once again Thanks to all

Regards,
Prema Selvam.


View this message in context: Re: Problem in Oracle Spatial Connection - Empty Image
Sent from the Mapserver - User forum at Nabble.com.

Reply via email to