gps coordinates
SUBSCRIBE MAPSERVER-USERS Nuri
mapserver at HOTMAIL.COM
Thu Jul 7 00:35:38 PDT 2005
HI,
I'm new in the mapserver world.
I created my own map, in Windows, that it runs perfectly. Now I need to
insert several symbols over the map in the exact place given by a database
that contains gps coordinates.
Someone could explain how can I do it? How can I obtain the exact point in
the map?
My current .map is:
MAP
IMAGETYPE PNG
EXTENT 0.000000 -205.000000 300.000000 0.000000
SIZE 600 410
SHAPEPATH "data"
IMAGECOLOR 255 180 0
FONTSET "fonts/fonts.list"
#PROJECTION
# "proj=laea"
# "ellps=clrk66"
# "lat_0=45"
# "lon_0=-100"
#
# Alternatively, you can specify an EPSG code.
# "init=epsg:2163"
#
#END
# Start of LAYER DEFINITIONS --------------------------------------------
-
LAYER # Capa de raster
NAME mapafig
DATA "raster/figueres.tif"
STATUS DEFAULT
TYPE RASTER
PROCESSING "BANDS=1"
#OFFSITE 71 74 65 #Color que ha de ser transparent
#PROJECTION
# "init=epsg:4326"
#END
END # Fi capa de raster
LAYER
NAME simbols
GROUP grup
STATUS DEFAULT
DATA mapa
TYPE ANNOTATION
LABELITEM "SIMB"
CLASSITEM "C"
CLASS
EXPRESSION "2"
STYLE
COLOR 0 0 0 # dummy color
SYMBOL 'symbols/prova.gif'
END
LABEL
MINFEATURESIZE 20
MINDISTANCE 50
POSITION CC
SIZE TINY
COLOR 255 255 255
END
END
PROJECTION
"init=epsg:4326"
END
END
# End of LAYER DEFINITIONS -------------------------------
END # end of map file
More information about the MapServer-users
mailing list