[mapserver-users] Changing feature points

Stepan Kafka kafka at email.cz
Tue Jun 5 01:21:09 PDT 2001


Remove POINTS section in your map file. (I had similar problem with it and
it helped me.)

Stepan Kafka

> -----Původní zpráva-----
> Od: owner-mapserver-users at lists.gis.umn.edu
> [mailto:owner-mapserver-users at lists.gis.umn.edu]za uživatele Mike Law
> Odesláno: 4. června 2001 22:12
> Komu: mapserver-users at lists.gis.umn.edu
> Předmět: [mapserver-users] Changing feature points
>
>
> Greetings all,
>
> I'm having some trouble with the MapServer 3.4 cgi processing a change in
> the point values for a feature object.  I've added a form object
> which adds
> the following to the url:
>
>   ...&map_postcode_feature_points=-79.97+43.45&...
>
> to try and dynamically change the location of the symbol based on
> user input
> (which will eventually be drawn from a database, but that's going to be
> implemented later).
>
> When it is run (under Apache on Windows), I get a crash in
> MapServer and an
> Internal Server Error sent back from Apache.  I've copied the relevant
> section from my .map file below.  I'm wondering if there's something that
> I'm doing wrong here.  Thanks very much for any help people can give me.
>
> cheers,
>
> Mike
>
> ------
>
>   layer
>     name "postcode"
>     postlabelcache true
>     status default
>     type point
>
>     class
>       symbol "place_ident"
>
>       label
>         angle auto
>         antialias
>         backgroundcolor 255 255 255
>         buffer 1
>         color 255 255 255
>         font "arial"
>         force false
>         maxsize 9
>         mindistance 15
>         minfeaturesize auto
>         minsize 9
>         offset 6 6
>         outlinecolor 0 0 0
>         position ur
>         size 9
>         type truetype
>       end
>     end
>
>     feature
>       text "You Live Here!"
>       points -79.87 43.25 end
>     end
>   end
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>




More information about the MapServer-users mailing list