[Mapserver-users] Complications in using mapinfo tables in mapserver
Chiang Zeliang
chiang_8_3 at hotmail.com
Mon Dec 8 22:52:19 PST 2003
Hi list,
I am doing a project on Malaysia - a country in southeast Asia, and I've got
the country's map and the inland waters up but i could not get the roads and
cities to be on the map. Can you guys help me out?
From,
Chiang
This the coding I have for my project.
NAME Malaysia
STATUS on
SIZE 640 480
EXTENT -706345.000 143165.000 1204775.000 1501370.000
UNITS meters
IMAGECOLOR 204 255 255
FONTSET ../../Fonts/fonts.list
DATAPATTERN "*.*"
SHAPEPATH "C:\Inetpub\wwwroot\Data"
PROJECTION
"proj=utm"
"ellps=WGS84"
"datum=WGS84"
"zone=48"
END
WEB
TEMPLATE "vtrack.html"
IMAGEPATH "\Inetpub\wwwroot\Tmp\"
IMAGEURL "/Tmp/"
EMPTY "/Empty.html"
#ERROR "/Error.html"
END
SCALEBAR
COLOR 0 0 80
IMAGECOLOR 204 204 204
INTERVALS 3
STATUS on
STYLE 1
TRANSPARENT on
UNITS kilometers
END
LEGEND
STATUS ON
KEYSIZE 18 15
IMAGECOLOR 255 255 255
LABEL
FONT arialbd
TYPE truetype
SIZE 12
COLOR 0 0 89
POSITION ur
END
STATUS on
TEMPLATE "../../Legend.html"
END
LAYER
NAME 'Asia'
TYPE POLYGON
STATUS DEFAULT
CONNECTIONTYPE OGR
CONNECTION "C:\Inetpub\wwwroot\Data\ASIA.TAB"
STYLEITEM "AUTO"
CLASS
NAME 'Asia'
END
PROJECTION
"AUTO"
END
END # Layer
LAYER
NAME 'States'
TYPE POLYGON
STATUS DEFAULT
CONNECTIONTYPE OGR
CONNECTION "C:\Inetpub\wwwroot\\Data\fortalisman\Msia_States.TAB"
STYLEITEM "AUTO"
MAXSCALE 5000000.0
CLASS
NAME 'States'
END
PROJECTION
"AUTO"
END
END # Layer
LAYER
NAME 'Railways'
TYPE line
STATUS DEFAULT
CONNECTIONTYPE OGR
CONNECTION "C:\Inetpub\wwwroot\Data\fortalisman\Msia_Railways.TAB"
STYLEITEM "AUTO"
MAXSCALE 5000000.0
CLASS
NAME 'Railways'
END
PROJECTION
"AUTO"
END
END # Layer
LAYER
NAME 'Mainroads'
TYPE line
STATUS DEFAULT
CONNECTIONTYPE OGR
CONNECTION "C:\Inetpub\wwwroot\Data\fortalisman\Msia_Mainroads.TAB"
STYLEITEM "AUTO"
MAXSCALE 5000000.0
CLASS
NAME 'Mainroads'
END
PROJECTION
"AUTO"
END
END # Layer
LAYER
NAME 'Inlandwaters'
TYPE polygon
STATUS DEFAULT
CONNECTIONTYPE OGR
CONNECTION "C:\Inetpub\wwwroot\Data\fortalisman\Msia_Inlandwaters.TAB"
STYLEITEM "AUTO"
MAXSCALE 5000000.0
CLASS
NAME 'Inlandwaters'
END
PROJECTION
"AUTO"
END
END # Layer
LAYER
NAME 'Towntext'
TYPE polygon
STATUS DEFAULT
CONNECTIONTYPE OGR
CONNECTION "C:\Inetpub\wwwroot\Data\fortalisman\Msia_Towntext.TAB"
STYLEITEM "AUTO"
MAXSCALE 5000000.0
CLASS
NAME 'Towntext'
END
PROJECTION
"AUTO"
END
END # Layer
_________________________________________________________________
Are you in love? Find a date on MSN Personals http://match.msn.com.my/
More information about the MapServer-users
mailing list