<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18702"></HEAD>
<BODY bgColor=#ffffff text=#000000>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
class=436201312-20102010>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
class=436201312-20102010></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
class=436201312-20102010>It just - starts to work.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
class=436201312-20102010></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
class=436201312-20102010>I need to&nbsp;write a hundred more answers on this 
list before I have paid back&nbsp;this help. And </SPAN></FONT><FONT 
color=#0000ff size=2 face=Arial><SPAN class=436201312-20102010>Jeff, do you hear 
me?&nbsp; I copied my settings from a document <A 
href="http://mapserver.org/input/vector/ogr.html">http://mapserver.org/input/vector/ogr.html</A>. 
&nbsp;</SPAN></FONT><FONT color=#0000ff size=2 face=Arial><SPAN 
class=436201312-20102010>Obviously it should be updated a bit.&nbsp;&nbsp;I 
should have&nbsp;read <A 
href="http://mapserver.org/optimization/tileindex.html">http://mapserver.org/optimization/tileindex.html</A>&nbsp;instead.&nbsp;</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
class=436201312-20102010></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
class=436201312-20102010></SPAN></FONT><FONT color=#0000ff size=2 
face=Arial><SPAN class=436201312-20102010></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
class=436201312-20102010>-Jukka-</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
class=436201312-20102010></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
class=436201312-20102010></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
class=436201312-20102010></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
class=436201312-20102010></SPAN></FONT>&nbsp;</DIV><BR>
<BLOCKQUOTE 
style="BORDER-LEFT: #0000ff 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px" 
dir=ltr>
  <DIV dir=ltr lang=fi class=OutlookMessageHeader align=left>
  <HR tabIndex=-1>
  <FONT size=2 face=Tahoma><B>Lähettäjä:</B> Christy Nieman 
  [mailto:cnieman@dmsolutions.ca] <BR><B>Lähetetty:</B> 20. lokakuuta 2010 
  15:08<BR><B>Vastaanottaja:</B> Rahkonen Jukka<BR><B>Aihe:</B> Re: 
  [mapserver-users] Ogrtindex and attribute data<BR></FONT><BR></DIV>
  <DIV></DIV>What happens if you leave out the CONNECTIONTYPE when you use the 
  tile index?<BR><BR>i.e.:<BR><BR>LAYER<BR>&nbsp; TILEINDEX 
  "wildwater_tindex.shp"<BR>&nbsp; TILEITEM "location"&nbsp; # not needed if the 
  attribute with the data paths in your index is called "location"<BR>&nbsp; 
  CLASSITEM "luokka"<BR>&nbsp; ...<BR>&nbsp; CLASS<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
  NAME "wide_wildwater"<BR>&nbsp;&nbsp;&nbsp;&nbsp; EXPRESSION 
  "36311"<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
  STYLE<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 255 0 
  0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WIDTH 2<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
  END<BR>&nbsp; END<BR>END<BR><BR>I'm not certain if leaving the connection type 
  out will help, but it's not necessary assuming your data are all 
  shapefiles.<BR><BR>On 10/20/2010 07:49 AM, Rahkonen Jukka wrote: 
  <BLOCKQUOTE 
  cite=mid:CC197224AC75CE4DB23F739B16891B8601879DB4@tikka.haapa.mmm.fi 
  type="cite">
    <META name=GENERATOR content="MSHTML 8.00.6001.18702">
    <DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
    class=956384011-20102010>Hi,</SPAN></FONT></DIV>
    <DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
    class=956384011-20102010></SPAN></FONT>&nbsp;</DIV>
    <DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
    class=956384011-20102010>If I use a big combined shapefile as input I am 
    getting class 36311 coloured as red.&nbsp; If I am using tileindex I am 
    getting an empty map.&nbsp; Tileindex itself is working and if I comment out 
    the EXPRESSION while using tileindex I do get everything from the background 
    data drawn.&nbsp; Thus it is the classification that does not work for 
    me.</SPAN></FONT></DIV>
    <DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
    class=956384011-20102010>My Mapserver is&nbsp;version 5.2.1 and here are 
    some parts of my mapfile:</SPAN></FONT></DIV>
    <DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
    class=956384011-20102010></SPAN></FONT>&nbsp;</DIV>
    <DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
    class=956384011-20102010></SPAN></FONT>&nbsp;</DIV>
    <DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
    class=956384011-20102010>&nbsp; #CONNECTIONTYPE OGR<BR>&nbsp; #TILEINDEX 
    "wildwater_tindex.shp,0"&nbsp; #classification does not work with 
    this<BR>&nbsp;&nbsp;<BR>&nbsp;DATA "combined_wildwaters"&nbsp;&nbsp; 
    #classification works with this<BR>&nbsp;CLASSITEM 
    "luokka"</SPAN></FONT></DIV>
    <DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
    class=956384011-20102010>................................<BR>&nbsp; 
    CLASS<BR>&nbsp;&nbsp;&nbsp;&nbsp; NAME 
    "wide_wildwater"<BR>&nbsp;&nbsp;&nbsp;&nbsp; EXPRESSION 
    "36311"<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
    STYLE<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 255 0 
    0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WIDTH 
    2<BR>&nbsp;&nbsp;&nbsp;&nbsp; END<BR>&nbsp; END</SPAN></FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
    class=956384011-20102010>&nbsp; </SPAN></FONT></DIV>
    <DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
    class=956384011-20102010>-Jukka Rahkonen-</SPAN></FONT></DIV>
    <DIV dir=ltr align=left>&nbsp;</DIV><BR>
    <BLOCKQUOTE 
    style="BORDER-LEFT: rgb(0,0,255) 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px" 
    dir=ltr>
      <DIV dir=ltr lang=fi class=OutlookMessageHeader align=left>
      <HR tabIndex=-1>
      <FONT size=2 face=Tahoma><B>Lähettäjä:</B> <A 
      class=moz-txt-link-abbreviated 
      href="mailto:mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</A> 
      [<A class=moz-txt-link-freetext 
      href="mailto:mapserver-users-bounces@lists.osgeo.org">mailto:mapserver-users-bounces@lists.osgeo.org</A>] 
      <B>Puolesta </B>Christy Nieman<BR><B>Lähetetty:</B> 20. lokakuuta 2010 
      14:26<BR><B>Vastaanottaja:</B> <A class=moz-txt-link-abbreviated 
      href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</A><BR><B>Aihe:</B> 
      Re: [mapserver-users] Ogrtindex and attribute 
      data<BR></FONT><BR></DIV>Hi,<BR><BR>Do you mean that you cannot classify a 
      layer where the data are drawn using a tile index?&nbsp; I use tile 
      indexed shapefiles all the time and have never had any problems using 
      CLASSITEM/EXPRESSION and FILTERITEM/FILTER.&nbsp; Could you provide an 
      example of what's not working?<BR><BR>Regards,<BR><BR>Christy<BR><BR>On 
      10/19/2010 10:17 AM, Rahkonen Jukka wrote: 
      <BLOCKQUOTE 
      cite=mid:CC197224AC75CE4DB23F739B16891B8601879DAF@tikka.haapa.mmm.fi 
      type="cite">
        <META name=GENERATOR content="MSHTML 8.00.6001.18702">
        <DIV><FONT size=2 face=Arial><SPAN 
        class=459000514-19102010>Hi,</SPAN></FONT></DIV>
        <DIV><FONT size=2 face=Arial><SPAN 
        class=459000514-19102010></SPAN></FONT>&nbsp;</DIV>
        <DIV><FONT size=2 face=Arial><SPAN class=459000514-19102010>Can somebody 
        affirm that using ogr tileindex is breaking the access to the attribute 
        date of the real datasets, for example shapefiles?&nbsp; Somebody was 
        trying to use WMS GetFeatureInfo with a ogrtindex layer and failed and 
        so did I in the test I made for verification.&nbsp; Now I have been 
        trying myself to classify an orgtindex layer but CLASSITEM/EXPRESSION 
        does not select anything.&nbsp;FILTERITEM/FILTER does not work 
        either.&nbsp; Both systems work if I change a huge combined shapefile in 
        place of the tileindex connection and without EXPRESSION or FILTER 
        Mapserver is drawing all the features OK.</SPAN></FONT></DIV>
        <DIV><FONT size=2 face=Arial><SPAN 
        class=459000514-19102010></SPAN></FONT>&nbsp;</DIV>
        <DIV><FONT size=2 face=Arial><SPAN class=459000514-19102010>If access to 
        attribute data is not implemented, wouldn't it be cool to have it?&nbsp; 
        Multigigabyte shapefiles are tedious to update but I have a reason to 
        use files instead of a database in this case.</SPAN></FONT></DIV>
        <DIV><FONT size=2 face=Arial><SPAN 
        class=459000514-19102010></SPAN></FONT>&nbsp;</DIV>
        <DIV><FONT size=2 face=Arial><SPAN class=459000514-19102010>-Jukka 
        Rahkonen-</SPAN></FONT></DIV><PRE wrap=""><FIELDSET class=mimeAttachmentHeader></FIELDSET>
_______________________________________________
mapserver-users mailing list
<A class=moz-txt-link-abbreviated href="mailto:mapserver-users@lists.osgeo.org" moz-do-not-send="true">mapserver-users@lists.osgeo.org</A>
<A class=moz-txt-link-freetext href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" moz-do-not-send="true">http://lists.osgeo.org/mailman/listinfo/mapserver-users</A>
</PRE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>