[Mapserver-users] easy question

Hugo Nathaniel Rodrigues hugo at pbh.gov.br
Tue Jan 6 12:02:49 EST 2004


thanks eric, i tried it but didnt work, here is my map file:

NAME FIRSTMAP
SIZE 400 300
STATUS ON
EXTENT 598047.223047 781652.733880 619791.428883 812944.406142
UNITS METERS
IMAGECOLOR 255 255 255


WEB
  IMAGEPATH "/tmp/ms_tmp/"
  IMAGEURL "/ms_tmp/"

 LOG "/tmp/gmap.log"
END

LAYER
NAME testpoint
STATUS ON
TYPE POINT
CLASS
   COLOR 200 255 0
   SIZE 10
END
FEATURE
   POINTS 618579.06 806912.68 END
END
END
END

i received blank screen and not one point (or any green symbol), anyone
knows why?
Hugo Rodrigues
Analista/Consultor
SSSS - Prodabel
----- Original Message ----- 
From: "Eric Bridger" <eric at gomoos.org>
To: "Hugo Nathaniel Rodrigues" <hugo at pbh.gov.br>
Cc: "Mapserver List" <mapserver-users at lists.gis.umn.edu>
Sent: Monday, January 05, 2004 6:21 PM
Subject: Re: [Mapserver-users] easy question


>
> On Mon, 2004-01-05 at 14:23, Hugo Nathaniel Rodrigues wrote:
> > i have this coordinates:
> >
> > x 618579,06
> > y 806912,68
> > (meters)
> >
> > what i need to put in my map file (using gmap75.map example) to show a
point (or symbol or anything) in this point of the map?
> > this is my extent:
> >
> > EXTENT 598047.223047 781652.733880 619791.428883 812944.406142
> >
>
> You'll want to use the LAYER FEATURE tag in your map file.  This works
> for mapserver 3.6.
>
> LAYER
>   NAME "test_point"
>   STATUS DEFAULT
>   TYPE POINT
>   CLASS
>     COLOR 0 0 0
>     SIZE 10
>   END
>   FEATURE
>     POINTS 618579.06  806912.68 END
>   END
> END
>
>




More information about the mapserver-users mailing list