[Mapserver-users] projection problems

=?gb2312?q?guoloi=20dou?= douguoli at yahoo.com.cn
Fri Jul 2 09:53:42 EDT 2004


--0-2099893813-1088776422=:67734
Content-Type: text/plain; charset=gb2312
Content-Transfer-Encoding: 8bit

Thank you for your reply. Actually I found the your way in the maillist archive. Anyway, thank you. 
 
By the way, I heard that .tab contains color information. How can use the color defined in the .tab file without stating in the mapfile? Or is there some equivalent ways of doing that?
 
Regards,
Zhengda Lu

Tyler Mitchell <tjmitchell at riverside.bc.ca> wrote:
Were you able to get it working without using any projection settings? 
That's what I would try first.

[It also looks like you've had some trouble getting the tab file to load, 
you may want to reference this document for some more discussion/examples 
on using them. 
http://www.maptools.org/dl_scripts/redirector.php?path=omsug/osgis2004/MsTutorialGuide.doc]

Here's the stripped down map file I would try:

> Layer name: TopographicArea_area
> Extent: (350137.990000, 168102.400000) - (356541.550000, 174643.090000)

> MAP
> IMAGETYPE PNG
> EXTENT 350137.990000 168102.400000 356541.550000 174643.090000
> SIZE 1000 1000
> IMAGECOLOR 255 255 255
> WEB
> IMAGEPATH "/Proj/img/"
> IMAGEURL "/img/"
> END
> # Start of LAYER DEFINITIONS 
---------------------------------------------
> LAYER # States polygon layer begins here
> NAME TopographicArea_area
> DATA TopographicArea_area
> STATUS ON
> TYPE POLYGON
> CLASS
> COLOR 180 180 0
> OUTLINECOLOR 32 32 32
> END
> END # States polygon layer ends here
> # End of LAYER DEFINITIONS -------------------------------
> END # end of map file/object


---------------------------------
Do You Yahoo!?
100Õ×ÓÊÏä¹»²»¹»Óã¿ÑÅ»¢µçÓÊ×ÔÖúÀ©ÈÝ£¡
--0-2099893813-1088776422=:67734
Content-Type: text/html; charset=gb2312
Content-Transfer-Encoding: 8bit

<DIV>Thank you for your reply. Actually I found the your way in the maillist archive. Anyway, thank you. </DIV>
<DIV>&nbsp;</DIV>
<DIV>By the way, I heard that .tab contains color information. How can use the color defined in the .tab file without stating in the mapfile? Or is there some equivalent ways of doing that?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Regards,</DIV>
<DIV>Zhengda Lu<BR><BR><B><I>Tyler Mitchell &lt;tjmitchell at riverside.bc.ca&gt;</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Were you able to get it working without using any projection settings? <BR>That's what I would try first.<BR><BR>[It also looks like you've had some trouble getting the tab file to load, <BR>you may want to reference this document for some more discussion/examples <BR>on using them. <BR>http://www.maptools.org/dl_scripts/redirector.php?path=omsug/osgis2004/MsTutorialGuide.doc]<BR><BR>Here's the stripped down map file I would try:<BR><BR>&gt; Layer name: TopographicArea_area<BR>&gt; Extent: (350137.990000, 168102.400000) - (356541.550000, 174643.090000)<BR><BR>&gt; MAP<BR>&gt; IMAGETYPE PNG<BR>&gt; EXTENT 350137.990000 168102.400000 356541.550000 174643.090000<BR>&gt; SIZE 1000 1000<BR>&gt; IMAGECOLOR 255 255 255<BR>&gt; WEB<BR>&gt; IMAGEPATH "/Proj/img/"<BR>&gt; IMAGEURL "/img/"<BR>&gt; END<BR>&gt; # Start of LAYER DEFINITIONS <BR>---------------------------------------------<BR>&gt;
 LAYER # States polygon layer begins here<BR>&gt; NAME TopographicArea_area<BR>&gt; DATA TopographicArea_area<BR>&gt; STATUS ON<BR>&gt; TYPE POLYGON<BR>&gt; CLASS<BR>&gt; COLOR 180 180 0<BR>&gt; OUTLINECOLOR 32 32 32<BR>&gt; END<BR>&gt; END # States polygon layer ends here<BR>&gt; # End of LAYER DEFINITIONS -------------------------------<BR>&gt; END # end of map file/object</BLOCKQUOTE><p><br><hr size=1><b>Do You Yahoo!?</b><br>
<a href="http://cn.rd.yahoo.com/mail_cn/tag/100m/*http://cn.promo.yahoo.com/minisite/100m/" target=blank>100Õ×ÓÊÏä¹»²»¹»Óã¿ÑÅ»¢µçÓÊ×ÔÖúÀ©ÈÝ£¡</a>
--0-2099893813-1088776422=:67734--



More information about the mapserver-users mailing list