Mapserver & Oracle: WMS request works, but plain mode=map request doesn't
Jussi Rasinmäki
jussi.rasinmaki at HELSINKI.FI
Thu Apr 14 10:38:14 PDT 2005
Hi all,
I've got a map file that uses Oracle as data source (see below)
The following request produces a blank page:
http://localhost/cgi-bin/mapserv.exe?map=c:/ms4w/Apache/htdocs/testi/testi2.map&mode=map
but this one
http://localhost/cgi-bin/mapserv.exe?map=c:/ms4w/Apache/htdocs/testi/testi2.map&request=map&layers=maa&bbox=2499999,6849999,2530000,6870000&version=1.1.0&format=png&width=500&height=500
returns what it is supposed to.
Why?
Cheers,
Jussi Rasinmäki
==============
MAP
IMAGETYPE PNG
EXTENT 2499999 6849999 2530000 6870000
SIZE 400 300
IMAGECOLOR 255 255 255
PROJECTION
"init=epsg:2392"
END
# Start of LAYER DEFINITIONS ---------------------------------------------
LAYER
NAME maa
TYPE POLYGON
CONNECTIONTYPE ORACLESPATIAL
CONNECTION "usr/psw at sid"
DATA "GEOLOC FROM MAA USING SRID 294913"
DUMP TRUE
CLASS
OUTLINECOLOR 0 0 0
COLOR 0 128 128
END
PROJECTION
"init=epsg:2392"
END
END # Maa polygon layer ends here
# End of LAYER DEFINITIONS -------------------------------
END # end of map file/object
More information about the MapServer-users
mailing list