[Mapserver-users] Plotting Multiple Lat/Long points and setting extents
Bart van den Eijnden
bartvde at xs4all.nl
Sun May 30 06:08:42 PDT 2004
Hi Lindsay,
just plotting the points, you can do this e.g. with the OGR
VirtualSpatialData, see:
http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?VirtualSpatialData
To go the right extent, I assume your list of points is gonna be dynamic,
you could just do a SQL statement in PHP to determine min(x), max(x),
min(y) and max(y) and use PHP/Mapscript to set the extent of your MAP
object.
Best regards,
Bart
On Sun, 30 May 2004 07:35:37 -0500, Lindsay C. Blanton
<lindsay at lcblanton.com> 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 extent 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