Res: Re: [UMN_MAPSERVER-USERS] Problem to load images
Ed McNierney
ed at TOPOZONE.COM
Thu Jul 14 08:57:27 PDT 2005
Ezequias -
OK - you will want to get to a TILEINDEX, I think, if your layers are simply separate images that all belong together as a single set of one type of image.
But you don't need to worry about that now. Just make sure the DATA statement in each LAYER specifies the full pathname.
I suggest you try to get ONE image working properly first, then get the other 115 working. Did you have one working at all?
- Ed
Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA 01863
ed at topozone.com
(978) 251-4242
________________________________
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On Behalf Of Ezequias Rodrigues da Rocha
Sent: Thursday, July 14, 2005 12:08 PM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] Res: Re: [UMN_MAPSERVER-USERS] Problem to load images
I have no TILEINDEX and I don't know how to use it on mapserver.
My map file have yes 116 layers.
Sincerely
Ezequias
-------Mensagem original-------
De: Ed McNierney <mailto:ed at TOPOZONE.COM>
Data: 07/14/05 12:33:15
Para: MAPSERVER-USERS at LISTS.UMN.EDU
Assunto: Re: [UMN_MAPSERVER-USERS] Problem to load images
Ezequias -
Please always reply to the whole list, so everyone can help - thanks!
MapServer may be strange but it should be consistent. Do you have a TILEINDEX for these 116 images or are they each specified in a separate LAYER in your map file? It doesn't matter where the images are (if the permissions are OK) but you should start by putting the full path to each image in either the map file LAYER block or in the TILEINDEX shapefile.
- Ed
Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA 01863
ed at topozone.com
(978) 251-4242
________________________________
From: Ezequias Rodrigues da Rocha [mailto:ezequias at recife.pe.gov.br]
Sent: Thursday, July 14, 2005 11:59 AM
To: Ed McNierney
Subject: Res: Re: [UMN_MAPSERVER-USERS] Problem to load images
Ed,
Mapsever works strange. Some file works on the cgi-bin folder others on cgi-bin/raster.
I am working with 116 images too. I don't know if it makes any difference.
Sincerely
Ezequias
-------Mensagem original-------
De: Ed McNierney <mailto:ed at TOPOZONE.COM>
Data: 07/14/05 11:44:53
Para: MAPSERVER-USERS at LISTS.UMN.EDU
Assunto: Re: [UMN_MAPSERVER-USERS] Problem to load images
Ezequias -
This is probably due to the paths to the data. Your error message reports a relative path, which depends on the "current directory" on your server. It is easier to always use full pathnames (starting with a "/") to your data files when you're getting started. Try putting the whole path in your map file to see if that solves the problem.
- Ed
Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA 01863
ed at topozone.com
(978) 251-4242
________________________________
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On Behalf Of Ezequias Rodrigues da Rocha
Sent: Thursday, July 14, 2005 10:40 AM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] Problem to load images
Hi list,
My browser reported the error above:
msDrawRaster(): Unable to access file. (raster/recorte_01.tif)
Any suggestions ?
all my files are -rwxrwxrwx
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Atenciosamente (Sincerely)
Ezequias Rodrigues da Rocha
* www.recife.pe.gov.br <http://www.recife.pe.gov.br/>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
A pior das democracias ainda é melhor do que a melhor das ditaduras
The worst of democracies is still better than the better of dictatorships
MSN Messenger: ezequias at hotmail.com <mailto:ezequias at hotmail.com>
Add FUN to your email - CLICK HERE! <http://www.incredimail.com/index.asp?id=54760>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20050714/db28dabf/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: msn11.JPG
Type: image/jpeg
Size: 1111 bytes
Desc: msn11.JPG
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20050714/db28dabf/attachment.jpe>
More information about the MapServer-users
mailing list