<DIV>hii,</DIV>  <DIV>It seems that you have a lot of knowledge about projections&nbsp;in the mapfile . Could you please help us out&nbsp;. We&nbsp;have a&nbsp;few basic doubts. Here's what we are doing ....</DIV>  <DIV>&nbsp;</DIV>  <DIV>We are working on the LAMP platform.&nbsp;We are creating an interactive web application . Users will be provided with a map , on which they can make their own additions and deletions.For example , when a certain user wants to landmark a certain city . </DIV>  <DIV>  <DIV>  <DIV>Could u help us out with a few of r doubts .</DIV>  <DIV>&nbsp;</DIV>  <DIV>&nbsp;Firstly as the input to the Mapserver will be shapefiles , we will be creating our layers , (Eg. Point , Polygon , etc,) with the help of OpenEV.When the shapfiles are created in OpenEV (for e.g the points layer ) the points are saved on the basis of their line and column value &nbsp;This input will be given to the Mapfile of the Mapserver , which willl in turn give a complete image comprising
 of all the layers. This map can then be displayed using Php/Mapscript. </DIV>  <DIV>&nbsp;When the user enters a certain point , the point details need to be added to MySql. </DIV>  <DIV>&nbsp;</DIV>  <DIV>We wanted to proceed step by step. Now , as we first need a base map ( on which the user will make his/her changes ) , which will be a raster image ( .png or .tif ). We have created a map file for this( the raster image as a raster layer)&nbsp;as follows: </DIV>  <DIV>&nbsp;</DIV>  <DIV>MAP</DIV>  <DIV>&nbsp;</DIV>  <DIV>NAME first</DIV>  <DIV>EXTENT 0 0 40 40</DIV>  <DIV>SIZE 600 600</DIV>  <DIV>IMAGECOLOR 200 255 255</DIV>  <DIV>SHAPEPATH "/var/www/html/data1"</DIV>  <DIV>&nbsp;</DIV>  <DIV>WEB</DIV>  <DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;IMAGEPATH "/var/www/html/tmp/"</DIV>  <DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IMAGEURL "/tmp/"</DIV>  <DIV>END&nbsp;</DIV>  <DIV>&nbsp;</DIV>  <DIV>LAYER </DIV>  <DIV>NAME
 "base"</DIV>  <DIV>TYPE raster</DIV>  <DIV>DATA "/var/www/html/india.tif"</DIV>  <DIV>STATUS ON</DIV>  <DIV>END</DIV>  <DIV>END</DIV>  <DIV>&nbsp;</DIV>  <DIV>This is not getting plotted , what could be the problem ? </DIV>  <DIV>Also , what exactly is the use of extent , because no matter what extent we give for another mapfile to plot a simple rectangle , the size of the rectangle remains the same . </DIV>  <DIV>Is projection mandatory in the mapfile ? And how can it be used .</DIV>  <DIV>When the shapfiles are created in OpenEV (for e.g the points layer ) the points are saved on the basis of their line and column value&nbsp;&nbsp;. Does this require the use of projection.How can these points be saved in their latitude/longitude values. </DIV>  <DIV>&nbsp;We are unable to understand the use of Projection ...Plz can u help us . </DIV>  <DIV>&nbsp;</DIV>  <DIV>Awating your reply , </DIV>  <DIV>Apeksha<BR><B><I>Ed McNierney &lt;ed@TOPOZONE.COM&gt;</I></B> wrote:</DIV></DIV></DIV> 
 <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">  <META content="MSHTML 6.00.2900.2802" name=GENERATOR>  <DIV dir=ltr align=left><SPAN class=962054415-17012006><FONT face=Arial color=#0000ff size=2>Luiz&nbsp; &amp; Bengt -</FONT></SPAN></DIV>  <DIV dir=ltr align=left><SPAN class=962054415-17012006><FONT face=Arial color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>  <DIV dir=ltr align=left><SPAN class=962054415-17012006><FONT face=Arial color=#0000ff size=2>I would expect that if Bengt is working with maps of Scandinavian countries, the difference between Plat Carree and Mercator should be noticeable (Mercator will "stretch" things north/south by quite a bit compared to a "geographic" or Plat Carree projection).</FONT></SPAN></DIV>  <DIV dir=ltr align=left><SPAN class=962054415-17012006><FONT face=Arial color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>  <DIV dir=ltr align=left><SPAN class=962054415-17012006><FONT face=Arial
 color=#0000ff size=2>Bengt, are you sure you have a good PROJ installation and that MapServer is compiled with PROJ support (run mapserv -v and look for "SUPPORTS=PROJ")?</FONT></SPAN></DIV>  <DIV dir=ltr align=left><SPAN class=962054415-17012006><FONT face=Arial color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>  <DIV dir=ltr align=left><SPAN class=962054415-17012006><FONT face=Arial color=#0000ff size=2>&nbsp;&nbsp;&nbsp;&nbsp; - Ed</FONT></SPAN></DIV>  <DIV dir=ltr align=left><SPAN class=962054415-17012006>  <div><FONT size=2>Ed McNierney<BR>President and Chief Mapmaker<BR>TopoZone.com / Maps a la carte, Inc.<BR>73 Princeton Street, Suite 305<BR>North Chelmsford, MA&nbsp; 01863<BR>ed@topozone.com<BR>(978) 251-4242 </FONT></div></SPAN></DIV><BR>  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>  <HR tabIndex=-1>  <FONT face=Tahoma size=2><B>From:</B> UMN MapServer Users List [mailto:MAPSERVER-USERS@LISTS.UMN.EDU] <B>On Behalf Of </B>Luiz Vaz<BR><B>Sent:</B> Tuesday,
 January 17, 2006 12:46 AM<BR><B>To:</B> MAPSERVER-USERS@LISTS.UMN.EDU<BR><B>Subject:</B> Re: [UMN_MAPSERVER-USERS] No reprojection done<BR></FONT><BR></DIV>  <DIV></DIV>Well, <BR><BR>&nbsp;&nbsp; it seems that there no perceptual changes each other:<BR><BR># World Mercator<BR>&lt;54004&gt; +proj=merc +lat_ts=0 +lon_0=0 +k=1.000000 +x_0=0 +y_0=0 +ellps=WGS84 +datum=WGS84 +units=m&nbsp; no_defs &lt;&gt;<BR><BR># World Plate Carree<BR>&lt;54001&gt; +ellps=WGS84 +datum=WGS84 +units=m&nbsp; no_defs &lt;&gt;<BR># World Equidistant Cylindrical<BR>&lt;54002&gt; +ellps=WGS84 +datum=WGS84 +units=m&nbsp; no_defs &lt;&gt;<BR><BR># WGS 84<BR>&lt;4326&gt; +proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs&nbsp; no_defs &lt;&gt; <BR><BR><BR>Best Regards,<BR>Luiz Vaz<BR><BR>  <DIV><SPAN class=gmail_quote>2006/1/15, Nilsson Bengt &lt;<A href="mailto:bengt.nilsson@aerotechtelub.se">bengt.nilsson@aerotechtelub.se</A>&gt;:</SPAN>   <BLOCKQUOTE class=gmail_quote style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt
 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Hi,<BR>I've set up a WMS server with an initial singe layer to test reprojection. However , I can't get the projection to work. Whatever output projection i try I get the same geographical (4326) back. For example, when I make a WMS request&nbsp;&nbsp;with&nbsp;&nbsp;SRS=EPSG:54004 (Mercator) and bounding box in that projection I get an 4326-map back. I do not get any errors. Here is my map-file: <BR><BR>MAP<BR>NAME WMS-test<BR>STATUS ON<BR>SHAPEPATH "shp"<BR>IMAGECOLOR 255 255 255<BR>FONTSET ../etc/fontset.txt<BR><BR>DEBUG ON<BR>WEB<BR>&nbsp;&nbsp;LOG "/tmp/mapserv.log"<BR>&nbsp;&nbsp;IMAGEPATH "/srv/www/htdocs/ms_tmp/" <BR>&nbsp;&nbsp;IMAGEURL "/ms_tmp/"<BR>&nbsp;&nbsp;METADATA<BR>&nbsp;&nbsp;&nbsp;&nbsp;"wms_title"&nbsp;&nbsp;&nbsp;&nbsp; "Test"<BR>&nbsp;&nbsp;&nbsp;&nbsp;"wms_onlineresource" "<A href="http://hhhhhhhhh/mapserv/wt?service=WMS">http://hhhhhhhhh/mapserv/wt?service=WMS
 </A>"<BR>&nbsp;&nbsp;&nbsp;&nbsp;"wms_srs"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "epsg:9823 epsg:4326 epsg:54004"<BR>&nbsp;&nbsp;END<BR>END<BR><BR>PROJECTION<BR>&nbsp;&nbsp;"init=epsg:54004"<BR>END<BR><BR>LAYER<BR>&nbsp;&nbsp;NAME k92_strandlinje<BR>&nbsp;&nbsp;DEBUG ON<BR>&nbsp;&nbsp;METADATA <BR>&nbsp;&nbsp;&nbsp;&nbsp;"wms_title"&nbsp;&nbsp;&nbsp;&nbsp;"k92_strandlinje"<BR>&nbsp;&nbsp;&nbsp;&nbsp;"wms_srs"&nbsp;&nbsp;&nbsp;&nbsp;"EPSG:4326"<BR>&nbsp;&nbsp;END<BR>&nbsp;&nbsp;TYPE POLYGON<BR>&nbsp;&nbsp;STATUS ON<BR>&nbsp;&nbsp;CONNECTIONTYPE postgis<BR>&nbsp;&nbsp;CONNECTION "user=postgres password=xxx dbname=xxx host=localhost" <BR>&nbsp;&nbsp;DATA 'the_geom from k92_strandlin_polygon'<BR>&nbsp;&nbsp;PROJECTION<BR>&nbsp;&nbsp; "init=epsg:4326"<BR>&nbsp;&nbsp;END<BR>&nbsp;&nbsp;CLASS<BR>&nbsp;&nbsp;&nbsp;&nbsp;NAME "strandlin-pgx"<BR>&nbsp;&nbsp;&nbsp;&nbsp;COLOR 255 251 237<BR>&nbsp;&nbsp;&nbsp;&nbsp;OUTLINECOLOR 100 100 100<BR>&nbsp;&nbsp;END <BR>END<BR><BR>END<BR><BR><BR>/Regards
 Bengt<BR></BLOCKQUOTE></DIV><BR></BLOCKQUOTE>  <DIV><BR></DIV><p>
                <hr size=1>Yahoo! Photos<br> 
Ring in the New Year with <a href="http://us.rd.yahoo.com/mail_us/taglines/photos/*http://pa.yahoo.com/*http://us.rd.yahoo.com/mail_us/taglines/photos/evt=38087/*http://pg.photos.yahoo.com/ph//page?.file=calendar_splash.html&.dir=">Photo Calendars</a>. Add photos, events, holidays, whatever.