[Mapserver-users] Reference map to show bounding coordinates extent not map extent works in 3.5 but ont 3.6
John.Hockaday at ga.gov.au
John.Hockaday at ga.gov.au
Wed Jul 14 00:15:07 PDT 2004
Hi,
I have found the solution to my problem. Although I thought that the problem
was with my map file it turned out that it was a problem with the PNG that I
was using. I used mapserv35 to create another reference PNG and used that as
the IMAGE. Everything seems to be working now.
No wonder no-one could provide a solution. ;--)
Thanks.
John
> -----Original Message-----
> From: Hockaday John
> Sent: Thursday, 1 July 2004 3:08 PM
> To: mapserver-users at lists.gis.umn.edu
> Subject: [Mapserver-users] Reference map to show bounding
> coordinates extent not map extent works in 3.5 but ont 3.6
>
>
> Hi,
>
> A while ago this list, especially Steve Lime, helped me solve
> the problem of
> showing a reference map indicating the raw bounding
> coordinates and not the
> map extent coordinates. This works beautifully on mapserv3.5
> but now that I
> have to go to mapserv3.6 it doesn't seem to work.
>
> Can anyone help me with this please? Any help is much
> appreciated. Thanks.
>
> A typical call to mapserv3.5 uses the following URL:
>
> http://www-b.ga.gov.au/bin/mapserv35?map=%2Fpublic%2Fhttp%2Fww
> w%2Fdocs%2Fasdd
> %2Fref.map&mode=map&layer=box&map_box_feature=new&map_box_feat
> ure_points=109.
> %20-12.%20159.%20-12.%20159.%20-43.%20109.%20-43.%20109.%20-12
>
> If I replace mapserv35 with mapserv36 in the above URL I get
> a "Premature end
> of script headers: /public/http/www/cgi-bin/mapserv36" in the
> web server
> error file. The URL is:
>
> http://www-b.ga.gov.au/bin/mapserv36?map=%2Fpublic%2Fhttp%2Fww
> w%2Fdocs%2Fasdd
> %2Fref.map&mode=map&layer=box&map_box_feature=new&map_box_feat
> ure_points=109.
> %20-12.%20159.%20-12.%20159.%20-43.%20109.%20-43.%20109.%20-12.
>
> My map file looks like this:
>
> MAP
> NAME "REF"
> SIZE 200 132
> UNITS dd
> EXTENT 44.000000 -90.000000 180.000000 0.000000
> STATUS OFF
>
> REFERENCE
> SIZE 200 132
> EXTENT 44.000000 -90.000000 180.000000 0.000000
> IMAGE aus200x132.png
> STATUS OFF
> END
>
> LAYER
> NAME background
> TYPE RASTER
> DATA aus200x132.png
> STATUS DEFAULT
> TRANSFORM OFF
> END
>
> LAYER
> NAME box
> STATUS OFF
> # TRANSPARENCY 40
> # TYPE LINE
> TYPE line
> CLASS
> COLOR 255 0 0
> OUTLINECOLOR 0 0 0
> OVERLAYSYMBOL 'circle'
> OVERLAYSIZE 8
> END
> END
>
> LAYER
> NAME pnt
> STATUS OFF
> TYPE POINT
> CLASS
> SYMBOL "star"
> COLOR 255 0 0
> OUTLINECOLOR 0 0 0
> SIZE 15
> END
> END
>
> SYMBOL
> NAME 'star'
> TYPE VECTOR
> FILLED TRUE
> POINTS
> 0 .375
> .35 .375
> .5 0
> .65 .375
> 1 .375
> .75 .625
> .875 1
> .5 .75
> .125 1
> .25 .625
> END
> END
>
> SYMBOL
> NAME 'circle'
> TYPE ELLIPSE
> FILLED FALSE
> POINTS
> 1 1
> END
> END
> END
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>
More information about the MapServer-users
mailing list