[Mapserver-users] Plotting Multiple Lat/Long points and setting extents

Lindsay C. Blanton lindsay at lcblanton.com
Sun May 30 19:29:14 EDT 2004

Stephen, Bart,

Many thanks for pointing me in the right direction.  I have a lot to

Warm regards,


Lindsay C. Blanton

> -----Original Message-----
> From: Stephen Woodbridge [mailto:woodbri at swoodbridge.com] 
> Sent: Sunday, May 30, 2004 8:09 AM
> To: Lindsay C. Blanton
> Cc: mapserver-users at lists.gis.umn.edu
> Subject: Re: [Mapserver-users] Plotting Multiple Lat/Long 
> points and setting extents
> Lindsay,
> This is a virtual data source that has been discussed many 
> times in the 
> archive and I think there may be an example on the wiki. Briefly, you 
> need to calculate the bounding box of the points or set the 
> default. You 
> might want to define a border distance like 1-2% of the 
> extents so the 
> point on the edges are more visible. Then you draw (and label? them) 
> using mapscript and your done.
> Here is one example of a virtual data source, it may not be 
> the best one 
> for your needs: 
> http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?VirtualSpatialDat

Here is a php Mapscript page:

-Steve W.

Lindsay C. Blanton wrote:

> Anyone have any suggestions or ideas on how to do this as listed 
> below?
> Surprisingly, no one responded... ;-(
> -Lb
> ----------------------------------------
> Lindsay C. Blanton
>     -----Original Message-----
>     From: Lindsay C. Blanton
>     Sent: Friday, May 28, 2004 8:29 AM
>     To: mapserver-users at lists.gis.umn.edu
>     Subject: [Mapserver-users] Plotting Multiple Lat/Long points and
>     setting extents
>     Everyone,
>     Say for instance I have a list of Lat/Long points that I want to
>     plot on a map that has existing SHP file layers.  I'd like to plot
>     each of these points, and have the extent of the map set such that
>     all of the points are displayed on the map, but set a default
>     if only one point is plotted.
>     Does anyone know how I can do this?
>     Lindsay
>     ----------------------------------------
>     Lindsay C. Blanton

More information about the mapserver-users mailing list