Re: [mapserver-users] external graphic symbol don't follow the GetStyles method
You're absolutely right Assefa, adding the parameter WMS_SLD_SYMBOL_URL solve the problem. You're also right in saying that the information is somehow hidden BUT it is there so my mistake, I'll try to read more carefully next time MartinO 2010/12/1 Yewondwossen Assefa > Hi Martin, > > I think you need to define WMS_SLD_SYMBOL_URL to be able to generate an > External graphic. This is documented (almost hidden :) in > http://mapserver.org/ogc/sld.html#client-side-support > > best regards, > > > On 30/11/2010 5:01 PM, Martin Ouellet wrote: > > Hi, > > When I used a external graphic element in a SLD like this: > test > > indicatif103005 > 4.00 > > > http://www.w3.org/1999/xlink"; > xlink:type="simple" xlink:href=" > http://www2.dmsolutions.ca/msapps/world_testdata/map/etc/target-1.gif"/> > GIF > > > Then I used the temporary mapfile generated by the call to define the > same symbology but in my mapfile. > SYMBOL > NAME " > http://www2.dmsolutions.ca/msapps/world_testdata/map/etc/target-1.gif"; > TYPE PIXMAP > IMAGE "/srv/mapfile/ms_tmp/4cf56a54_49f8_1.gif" > GAP -11 > TRANSPARENT 0 > END > > CLASS > NAME "test" >EXPRESSION ([indicatif] = 103005) > MAXSCALEDENOM 4 > STYLE > ANGLE 360 > COLOR 0 0 0 > SIZE 5.5 > SYMBOL " > http://www2.dmsolutions.ca/msapps/world_testdata/map/etc/target-1.gif"; > WIDTH 1 > END > END > > Question: Finally, I would like to expose this symbology through the > GetStyles() method but it seem to be completely ignored? > test > > indicatif103005 > 4.00 > > > > Is it normal? Thank you in advance! > MartinO > > > ___ > mapserver-users mailing > listmapserver-us...@lists.osgeo.orghttp://lists.osgeo.org/mailman/listinfo/mapserver-users > > > > -- > > Assefa Yewondwossen > Software Analyst > > Email: yass...@dmsolutions.cahttp://www.dmsolutions.ca/ > > Phone: (613) 565-5056 (ext 14) > Fax: (613) 565-0925 > > > > ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] external graphic symbol don't follow the GetStyles method
Hi Martin, I think you need to define WMS_SLD_SYMBOL_URL to be able to generate an External graphic. This is documented (almost hidden :) in http://mapserver.org/ogc/sld.html#client-side-support best regards, On 30/11/2010 5:01 PM, Martin Ouellet wrote: Hi, When I used a external graphic element in a SLD like this: test indicatif103005 4.00 http://www.w3.org/1999/xlink"; xlink:type="simple" xlink:href="http://www2.dmsolutions.ca/msapps/world_testdata/map/etc/target-1.gif"/> GIF Then I used the temporary mapfile generated by the call to define the same symbology but in my mapfile. SYMBOL NAME "http://www2.dmsolutions.ca/msapps/world_testdata/map/etc/target-1.gif"; TYPE PIXMAP IMAGE "/srv/mapfile/ms_tmp/4cf56a54_49f8_1.gif" GAP -11 TRANSPARENT 0 END CLASS NAME "test" EXPRESSION ([indicatif] = 103005) MAXSCALEDENOM 4 STYLE ANGLE 360 COLOR 0 0 0 SIZE 5.5 SYMBOL "http://www2.dmsolutions.ca/msapps/world_testdata/map/etc/target-1.gif"; WIDTH 1 END END Question: Finally, I would like to expose this symbology through the GetStyles() method but it seem to be completely ignored? test indicatif103005 4.00 Is it normal? Thank you in advance! MartinO ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Assefa Yewondwossen Software Analyst Email: yass...@dmsolutions.ca http://www.dmsolutions.ca/ Phone: (613) 565-5056 (ext 14) Fax: (613) 565-0925 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] external graphic symbol don't follow the GetStyles method
Hi, When I used a external graphic element in a SLD like this: test indicatif103005 4.00 http://www.w3.org/1999/xlink"; xlink:type="simple" xlink:href=" http://www2.dmsolutions.ca/msapps/world_testdata/map/etc/target-1.gif"/> GIF Then I used the temporary mapfile generated by the call to define the same symbology but in my mapfile. SYMBOL NAME " http://www2.dmsolutions.ca/msapps/world_testdata/map/etc/target-1.gif"; TYPE PIXMAP IMAGE "/srv/mapfile/ms_tmp/4cf56a54_49f8_1.gif" GAP -11 TRANSPARENT 0 END CLASS NAME "test" EXPRESSION ([indicatif] = 103005) MAXSCALEDENOM 4 STYLE ANGLE 360 COLOR 0 0 0 SIZE 5.5 SYMBOL " http://www2.dmsolutions.ca/msapps/world_testdata/map/etc/target-1.gif"; WIDTH 1 END END Question: Finally, I would like to expose this symbology through the GetStyles() method but it seem to be completely ignored? test indicatif103005 4.00 Is it normal? Thank you in advance! MartinO ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users