Mapserver & Oracle: WMS request works, but plain mode=map request doesn't
Bart van den Eijnden
bartvde at XS4ALL.NL
Wed Apr 13 10:49:31 PDT 2005
Hi,
Can you try defining STATUS DEFAULT at your LAYER?
Best regards,
Bart
On Thu, 14 Apr 2005 20:38:14 +0300, Jussi Rasinmäki
<jussi.rasinmaki at HELSINKI.FI> wrote:
> 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
>
--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
More information about the MapServer-users
mailing list