<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=166111715-13072006>Richard -</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=166111715-13072006></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=166111715-13072006>First, please ALWAYS reply to the whole list.&nbsp; 
This lets everyone (and the archives) see the whole conversation, and it also 
doesn't obligate the first person to answer your question to answer all the rest 
of your questions &lt;g&gt;!</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=166111715-13072006></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=166111715-13072006>You can (and probably should) group together 
homogeneous files in a TILEINDEX layer.&nbsp; You can certainly combine your 30 
"buildings" files into a single layer, and your 30 "waterways" files into a 
single layer.&nbsp; This is commonly done.&nbsp; But you can't combine different 
types of data into a single logical layer; you probably wouldn't want to, as it 
would make the symbolization of those different features difficult.&nbsp; Roads 
are probably line features, and buildings are probably polygons, and one layer 
would need to be either a line layer or a polygon layer but not 
both.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=166111715-13072006></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=166111715-13072006>&nbsp;&nbsp;&nbsp; - Ed</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=166111715-13072006></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=166111715-13072006>
<P><FONT size=2>Ed McNierney<BR>President and Chief Mapmaker<BR>TopoZone.com / 
Maps a la carte, Inc.<BR>73 Princeton Street, Suite 305<BR>North Chelmsford, 
MA&nbsp; 01863<BR>ed@topozone.com<BR>(978) 251-4242 
</FONT></P></SPAN></FONT></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Richard Martin 
[mailto:richard.martin@tascomi.com] <BR><B>Sent:</B> Thursday, July 13, 2006 
9:27 AM<BR><B>To:</B> Ed McNierney<BR><B>Subject:</B> RE: [UMN_MAPSERVER-USERS] 
tile4ms aborts due to DBF fields notmatching<BR></FONT><BR></DIV>
<DIV></DIV>Thanks Ed<BR><BR>Perhaps I'm barking up the wrong tree.&nbsp; My 
problem is we have a directory of lots of shp files, already in tiles of a 
particular area.&nbsp; Each "tile" directory has shp files such as building, 
footpaths, waterways etc.&nbsp; What I'm looking for is a method of displaying 
all this easily.&nbsp; We have a nice TIFF map of the area and we have displayed 
one shp file from one "tile" directory on the map - all works well.&nbsp; The 
problem is how do I display the rest?&nbsp; We have a MAP file with this sort of 
content:<BR><BR>LAYER<BR>&nbsp;&nbsp; NAME basemap<BR>&nbsp;&nbsp; TYPE 
RASTER<BR>&nbsp;&nbsp; STATUS ON<BR>&nbsp;&nbsp; DATA 
"/var/www/ka-map/ka-map/htdocs/tmp/data/banbridge/images/220NE.tif"<BR>END<BR><BR>LAYER<BR>&nbsp;&nbsp; 
NAME buildings<BR>&nbsp;&nbsp; TYPE LINE<BR>&nbsp;&nbsp; STATUS 
ON<BR>&nbsp;&nbsp; DATA 
"/var/www/ka-map/ka-map/htdocs/tmp/data/banbridge/data/buildinl.shp"<BR>&nbsp;&nbsp; 
CLASS<BR>&nbsp;&nbsp;&nbsp;&nbsp; NAME "Buildings"<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
STYLE<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 200 100 
100<BR>&nbsp;&nbsp;&nbsp;&nbsp; END<BR>&nbsp;&nbsp; END<BR>END<BR><BR>The 
basemap being the lovely little map of our town, the building layer being a 
shpfile of some buildings in one "tile" - we have 30 directories of "tiles" each 
containing shp files for buildings, waterways etc. Other than putting in around 
1500 layers like the buildings layer above I don't see how to do this.... I 
thought tile4ms might help but as you pointed out the dbf files for each shp 
file in the "tile" directory won't match any other dbf files in the 
directory.<BR><BR>Do you have any pointers?&nbsp; Any help greatly 
appreciated!<BR><BR>Many thanks<BR>Richard<BR><BR><BR>On Thu, 2006-07-13 at 
08:35 -0400, Ed McNierney wrote: 
<BLOCKQUOTE TYPE="CITE"><PRE><FONT color=#000000>Richard -</FONT>

