[Mapserver-users] world files and tile indexing
Antonio Cosenza
antonio.cosenza at polito.it
Sat May 1 03:18:20 PDT 2004
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<blockquote
cite="mid13858AA1A74F30419F319ACB66A9D1224E4426 at mercator.topozone.com"
type="cite">
<pre wrap="">It would help if you could explain what you're trying to do! </pre>
</blockquote>
ok, i'll try tou explain you my situation!<br>
<blockquote
cite="mid13858AA1A74F30419F319ACB66A9D1224E4426 at mercator.topozone.com"
type="cite">
<pre wrap="">What
format are the raster files in now, </pre>
</blockquote>
The raster files are in jpg format. They are a set of 3 tiles NOT
GEOREFERENCED (of course, they are jpg!). But, i have a shapefile,
called tile.shp (so, georeferenced) representing the footprints of the
tiles. In tile.shp, I created a field (Path) including the absoulte
path to tiff tiles on my disk (ex. /var/www/.....F4-C4.tif).Now, i
converted the jpg files in tiff files, without the world files. I use
this mapfile configuration:<br>
<br>
LAYER<br>
NAME "pannelli"<br>
STATUS ON<br>
TYPE RASTER<br>
TILEINDEX "./tile.shp"<br>
TILEITEM "Path"<br>
END<br>
<br>
I run maplab, but an error occurs: unable to open tiff files:<br>
<br>
<table border="0" cellspacing="0" cellpadding="2">
<tbody>
<tr>
<td colspan="2"><font face="Arial,Helvetica,sans-serif" size="2"
color="#000000">Description</font></td>
</tr>
<tr>
<td colspan="2"><font face="ARIAL,Helvetica,sans-serif" size="2"
color="#ff3333">Unable to open world file for reading. in
/maplab/htdocs/common/wrapper/drawmap.php</font></td>
</tr>
<tr>
<td colspan="2"><font face="ARIAL,Helvetica,sans-serif" size="2"
color="#ff3333">Failed to draw layer named 'pannelli'. in
/maplab/htdocs/common/wrapper/drawmap.php</font></td>
</tr>
<tr>
<td colspan="2"><font face="ARIAL,Helvetica,sans-serif" size="2"
color="#ff3333">Unable to open world file for reading. in
/maplab/htdocs/common/wrapper/drawmap.php</font></td>
</tr>
<tr>
<td colspan="2"><font face="ARIAL,Helvetica,sans-serif" size="2"
color="#ff3333">Failed to draw layer named 'pannelli'. in
/maplab/htdocs/common/wrapper/drawmap.php</font></td>
</tr>
</tbody>
</table>
<br>
So, i created some empty world files! This time, maplab runs without
error, but it doesn't show me the tiles. It shows me only a blank page.<br>
Where is the problem?<br>
<br>
<br>
<blockquote
cite="mid13858AA1A74F30419F319ACB66A9D1224E4426 at mercator.topozone.com"
type="cite">
<pre wrap="">and what geographic reference data
do you have for them (and in what format)?
- Ed
Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA 01863
<a class="moz-txt-link-abbreviated" href="mailto:ed at topozone.com">ed at topozone.com</a>
(978) 251-4242
-----Original Message-----
From: Antonio Cosenza [<a class="moz-txt-link-freetext" href="mailto:antonio.cosenza at polito.it">mailto:antonio.cosenza at polito.it</a>]
Sent: Friday, April 30, 2004 5:43 AM
To: Ed McNierney; <a class="moz-txt-link-abbreviated" href="mailto:mapserver-users at lists.gis.umn.edu">mapserver-users at lists.gis.umn.edu</a>
Subject: Re: [Mapserver-users] world files and tile indexing
so, i need to convert the raster tiles in tiff format, without world
files? Right?
thanks
Ed McNierney wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Antonio -
Yes, as long as the georeference information is there for the tile
index to be created (and for the image to be rendered properly).
GeoTIFFs can be used in a TILEINDEX layer without world files.
- Ed
Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA 01863
<a class="moz-txt-link-abbreviated" href="mailto:ed at topozone.com">ed at topozone.com</a>
(978) 251-4242
-----Original Message-----
From: Antonio Cosenza [<a class="moz-txt-link-freetext" href="mailto:antonio.cosenza at polito.it">mailto:antonio.cosenza at polito.it</a>]
Sent: Thursday, April 29, 2004 2:40 PM
To: <a class="moz-txt-link-abbreviated" href="mailto:mapserver-users at lists.gis.umn.edu">mapserver-users at lists.gis.umn.edu</a>
Subject: [Mapserver-users] world files and tile indexing
Hi everyvody,
is it possible to use tile indexing without world file?
thanks
_______________________________________________
Mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Mapserver-users at lists.gis.umn.edu">Mapserver-users at lists.gis.umn.edu</a>
<a class="moz-txt-link-freetext" href="http://lists.gis.umn.edu/mailman/listinfo/mapserver-users">http://lists.gis.umn.edu/mailman/listinfo/mapserver-users</a>
</pre>
</blockquote>
<pre wrap=""><!---->
_______________________________________________
Mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Mapserver-users at lists.gis.umn.edu">Mapserver-users at lists.gis.umn.edu</a>
<a class="moz-txt-link-freetext" href="http://lists.gis.umn.edu/mailman/listinfo/mapserver-users">http://lists.gis.umn.edu/mailman/listinfo/mapserver-users</a>
</pre>
</blockquote>
<br>
</body>
</html>
More information about the MapServer-users
mailing list