Hi Armin

I have another question about joins :(

So far I understand Mapserver requires a template in the class object 
(another template in the join object if you uses a one-to-many join)
See the demo layer of the mapserver tutorial below.
Now I am wondering How does Pmapper handle this, ignores pmapper the 
templates or what does pmapper with it?
I hope you can give me some information about that.

Btw the new features are now in testphase by the local Dutch government 
and after that they are ready to contribute to you.

Greetings,

Dennis-Jan

LAYER # Urban areas polygon layer begins here
    NAME cities_poly
    GROUP cities
    TYPE Polygon
    STATUS on
    DATA urban_ugl

    # The HEADER and FOOTER keywords within a layer object is used to define the
    # header and footer templates for the TEMPLATE keyword used in the CLASS
    # object.  Uncomment the two lines below and look at the template files
    # themselves to see how they work.
    HEADER '../templates/cities_header.html'
    FOOTER '../templates/cities_footer.html'

    # The keyword TOLERANCE provides a measure of sensitivity for point-based
    # queries.  In this example, a mouse-click will have a radius of 3 pixels.
    # TOLERANCE has an associated keyword, TOLERANCEUNITS.  When TOLERANCEUNITS
    # isn't defined, MapServer assumes the units to be pixels.
    TOLERANCE 3
    CLASS
        NAME 'Urban Areas'

        # The TEMPLATE keyword within a CLASS object is used to define the
        # HTML query template to use in displaying database records when the
        # query or nquery mode in MapServer is invoked.
        TEMPLATE '../templates/cities_query.html'

      STYLE
        COLOR 255 240 115
      END
     END  # CLASS

    PROJECTION
      "init=epsg:4326"
    END
  END  # Urban areas polygon layer ends here

-- 
DJ Broerse dennisjan at ibuildings.nl
Direct: 0118 42 95 68 Mobiel: 06 48 01 03 08
Skype: callto://dennisjan-ibuildings
Ibuildings.nl BV - Information technology
http://www.ibuildings.nl - 0118 42 95 50


Reply via email to