[Mapserver-users] Complications in using mapinfo tables in mapserver

Michael Roach burntmage at yahoo.com
Tue Dec 9 14:09:45 EST 2003


--0-935339478-1070996985=:22873
Content-Type: text/plain; charset=us-ascii

 I would try to double check the projection and units of the road and cities .TAB files. See if they would fall in with the country and inland waters map data. Also I would try to bring up the roads and cities in a different map file to test. Just to see what happens.
I have gotten in the habit of making all my maps the same projection before I load them. Simply because some people like making up there own projections.

Chiang Zeliang <chiang_8_3 at hotmail.com> wrote:
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/

_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users

---------------------------------
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing
--0-935339478-1070996985=:22873
Content-Type: text/html; charset=us-ascii

<DIV>&nbsp;I would try to double check the projection and units&nbsp;of the road and cities .TAB files. See if they would fall in with the country and inland waters map data. Also I would&nbsp;try to bring up the roads and cities in a different map file to test. Just to see what happens.</DIV>
<DIV>I have gotten in the habit of making all my maps the same projection before I load them. Simply because some people like making up there own projections.<BR><BR><B><I>Chiang Zeliang &lt;chiang_8_3 at hotmail.com&gt;</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Hi list,<BR><BR>I am doing a project on Malaysia - a country in southeast Asia, and I've got <BR>the country's map and the inland waters up but i could not get the roads and <BR>cities to be on the map. Can you guys help me out?<BR><BR><BR>From,<BR>Chiang<BR><BR>This the coding I have for my project.<BR><BR><BR>NAME Malaysia<BR>STATUS on<BR>SIZE 640 480<BR>EXTENT -706345.000 143165.000 1204775.000 1501370.000<BR>UNITS meters<BR>IMAGECOLOR 204 255 255<BR>FONTSET ../../Fonts/fonts.list<BR>DATAPATTERN "*.*"<BR>SHAPEPATH "C:\Inetpub\wwwroot\Data"<BR><BR>PROJECTION<BR>"proj=utm"<BR>"ellps=WGS84"<BR>"datum=WGS84"<BR>"zone=48"<BR>END<BR><BR>WEB<BR>TEMPLATE "vtrack.html"<BR>IMAGEPATH "\Inetpub\wwwroot\Tmp\"<BR>IMAGEURL "/Tmp/"<BR>EMPTY "/Empty.html"<BR>#ERROR "/Error.html"<BR>END<BR><BR>SCALEBAR<BR>COLOR 0 0 80<BR>IMAGECOLOR 204 204 204<BR>INTERVALS 3<BR>STATUS on<BR>STYLE 1<BR>TRANSPARENT
 on<BR>UNITS kilometers<BR>END<BR><BR>LEGEND<BR>STATUS ON<BR>KEYSIZE 18 15<BR>IMAGECOLOR 255 255 255<BR>LABEL<BR>FONT arialbd<BR>TYPE truetype<BR>SIZE 12<BR>COLOR 0 0 89<BR>POSITION ur<BR>END<BR>STATUS on<BR>TEMPLATE "../../Legend.html"<BR>END<BR><BR>LAYER<BR>NAME 'Asia'<BR>TYPE POLYGON<BR>STATUS DEFAULT<BR>CONNECTIONTYPE OGR<BR>CONNECTION "C:\Inetpub\wwwroot\Data\ASIA.TAB"<BR>STYLEITEM "AUTO"<BR>CLASS<BR>NAME 'Asia'<BR>END<BR>PROJECTION<BR>"AUTO"<BR>END<BR>END # Layer<BR><BR><BR>LAYER<BR>NAME 'States'<BR>TYPE POLYGON<BR>STATUS DEFAULT<BR>CONNECTIONTYPE OGR<BR>CONNECTION "C:\Inetpub\wwwroot\\Data\fortalisman\Msia_States.TAB"<BR>STYLEITEM "AUTO"<BR>MAXSCALE 5000000.0<BR>CLASS<BR>NAME 'States'<BR>END<BR>PROJECTION<BR>"AUTO"<BR>END<BR>END # Layer<BR><BR>LAYER<BR>NAME 'Railways'<BR>TYPE line<BR>STATUS DEFAULT<BR>CONNECTIONTYPE OGR<BR>CONNECTION "C:\Inetpub\wwwroot\Data\fortalisman\Msia_Railways.TAB"<BR>STYLEITEM "AUTO"<BR>MAXSCALE 5000000.0<BR>CLASS<BR>NAME
 'Railways'<BR>END<BR>PROJECTION<BR>"AUTO"<BR>END<BR>END # Layer<BR><BR>LAYER<BR>NAME 'Mainroads'<BR>TYPE line<BR>STATUS DEFAULT<BR>CONNECTIONTYPE OGR<BR>CONNECTION "C:\Inetpub\wwwroot\Data\fortalisman\Msia_Mainroads.TAB"<BR>STYLEITEM "AUTO"<BR>MAXSCALE 5000000.0<BR>CLASS<BR>NAME 'Mainroads'<BR>END<BR>PROJECTION<BR>"AUTO"<BR>END<BR>END # Layer<BR><BR>LAYER<BR>NAME 'Inlandwaters'<BR>TYPE polygon<BR>STATUS DEFAULT<BR>CONNECTIONTYPE OGR<BR>CONNECTION "C:\Inetpub\wwwroot\Data\fortalisman\Msia_Inlandwaters.TAB"<BR>STYLEITEM "AUTO"<BR>MAXSCALE 5000000.0<BR>CLASS<BR>NAME 'Inlandwaters'<BR>END<BR>PROJECTION<BR>"AUTO"<BR>END<BR>END # Layer<BR><BR>LAYER<BR>NAME 'Towntext'<BR>TYPE polygon<BR>STATUS DEFAULT<BR>CONNECTIONTYPE OGR<BR>CONNECTION "C:\Inetpub\wwwroot\Data\fortalisman\Msia_Towntext.TAB"<BR>STYLEITEM "AUTO"<BR>MAXSCALE 5000000.0<BR>CLASS<BR>NAME 'Towntext'<BR>END<BR>PROJECTION<BR>"AUTO"<BR>END<BR>END #
 Layer<BR><BR>_________________________________________________________________<BR>Are you in love? Find a date on MSN Personals http://match.msn.com.my/<BR><BR>_______________________________________________<BR>Mapserver-users mailing list<BR>Mapserver-users at lists.gis.umn.edu<BR>http://lists.gis.umn.edu/mailman/listinfo/mapserver-users</BLOCKQUOTE><p><hr SIZE=1>
Do you Yahoo!?<br>
<a href="http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=21260/*http://photos.yahoo.com">New Yahoo! Photos - easier uploading and sharing</a>
--0-935339478-1070996985=:22873--



More information about the mapserver-users mailing list