[Mapserver-users] adding input from ascii text file
Tyler Mitchell
tjmitchell at riverside.bc.ca
Wed Jun 23 08:49:41 PDT 2004
The simplest way to get this into MapServer is to encode the coordinates
into the map file using "inline features".
Basically you define a layer in your map file and instead of loading data
from a database or shapefile, you manually put the coordinates in using a
particular notation.
Here's an example:
LAYER
NAME vince_points
TYPE POINT
STATUS DEFAULT
FEATURE
POINTS
-93.6848 41.9643
END
TEXT "R701"
END
FEATURE
POINTS
-93.6407 41.9542
END
TEXT "R702"
END
CLASS
COLOR 0 0 250
SYMBOL 'circle'
SIZE 6
END
END
>
> Site Latitude Longitude Easting Northing
> R701 41.9643` -93.6848 443253 4646040
> R702 41.9542 -93.6407 446901 4644894
>
More information about the MapServer-users
mailing list