Mapserver 5 beta 5 inline feature

Lars-Göran Edholm lged_morris at HOTMAIL.COM
Sun Aug 26 23:46:25 PDT 2007


Hi again!
I have problems with inline features in Mapserver 5 .
If I have points in the Mapfile everything is fine.
Mapfile:
layer
metadata
WMS_TITLE "Rita punkt"
end
   group "Ritade objekt"
    classitem "NAMN"
    labelcache on
    name "pktrit"
    postlabelcache true
    status on
    type point
FEATURE
  POINTS
   1550909 6711309
  END
TEXT "Test"
End
    class
      color 255 0 0
      name "Punkt"
      size 12
      symbol 2
      label
        antialias true
        color 255 0 0
        font "arial"
        minfeaturesize auto
        offset 10 0
        position cr
        size 12
        type truetype
      end
    end
end

The problem is to create an new feature.
Create an new feature:
......&map_pktrit=FEATURE+POINTS+1551231+6712571+END+TEXT+'A+test+point'+END&....
doesn´t work

And how to retrive the point to an hidden filed in the template:
<input type="hidden" name="map_pktrit_feature_points" 
value="[map_pktrit_feature_points]">
<input type="hidden" name="map_pktrit_feature_text" 
value="[map_pktrit_feature_text]">
doe not work

Lars-Göran Edholm

_________________________________________________________________
Student och ressugen – här finns bästa priserna 
http://www.ticket.se/sv/student/studentflyg.html



More information about the MapServer-users mailing list