Hi Everybody,
<br>
<br> I am new to the MapServer, my actual problem is in establishing connection between MapServer and Oracle Spatial.
<br>
<br> When i pass the query(shown below) the empty image is displayed in the browser without any map
<br><i><a href="http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/sdocountry/sdocountry.map&layers=country&mode=map" target="_top" rel="nofollow">http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/sdocountry/sdocountry.map&layers=country&mode=map</a></i>
<br>
<br> I Created .map file (shown below) with the Oracle Spatial Connection.
<br>
<br> MAP
<br> STATUS ON
<br> SIZE 800 600
<br> UNITS dd
<br> IMAGECOLOR 255 255 255
<br>
<br> PROJECTION
<br> "proj=latlong"
<br> "ellps=WGS84"
<br> END
<br>
<br> EXTENT -180 -45 180 45
<br>
<br> LAYER
<br> PROJECTION
<br> "proj=latlong"
<br> "ellps=WGS84"
<br> END
<br>
<br> NAME "CountryMap"
<br> TYPE POLYGON
<br>
<br> CONNECTIONTYPE oraclespatial
<br> CONNECTION "world/land@orcl"
<br> DATA "shape FROM country USING SRID 8307"
<br>
<br> CLASS
<br> NAME "Country_Class"
<br> STYLE
<br> COLOR 250 250 0
<br> OUTLINECOLOR 32 32 32
<br> END
<br> END
<br> END
<br> END
<br>
<br> And Set the environment variable in the apache/conf/httpd.conf file as
<br> SetEnv ORACLE_BASE "d:/oracle/product/10.2.0"
<br> SetEnv ORACLE_HOME "d:/oracle/product/10.2.0/db_1"
<br> SetEnv ORACLE_SID "orcl"
<br> SetEnv TNS_ADMIN "d:/oracle/product/10.2.0/db_1/network/admin"
<br>
<br>This is the my whole Sample code and configuration, I dont know why the map image is not generating.
<br>I am not receving any error message.
<br>
<br>MapServer for windows (ms4w) binaries is downloaded from "maptools.org"
<br>
<br>System configuration
<br> Windows 2000 Advanced Server
<br> Oracle 10g
<br> MapServer 4.6.1
<br> Apache/2.0.55 (Win32)
<br>
<br>I am waiting for the some solution, from you to over come this problem.
<br>
<br>Thanks & Regards,
<br>Prema Selvam.
<br><hr align="left" width="300">
View this message in context: <a href="http://www.nabble.com/Problem-in-Oracle-Spatial-Connection---Empty-Image-t888093.html#a2301886">Problem in Oracle Spatial Connection - Empty Image</a><br>
Sent from the <a href="http://www.nabble.com/Mapserver---User-f1215.html">Mapserver - User</a> forum at Nabble.com.