ORG connection querybyattribute problem

Travis Kirstine traviskirstine at GMAIL.COM
Wed Jun 13 18:15:20 EDT 2007


I have several shp files with attibute index generated with ogr and
connected to mapsever using a tindex and a ogr connection.  The map
displays fine however  querybyattribute no longer works (works when
directly connected to shpfile).

Error Msg:
Warning: [MapServer Error]: msOGRLayerInitItemInfo(): Invalid Field
name: PIN in /var/www/html/avm_v2/classes/Map.php on line 279


   LAYER
      CONNECTIONTYPE OGR
      TILEINDEX
"/var/www/data/zoom2it_mapserver/teranet_parcels/avm_parcels/avm_ogrindex.shp,0"

      #TILEINDEX
/var/www/data/zoom2it_mapserver/teranet_parcels/avm_parcels/avm_parcelindex
      #TILEITEM "location"
      NAME "pin"
      TEMPLATE VOID
      METADATA
         DESCRIPTION "Parcel Identification Number (PIN)"
      END
      GROUP "pin"
      TYPE Polygon
      STATUS on
      CLASS
         STYLE
            OUTLINECOLOR 255 255 100
            SYMBOL 'line_tk'
            SIZE 2
         END
      END
   END

Any help would be great
-- 
Travis K.

Toronto, Canada
------------------------------------------------------------
"She knows there's no success like failure
And that failure's no success at all."
-Bob Dylan-
------------------------------------------------------------



More information about the mapserver-users mailing list