I was able to get something very similar working, albeit via a straight MapServer CGI call – didn’t try WMS. I noticed in your example you reference two layers poor and polf, is that intended?
Request: http://maps1.dnr.state.mn.us/cgi-bin/mapserv72?map=/usr/local/mapserver/apps/test/temiz/test.map&mode=map&layer=polf&map_layer[polf]=FEATURE+POINTS+3559569+5042506+END+END Mapfile: MAP NAME 'ahmet temiz test mapfile' EXTENT 2857613.741389 4274927.875099 4989229.633477 5176940.449967 SIZE 400 300 SYMBOL NAME 'circle' TYPE ELLIPSE POINTS 1 1 END FILLED TRUE END LAYER NAME 'polf' TYPE POINT STATUS OFF CLASS STYLE COLOR 255 0 0 SYMBOL 'circle' SIZE 10 END END END END --Steve From: mapserver-users [mailto:[email protected]] On Behalf Of Ahmet Temiz Sent: Friday, July 28, 2017 11:12 PM To: [email protected] Subject: [mapserver-users] Wrong about cgi feature parameter Hi, I want to create a feature dynamically for point layer. But,What am I doing wrong ? It must be about feature parameter. But I was not able to solve it. This request generates nothing. curl --trace -i -g -X GET -H "Content-Type: image/png" "http://localhost/cgi-bin/mapserv?map=/var/www/ms_map/slptrRGB3857.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&Layers=poor &map_layer[polf]=FEATURE+POINTS+3559569+5042506+END+END&STYLES=&SRS=EPSG:3857&BBOX=2857613.741389,4274927.875099,4989229.633477,5176940.449967&WIDTH=400&HEIGHT=300&FORMAT=image/png" > out.png If you can help, I will appreciate. regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu ________________________ Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency
_______________________________________________ mapserver-users mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/mapserver-users