<FONT color=#000000>Well, you know what the problem is.  If you're going to group a set of</FONT>
<FONT color=#000000>shapefiles together using a TILEINDEX, those shapefiles all must have</FONT>
<FONT color=#000000>the same attribute fields in their DBF files, in the same order.</FONT>
<FONT color=#000000>MapServer expects to treat them all as one logical file, so they all</FONT>
<FONT color=#000000>need to look the same.</FONT>

<FONT color=#000000>        - Ed</FONT>

<FONT color=#000000>Ed McNierney</FONT>
<FONT color=#000000>President and Chief Mapmaker</FONT>
<FONT color=#000000>TopoZone.com / Maps a la carte, Inc.</FONT>
<FONT color=#000000>73 Princeton Street, Suite 305</FONT>
<FONT color=#000000>North Chelmsford, MA  01863</FONT>
<FONT color=#000000>Phone: +1 (978) 251-4242</FONT>
<FONT color=#000000>Fax: +1 (978) 251-1396</FONT>
<FONT color=#000000><A href="mailto:ed@topozone.com">ed@topozone.com</A> </FONT>

<FONT color=#000000>-----Original Message-----</FONT>
<FONT color=#000000>From: UMN MapServer Users List [mailto:<A href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU">MAPSERVER-USERS@LISTS.UMN.EDU</A>] On</FONT>
<FONT color=#000000>Behalf Of DrDik</FONT>
<FONT color=#000000>Sent: Thursday, July 13, 2006 8:12 AM</FONT>
<FONT color=#000000>To: <A href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU">MAPSERVER-USERS@LISTS.UMN.EDU</A></FONT>
<FONT color=#000000>Subject: [UMN_MAPSERVER-USERS] tile4ms aborts due to DBF fields not</FONT>
<FONT color=#000000>matching</FONT>

<FONT color=#000000>Hi - I've run this on OSNI data from Northern Ireland and get: Aborted.</FONT>
<FONT color=#000000>DBF fields do not match for file:&lt;filename&gt;, I figured this was an error</FONT>
<FONT color=#000000>in the data but I down loaded tiger data and get the same error.</FONT>

<FONT color=#000000>I have followed the exmaple at</FONT>
<FONT color=#000000><A href="http://mapserver.gis.umn.edu/docs/reference/utilityreference/tile4ms">http://mapserver.gis.umn.edu/docs/reference/utilityreference/tile4ms</A></FONT>
<FONT color=#000000>with no luck.  Any ideas?</FONT>

<FONT color=#000000>It likes 1 file ok.  But 2 files causes the Abort error.</FONT>

<FONT color=#000000>please help - I'm totally stuck!</FONT>
<FONT color=#000000>Thanks</FONT>
<FONT color=#000000>Richard</FONT>
<FONT color=#000000>--</FONT>
<FONT color=#000000>View this message in context:</FONT>
<FONT color=#000000><A href="http://www.nabble.com/tile4ms-aborts-due-to-DBF-fields-not-matching-tf19">http://www.nabble.com/tile4ms-aborts-due-to-DBF-fields-not-matching-tf19</A></FONT>
<FONT color=#000000>36865.html#a5306771</FONT>
<FONT color=#000000>Sent from the Mapserver - User forum at Nabble.com.</FONT>


</PRE></BLOCKQUOTE>
<TABLE cellSpacing=0 cellPadding=0 width="100%">
  <TBODY>
  <TR>
    <TD><B><FONT size=2><FONT color=#f2662d>Richard 
      Martin</FONT></FONT></B><BR><FONT size=2><FONT color=#32406b>Tascomi 
      Ltd</FONT></FONT><BR><FONT size=2><FONT color=#32406b>Head Office: 0845 
      119 6020</FONT></FONT><BR><FONT size=2><FONT color=#32406b>Support Line: 
      0845 119 6021</FONT></FONT><BR><BR><FONT size=1><FONT color=#bebebe>This 
      email and any files transmitted with it are confidential and intended 
      solely for the use of the individual or entity for whom they are 
      addressed. If you have received this email in error please notify the 
      system manager. Please note that any views or opinions presented in this 
      email are solely those of the author and do not necessarily represent 
      those of the company. Finally, the recipient should check this email and 
      any attachments for the presence of viruses. Tascomi&nbsp; Ltd accepts no 
      liability for any damage caused by any virus transmitted by the email. 
      </FONT></FONT></TD></TR></TBODY></TABLE></BODY></HTML>