Are Inline Features queryable?

anthony farrant anthony.k.farrant at GMAIL.COM
Thu Apr 19 09:07:25 EDT 2007


Hi people,

I have a layer with *INLINE FEATURES* and was wondering what attributes
I should add to make it queryable.

I'm getting the error: msINLINELayerGetShape(): No inline feature
How do I create or simulate an attribute within this inline layer?

Thanks in advance,

A


This is my code:

====================================

   LAYER
    METADATA
    END
    NAME "'.$name.'"
    PROJECTION
      #"EPSG:4326"
      "proj=latlong"
      "ellps=WGS84"
      "datum=WGS84"
    END
    TEMPLATE "query.html"
    TOLERANCE 3
    TOLERANCEUNITS PIXELS
    #SIZEUNITS PIXELS
    STATUS DEFAULT
    TYPE POINT
    #UNITS METERS
    CLASSITEM "COORDINATE"
    CLASS
      NAME "'.$name.'"
      STYLE
         #ANGLE 360
         OUTLINECOLOR 0 0 0
     SYMBOL "'.$symbol.'"
     COLOR '.implode(' ',$col).'
         SIZE '.$size.'
     END
        #LABEL
          #  COLOR 0 0 0
            #FONT monospace
            #TYPE TRUETYPE
            #POSITION CC
            #PARTIALS TRUE
            #SIZE 7
            #BUFFER 1
            #OUTLINECOLOR 255 255 255
        #END
    END
    FEATURE
      POINTS
       '.$features.'
      END
      TEXT "Coordinates"
    END

==================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20070419/9dd7d6fd/attachment.html


More information about the mapserver-users mailing list