<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="IncrediMail 1.0" name=GENERATOR></HEAD>
<BODY style="BACKGROUND-POSITION: 0px 0px; FONT-SIZE: 12pt; MARGIN: 5px 10px 10px; FONT-FAMILY: Arial" bgColor=#ffffff background="" scroll=yes ORGYPOS="0">
<TABLE id=INCREDIMAINTABLE cellSpacing=0 cellPadding=2 width="100%" border=0>
<TBODY>
<TR>
<TD id=INCREDITEXTREGION style="FONT-SIZE: 12pt; CURSOR: auto; FONT-FAMILY: Arial" width="100%">
<DIV>I am on linux System.</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV id=IncrediOriginalMessage><I>-------Mensagem original-------</I></DIV>
<DIV> </DIV>
<DIV id=receivestrings>
<DIV dir=ltr style="FONT-SIZE: 11pt"><I><B>De:</B></I> <A href="mailto:ldorileo@GMAIL.COM">Leandro Dorileo</A></DIV>
<DIV dir=ltr style="FONT-SIZE: 11pt"><I><B>Data:</B></I> 07/15/05 03:38:07</DIV>
<DIV dir=ltr style="FONT-SIZE: 11pt"><I><B>Para:</B></I> <A href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU">MAPSERVER-USERS@LISTS.UMN.EDU</A></DIV>
<DIV dir=ltr style="FONT-SIZE: 11pt"><I><B>Assunto:</B></I> [UMN_MAPSERVER-USERS] Res: Re: [UMN_MAPSERVER-USERS] Problem to load images</DIV></DIV>
<DIV> </DIV>
<DIV>Hi Ezequias</DIV>
<DIV> </DIV>
<DIV>Are you working on a unix system? or is it a windows system?</DIV>
<DIV> </DIV>
<DIV>--</DIV>
<DIV>Dorileo</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>On Thursday 14 July 2005 05:13 pm, Ezequias Rodrigues da Rocha wrote:</DIV>
<DIV>> There is no difference. Thake a look on the image I attached and make your</DIV>
<DIV>> conclusions.</DIV>
<DIV>></DIV>
<DIV>> Sincerely</DIV>
<DIV>> Ezequias</DIV>
<DIV>></DIV>
<DIV>> ps.: I did all the process and the service is running.</DIV>
<DIV>></DIV>
<DIV>> -------Mensagem original-------</DIV>
<DIV>></DIV>
<DIV>> De: Randy James</DIV>
<DIV>> Data: 07/14/05 13:16:31</DIV>
<DIV>> Para: Ezequias Rodrigues da Rocha</DIV>
<DIV>> Cc: <A href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU">MAPSERVER-USERS@LISTS.UMN.EDU</A></DIV>
<DIV>> Assunto: Re: [UMN_MAPSERVER-USERS] Res: RE: [UMN_MAPSERVER-USERS] Res: Re:</DIV>
<DIV>> [UMN_MAPSERVER-USERS] Problem to load images</DIV>
<DIV>></DIV>
<DIV>> could be the permissions of the cgi-bin folder? Are the permissions</DIV>
<DIV>> different for</DIV>
<DIV>> the /raster folder?</DIV>
<DIV>></DIV>
<DIV>> Randy</DIV>
<DIV>></DIV>
<DIV>> --- Ezequias Rodrigues da Rocha <<A href="mailto:ezequias@RECIFE.PE.GOV.BR">ezequias@RECIFE.PE.GOV.BR</A>> wrote:</DIV>
<DIV>> > Ed,</DIV>
<DIV>> ></DIV>
<DIV>> > It is working now, but let me say what occours:</DIV>
<DIV>> ></DIV>
<DIV>> > 1- I have the image on the cgi-bin folder</DIV>
<DIV>> > 2- My map file is:</DIV>
<DIV>> >         shapepath "/var/www/cgi-bin/"</DIV>
<DIV>> >         LAYER</DIV>
<DIV>> >         NAME "Imagem23"</DIV>
<DIV>> >         data "recorte_23.tif"</DIV>
<DIV>> >         STATUS default</DIV>
<DIV>> >         TYPE RASTER</DIV>
<DIV>> >         PROCESSING "DITHER=YES"</DIV>
<DIV>> >         PROCESSING "BANDS=1,2,3"</DIV>
<DIV>> >         END</DIV>
<DIV>> > 3 - The error reported when I try to load on the Browser is:</DIV>
<DIV>> ></DIV>
<DIV>> >         msDrawMap(): Image handling error. Failed to draw layer named</DIV>
<DIV>> > Imagem23'.</DIV>
<DIV>> >         msDrawRaster(): Unable to access file. (recorte_23.tif)</DIV>
<DIV>> ></DIV>
<DIV>> > 4 - a) I copy the image to the folder /raster</DIV>
<DIV>> >       b) Change the LAYER parameter to:</DIV>
<DIV>> >       data "raster/recorte_23.tif"</DIV>
<DIV>> ></DIV>
<DIV>> >  5- The image appears on browser</DIV>
<DIV>> ></DIV>
<DIV>> > If I didn't make the step 4a the message on step 3 will be repeated.</DIV>
<DIV>> ></DIV>
<DIV>> > Does it make any sense ?</DIV>
<DIV>> ></DIV>
<DIV>> > Sincerely</DIV>
<DIV>> > Ezequias</DIV>
<DIV>> ></DIV>
<DIV>> ></DIV>
<DIV>> ></DIV>
<DIV>> ></DIV>
<DIV>> ></DIV>
<DIV>> > -------Mensagem original-------</DIV>
<DIV>> ></DIV>
<DIV>> > De: Ed McNierney</DIV>
<DIV>> > Data: 07/14/05 12:41:47</DIV>
<DIV>> > Para: Ezequias Rodrigues da Rocha</DIV>
<DIV>> > Cc: <A href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU">MAPSERVER-USERS@LISTS.UMN.EDU</A></DIV>
<DIV>> > Assunto: RE: [UMN_MAPSERVER-USERS] Res: Re: [UMN_MAPSERVER-USERS] Problem</DIV>
<DIV>></DIV>
<DIV>> to</DIV>
<DIV>></DIV>
<DIV>> > load images</DIV>
<DIV>> ></DIV>
<DIV>> > Ezequias -</DIV>
<DIV>> ></DIV>
<DIV>> > OK - you will want to get to a TILEINDEX, I think, if your layers are</DIV>
<DIV>></DIV>
<DIV>> simply</DIV>
<DIV>></DIV>
<DIV>> > separate images that all belong together as a single set of one type of</DIV>
<DIV>> > image.</DIV>
<DIV>> ></DIV>
<DIV>> > But you don't need to worry about that now. Just make sure the DATA</DIV>
<DIV>> > statement in each LAYER specifies the full pathname.</DIV>
<DIV>> ></DIV>
<DIV>> > I suggest you try to get ONE image working properly first, then get the</DIV>
<DIV>> > other 115 working. Did you have one working at all?</DIV>
<DIV>> ></DIV>
<DIV>> > - Ed</DIV>
<DIV>> > Ed McNierney</DIV>
<DIV>> > President and Chief Mapmaker</DIV>
<DIV>> > TopoZone.com / Maps a la carte, Inc.</DIV>
<DIV>> > 73 Princeton Street, Suite 305</DIV>
<DIV>> > North Chelmsford, MA 01863</DIV>
<DIV>> > <A href="mailto:ed@topozone.com">ed@topozone.com</A></DIV>
<DIV>> > (978) 251-4242</DIV>
<DIV>> ></DIV>
<DIV>> ></DIV>
<DIV>> ></DIV>
<DIV>> ></DIV>
<DIV>> > From: UMN MapServer Users List [<A href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU">mailto:MAPSERVER-USERS@LISTS.UMN.EDU</A>] On</DIV>
<DIV>> > Behalf Of Ezequias Rodrigues da Rocha</DIV>
<DIV>> > Sent: Thursday, July 14, 2005 12:08 PM</DIV>
<DIV>> > To: <A href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU">MAPSERVER-USERS@LISTS.UMN.EDU</A></DIV>
<DIV>> > Subject: [UMN_MAPSERVER-USERS] Res: Re: [UMN_MAPSERVER-USERS] Problem to</DIV>
<DIV>> > load images</DIV>
<DIV>> ></DIV>
<DIV>> ></DIV>
<DIV>> ></DIV>
<DIV>> > I have no TILEINDEX and I don't know how to use it on mapserver.</DIV>
<DIV>> ></DIV>
<DIV>> > My map file have yes 116 layers.</DIV>
<DIV>> ></DIV>
<DIV>> > Sincerely</DIV>
<DIV>> > Ezequias</DIV>
<DIV>> > -------Mensagem original-------</DIV>
<DIV>> ></DIV>
<DIV>> > De: Ed McNierney</DIV>
<DIV>> > Data: 07/14/05 12:33:15</DIV>
<DIV>> > Para: <A href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU">MAPSERVER-USERS@LISTS.UMN.EDU</A></DIV>
<DIV>> > Assunto: Re: [UMN_MAPSERVER-USERS] Problem to load images</DIV>
<DIV>> ></DIV>
<DIV>> > Ezequias -</DIV>
<DIV>> ></DIV>
<DIV>> > Please always reply to the whole list, so everyone can help - thanks!</DIV>
<DIV>> ></DIV>
<DIV>> > MapServer may be strange but it should be consistent. Do you have a</DIV>
<DIV>> > TILEINDEX for these 116 images or are they each specified in a separate</DIV>
<DIV>> > LAYER in your map file? It doesn't matter where the images are (if the</DIV>
<DIV>> > permissions are OK) but you should start by putting the full path to each</DIV>
<DIV>> > image in either the map file LAYER block or in the TILEINDEX shapefile.</DIV>
<DIV>> ></DIV>
<DIV>> > - Ed</DIV>
<DIV>> > Ed McNierney</DIV>
<DIV>> > President and Chief Mapmaker</DIV>
<DIV>> > TopoZone.com / Maps a la carte, Inc.</DIV>
<DIV>> > 73 Princeton Street, Suite 305</DIV>
<DIV>> > North Chelmsford, MA 01863</DIV>
<DIV>> > <A href="mailto:ed@topozone.com">ed@topozone.com</A></DIV>
<DIV>> > (978) 251-4242</DIV>
<DIV>> ></DIV>
<DIV>> ></DIV>
<DIV>> ></DIV>
<DIV>> ></DIV>
<DIV>> > From: Ezequias Rodrigues da Rocha [<A href="mailto:ezequias@recife.pe.gov.br">mailto:ezequias@recife.pe.gov.br</A>]</DIV>
<DIV>> > Sent: Thursday, July 14, 2005 11:59 AM</DIV>
<DIV>> > To: Ed McNierney</DIV>
<DIV>> > Subject: Res: Re: [UMN_MAPSERVER-USERS] Problem to load images</DIV>
<DIV>> ></DIV>
<DIV>> ></DIV>
<DIV>> > Ed,</DIV>
<DIV>> ></DIV>
<DIV>> ></DIV>
<DIV>> > Mapsever works strange. Some file works on the cgi-bin folder others on</DIV>
<DIV>> > cgi-bin/raster.</DIV>
<DIV>> ></DIV>
<DIV>> > I am working with 116 images too. I don't know if it makes any</DIV>
<DIV>> > difference.</DIV>
<DIV>> ></DIV>
<DIV>> > Sincerely</DIV>
<DIV>> > Ezequias</DIV>
<DIV>> ></DIV>
<DIV>> > -------Mensagem original-------</DIV>
<DIV>> ></DIV>
<DIV>> > De: Ed McNierney</DIV>
<DIV>> > Data: 07/14/05 11:44:53</DIV>
<DIV>> > Para: <A href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU">MAPSERVER-USERS@LISTS.UMN.EDU</A></DIV>
<DIV>> > Assunto: Re: [UMN_MAPSERVER-USERS] Problem to load images</DIV>
<DIV>> ></DIV>
<DIV>> > Ezequias -</DIV>
<DIV>> ></DIV>
<DIV>> > This is probably due to the paths to the data. Your error message reports</DIV>
<DIV>></DIV>
<DIV>> a</DIV>
<DIV>></DIV>
<DIV>> > relative path, which depends on the "current directory" on your server.</DIV>
<DIV>> > It is easier to always use full pathnames (starting with a "/") to your</DIV>
<DIV>> > data files when you're getting started. Try putting the whole path in</DIV>
<DIV>> > your map file to see if that solves the problem.</DIV>
<DIV>> ></DIV>
<DIV>> > - Ed</DIV>
<DIV>> ></DIV>
<DIV>> > Ed McNierney</DIV>
<DIV>> > President and Chief Mapmaker</DIV>
<DIV>> > TopoZone.com / Maps a la carte, Inc.</DIV>
<DIV>> > 73 Princeton Street, Suite 305</DIV>
<DIV>> > North Chelmsford, MA 01863</DIV>
<DIV>> > <A href="mailto:ed@topozone.com">ed@topozone.com</A></DIV>
<DIV>> > (978) 251-4242</DIV>
<DIV>> ></DIV>
<DIV>> ></DIV>
<DIV>> ></DIV>
<DIV>> ></DIV>
<DIV>> > From: UMN MapServer Users List [<A href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU">mailto:MAPSERVER-USERS@LISTS.UMN.EDU</A>] On</DIV>
<DIV>> > Behalf Of Ezequias Rodrigues da Rocha</DIV>
<DIV>> > Sent: Thursday, July 14, 2005 10:40 AM</DIV>
<DIV>> > To: <A href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU">MAPSERVER-USERS@LISTS.UMN.EDU</A></DIV>
<DIV>> > Subject: [UMN_MAPSERVER-USERS] Problem to load images</DIV>
<DIV>> ></DIV>
<DIV>> ></DIV>
<DIV>> > Hi list,</DIV>
<DIV>> ></DIV>
<DIV>> > My browser reported the error above:</DIV>
<DIV>> ></DIV>
<DIV>> > msDrawRaster(): Unable to access file. (raster/recorte_01.tif)</DIV>
<DIV>> ></DIV>
<DIV>> > Any suggestions ?</DIV>
<DIV>> ></DIV>
<DIV>> > all my files are -rwxrwxrwx</DIV>
<DIV>> ></DIV>
<DIV>> ></DIV>
<DIV>> ></DIV>
<DIV>> > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-</DIV>
<DIV>> > Atenciosamente (Sincerely)</DIV>
<DIV>> > Ezequias Rodrigues da Rocha</DIV>
<DIV>> > * <A href="http://www.recife.pe.gov.br">www.recife.pe.gov.br</A></DIV>
<DIV>> > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-</DIV>
<DIV>> > A pior das democracias ainda é melhor do que a melhor das ditaduras</DIV>
<DIV>> > The worst of democracies is still better than the better of dictatorships</DIV>
<DIV>> > MSN Messenger: <A href="mailto:ezequias@hotmail.com">ezequias@hotmail.com</A></DIV>
<DIV>></DIV>
<DIV>> ____________________________________________________</DIV>
<DIV>> Start your day with Yahoo! - make it your home page</DIV>
<DIV>> <A href="http://www.yahoo.com/r/hs">http://www.yahoo.com/r/hs</A></DIV></TD></TR>
<TR>
<TD id=INCREDIFOOTER width="100%">
<TABLE cellSpacing=0 cellPadding=0 width="100%">
<TBODY>
<TR>
<TD width="100%"></TD>
<TD id=INCREDISOUND vAlign=bottom align=middle></TD>
<TD id=INCREDIANIM vAlign=bottom align=middle></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><SPAN id=IncrediStamp><SPAN dir=ltr><A href="http://www.incredimail.com/index.asp?id=54760"><IMG alt="Add FUN to your email - CLICK HERE!" hspace=0 src="http://www2.incredimail.com/contents/stamps/imstp_emo_pt.gif" align=baseline border=0></A></SPAN></SPAN></BODY></HTML>