[UMN_MAPSERVER-USERS] Marker on the Map using Longitude and Latitude

Skweda O'Bomsawin sobomsawin at KASSINI.COM
Wed Nov 10 13:11:53 PST 2004


I think you are talking about grid concept (or graticule).  You can add a
grid layer to your map which will represent parallels and meridians.  To do
so, just put something like this in your map file:

 

  LAYER

     NAME "grid"

     TYPE LINE

     STATUS ON

     CLASS

       NAME "Graticule"

       COLOR 0 0 0

       LABEL

         COLOR  255 0 0

         FONT arial

         TYPE truetype

         SIZE 8

         POSITION AUTO                          

         PARTIALS FALSE

         BUFFER 5

         OUTLINECOLOR 255 255 255                                

       END 

    END

    PROJECTION

        "proj=latlong"

        "datum=NAD83"

        "ellps=GRS80"

    END

    GRID

      LABELFORMAT DDMM

      MAXARCS 10

      MAXINTERVAL 10

      MAXSUBDIVIDE 4

    END

  END # Layer

 

You can read about grid layer in MapServer documentation: HYPERLINK
"http://mapserver.gis.umn.edu/doc42/mapfile-reference.html#grid"http://mapse
rver.gis.umn.edu/doc42/mapfile-reference.html#grid

 

Cheers!

 

Skweda O'Bomsawin

 

-----Message d'origine-----
De : UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] De la
part de Todd Birkenholtz
Envoyé : 10 novembre 2004 15:47
À : MAPSERVER-USERS at LISTS.UMN.EDU
Objet : [UMN_MAPSERVER-USERS] Marker on the Map using Longitude and Latitude

 

I am quite new to the concept of GIS so I am not sure how to ask this
question or what to search for in the list archive.

 

The tutorial is quite good describing the basic concept of Mapserver but it
does not mention how to place a longitude and Latitude marker on a Map.

 

Can someone please point me in the right direction.

 

Thank You for your help.

 

Todd Birk

   _____  

Do you Yahoo!?
Check out the new Yahoo! Front Page. HYPERLINK
"http://www.yahoo.com"www.yahoo.com

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.784 / Virus Database: 530 - Release Date: 2004-10-27


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.784 / Virus Database: 530 - Release Date: 2004-10-27
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20041110/8d266d36/attachment.htm>


More information about the MapServer-users mailing list