[Mapserver-users] Longitude and Latitude positions

Todd Birkenholtz TBirkenholtz at fbfs.com
Fri Jan 16 06:54:27 PST 2004


--0__=1QCQv95f2qLhXvqzLrSyKfu8Toal1HpL62Rg5q6p8OpfMtASzLg0sBSN
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline





I would like to create a map that I can feed it Longitude and Latitude positions
and place a marker at that location.

The positions will be feed from a MySql DB and color of the marker will be
changing depending on different conditions. At some point I would like to be
able to click on the marker to bring up a special webpage describing the
location.

I need some guidance getting started in the right direction.

Thanks your assistance.

Todd Birkenholtz



To: 
--0__=1QCQv95f2qLhXvqzLrSyKfu8Toal1HpL62Rg5q6p8OpfMtASzLg0sBSN
Content-type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-transfer-encoding: quoted-printable


=A0 =A0 =A0 =A0Todd Birkenholtz/FBFS at FBFS, mapserver-users at lists.gis.um=
n.edu
cc:

Subject: =A0 =A0 =A0 =A0Re: [Mapserver-users] Longitude and Latitude po=
sitions


[IMAGE]
Depending on whether you mean something like the graticule object or a
point label there are a couple of different answers.
As far as the perl example for the graticule object goes - there was a
discussion on the list a little while back regarding that but there is
no final on the results yet.
However, specifying the graticule information in the mapfile directly
seems to work fine.
But then if your thinking of displaying lat-long in the browser as the
mouse moves over the map that requires some form of client-side
scripting, ie. Javascipt.

Lowell

The following message was sent by "Todd Birkenholtz"
<TBirkenholtz at fbfs.com> on Thu, 15 Jan 2004 08:40:37 -0600.

>
>
>
>
> I am new to Mapserver and the concept of GIS in general. I have a
question that
> I can not seem to be in the docs if it is I guess I do not know the
jargon used
> to describe it.
>
> How do you mark Longitude and Latitude positions on a map?

[IMAGE]


(Embedded image moved to file: pic24495.pcx)
(See attached file: C.gif)
(See attached file: att1.eml)
=

--0__=1QCQv95f2qLhXvqzLrSyKfu8Toal1HpL62Rg5q6p8OpfMtASzLg0sBSN
Content-type: application/octet-stream; 
	name="pic24495.pcx"
Content-Disposition: attachment; filename="pic24495.pcx"
Content-transfer-encoding: base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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAA==

--0__=1QCQv95f2qLhXvqzLrSyKfu8Toal1HpL62Rg5q6p8OpfMtASzLg0sBSN
Content-type: image/gif; 
	name="C.gif"
Content-Disposition: attachment; filename="C.gif"
Content-transfer-encoding: base64
Content-Description: Compuserve GIF

R0lGODlhBQAfAIAAAAAAAAAAACwAAAAABQAfAEACIIJ75JWqyYwDD00vCXP1fohBG1CNYJUBnnmh
0JqdW+oNADsA

--0__=1QCQv95f2qLhXvqzLrSyKfu8Toal1HpL62Rg5q6p8OpfMtASzLg0sBSN
Content-type: application/octet-stream; 
	name="att1.eml"
Content-Disposition: attachment; filename="att1.eml"
Content-transfer-encoding: base64

UmVjZWl2ZWQ6IGZyb20gZmJzbXRwIChbMTkyLjE2OC4zNC4zNl0pIGJ5IG1haWwuZmJmcy5jb20g
K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