<DIV>Hi Bill ,</DIV>  <DIV>&nbsp;</DIV>  <DIV>Thanks for your informative reply.</DIV>  <DIV>&nbsp;</DIV>  <DIV>Firstly , let me explain to u what are we doing in our project .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>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.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;However , we were wondering as to , how would the changes be rendered dynamically to the map using the shapefiles. When
 the user enters a certain point , the point details need to be added to MySql. But at the same time to reflect the changes online , dont the changes need to be made even to the shapefile. How else will this point be plotted ? </DIV>  <DIV>&nbsp;</DIV>  <DIV>Also , we were initially planning on buying Web Mapping Illustrated . However , your book seems to be more relevant , do u think so ( keeping in mind of what our project deals with ) ?</DIV>  <DIV>&nbsp;</DIV>  <DIV>Would it be possible for you to mail us the table-of-contents of your book. We tried searching it online , but the site somehow doesnt open properly.</DIV>  <DIV>&nbsp;</DIV>  <DIV>Thanks once again ,</DIV></DIV>  <DIV>Apeksha<BR><BR><B><I>Bill Kropla &lt;bill@billkropla.net&gt;</I></B> wrote:</DIV>  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Hi Apeksha<BR><BR>I take from the questions you are asking that your experience with digital mapping and GIS is limited.
 (If I'm mistaken, many apologies.)&nbsp; I have addressed your questions below:<BR><BR>**************************&nbsp; &nbsp;&nbsp;&nbsp; <BR>&nbsp; 1.While writing the mapfile , we need to specify the extent of the map . The background map chosen being in PNG image type , how do we get the extent of this image , so as to enter this data in the mapfile . <BR>&nbsp;&nbsp; <BR>There are 2 types of spatial data: vector and raster. Shapefile data is an example of vector data; each shapefile contains position information that allows an application to actually draw lines, points and polygons. Raster data is essentially an image that is drawn pixel by pixel and line by line. However, in order to be drawn as a layer in a map, raster data needs to be "geo-referenced", that is, it must contain spatial information that allows the application to coordinate the raster image with vector data. Unfortunately, the PNG format does not allow this - it contains no spatial data.&nbsp; GeoTiff images do
 contain this spatial info and this is the format used for spatial applications. You can use FWTools to do the geo-referencing if you have enough ground control points and create your own geoTiff, but this is a fairly advanced topic.<BR><BR>**************************&nbsp; &nbsp;&nbsp;&nbsp; <BR>&nbsp; 2.In interactive web-mapping , do we need MySql to store the data of the various points being plotted on the map or are the shapefiles sufficient . <BR><BR>It is not exactly clear what your trying to accomplish, but if you have a set of location coordinates&nbsp; and wish to plot these on a map, there are a number of ways to do this. If you spatial data is already located in a shapefile, use that. But if you just have a list of locations (in a text file for example) and if the set is small, you can use MapServer's inline feature capability. A map file that does this looks like this (note the point layer)<BR><TT><BR>NAME "Hello World"<BR>SIZE 400 300<BR>IMAGECOLOR 249 245
 186<BR>IMAGETYPE png<BR>EXTENT -1.0 -1.0 1.0 1.0<BR>WEB<BR>&nbsp;&nbsp;&nbsp;&nbsp; TEMPLATE "/var/www/htdocs/hello.html"<BR>&nbsp;&nbsp;&nbsp;&nbsp; IMAGEPATH "/var/www/htdocs/tmp/"<BR>&nbsp;&nbsp;&nbsp;&nbsp; IMAGEURL "/tmp/"<BR>END<BR>LAYER&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp; STATUS default<BR>&nbsp;&nbsp;&nbsp;&nbsp; TYPE point<BR>&nbsp;&nbsp;&nbsp;&nbsp; FEATURE<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; POINTS&nbsp; 0.00 0.00 END<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TEXT "Hello World"<BR>&nbsp;&nbsp;&nbsp;&nbsp; END # end feature<BR>&nbsp;&nbsp;&nbsp;&nbsp; CLASS<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; STYLE<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 255 0 0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 LABEL<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TYPE bitmap<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<BR>&nbsp;&nbsp;&nbsp;&nbsp; END<BR>END<BR>END</TT><BR><BR>If your set contains more than a single point, just replace the points line with something like the following:<BR><BR><TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; POINTS&nbsp; 0.00 0.00 0.01 0.01 -0.01 -0.01 END<BR><BR></TT>which will draw 3 points.<BR><BR>If you have a large set of points, you are better off using the MapServer API (called MapScript) that is exposed in various languages like Perl, PHP and Python. You can then use a MySQL database containing location information and use MapScript to create the application in one of the supported languages.<BR><BR>A 3rd option is to use ogr2ogr to convert a text file in CSV format to shapefile format. This is easier to do than learning MapScript but limits the power of your
 application.<TT><BR><BR></TT>**************************&nbsp; &nbsp;&nbsp; &nbsp;<BR>&nbsp; 3. We are working on an online project and when a new point needs to be plotted on the map and displayed , how can this data be entered into the shapefiles . We have read somewhere that Mapscripting can be used to convert textfiles to shapefiles . <BR>&nbsp; Can you please direct us as to how can that be done ???<BR>&nbsp;&nbsp; <BR>The remarks to question 2 apply here.<BR><BR>**************************&nbsp;&nbsp; <BR>&nbsp; 4. We have got to know about this book "Web mapping illustrated - By Tyler Mitchell , O'reilly Publications " . Has anyone used used it for developing an online interactive web-mapping apllication (example editing of maps ).<BR><BR>I can't really speak to the quality of Tyler Mitchell's book, I haven't read it, but the reviews are very good. However, get ready for a shameles plug :^), my book <I>Beginning MapServer: Open Source GIS Development</I> deals exclusively with
 MapServer and MapScript issues. It begins with the installation of MapServer, discusses basic concepts of GIS and provides a comprehensive introduction to using MapServer including Perl MapScript, Python MapScript and PHP/MapScript. Finally, it includes a complete, interactive mapping application coded in PHP/MapScript that uses MySQL to store the dynamic spatial information used to draw symbols on a map. The source code is available at: <I><A class=moz-txt-link-abbreviated href="http://www.apress.com/book/bookDisplay.html?bID=443">www.apress.com/book/bookDisplay.html?bID=443</A>. </I>It is available is an e-book at the same location or from Amazon.com at:<I> <A class=moz-txt-link-abbreviated href="http://www.amazon.com/gp/product/1590594908/">www.amazon.com/gp/product/1590594908/</A></I><BR>&nbsp; &nbsp;<BR>I hope this helps.<BR><BR>regards,<BR><BR>Bill Kropla<BR></BLOCKQUOTE>  <DIV><BR></DIV><p>
        
                <hr size=1>Yahoo! Photos<br> 
Got holiday prints? <a href="http://us.rd.yahoo.com/mail_us/taglines/holidayprints/*http://pa.yahoo.com/*http://us.rd.yahoo.com/mail_us/taglines/photos/evt=38089/*http://pg.photos.yahoo.com/ph//print_splash">See all the ways</a> to get quality prints in your hands ASAP.