<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3492" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=547084908-20012009>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=547084908-20012009></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=547084908-20012009>First of all your jpeg files need to be
georeferenced. Jpeg files are most often georeferenced with world files
which are named as .jgw. Sometimes they are named as .tfw, even that name
is actually reserved for tiff files. And Mapserver understands also world
files named as .wld.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=547084908-20012009>If your images are georeferenced you can continue to
building one single layer from all of your images. It is done with
gdaltindex utility program. Gdaltindex is building a shapefile that
records the extents of all the images to be indexed.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=547084908-20012009>Third step is to make a new raster layer that is using
the shapefile index as a catalogue for finding the actual image files that needs
to be opened when user is requesting a map from a certain
area.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=547084908-20012009></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=547084908-20012009>This should be enough to show you images as a single
layer. It would be a benefit to know the projection where the images are
because otherwise they cannot be reprojected. And for optimising
performance it may be good to convert jpeg images to tiffs, but you can just
start from jpegs and see if you are happy with the speed.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=547084908-20012009>In conclusion:</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=547084908-20012009>1. Check georeferencing and projection, gdalinfo
program is a good help in this.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=547084908-20012009>2. Make tileindex with gdaltindex</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=547084908-20012009>3. Make a new raster layer in mapfile referring to just
created tileindex file.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=547084908-20012009></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=547084908-20012009>-Jukka Rahkonen-</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=547084908-20012009></SPAN></FONT> </DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=fi dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Lähettäjä:</B>
mapserver-users-bounces@lists.osgeo.org
[mailto:mapserver-users-bounces@lists.osgeo.org] <B>Puolesta </B>Muizudeen
Kusimo<BR><B>Lähetetty:</B> 20. tammikuuta 2009 10:45<BR><B>Vastaanottaja:</B>
mapserver-users@lists.osgeo.org<BR><B>Aihe:</B> [mapserver-users] Need Help
with Custom (Raster) Data as Input<BR></FONT><BR></DIV>
<DIV></DIV>Hello Everyone,<BR><BR>I am new to MapServer, however I am working
on an application that is similar to Google Maps albeit with my own custom
maps.<BR><BR>The problem is:<BR><BR>1) I have several maps mostly in .jpeg
format and would like to use them as Data Inputs for this Web Application. I
can't seem to get it done correctly. Must I convert these maps to a SHAPEFILE
i.e. .shp or what? If so, how do I convert them?<BR><BR>My development
platform is:<BR><BR>- Microsoft Windows XP<BR>- Ka-Map<BR>- MapServer
(MS4W)<BR><BR>Thanks.<BR><BR>NB: I am re-reading the documentation for a
solution.<BR></BLOCKQUOTE></BODY></HTML>