[mapserver-users] change the color using updateFromstring
hello how can I change the color of this layer(line) using updateFromstring in a java program ? Layer.updateFromString(upstring); how is upstring is constructed to change its color LAYER NAME "es_yukseklik" LABELITEM "elev" DATA "/usr/local/hsunucu/scontour92" STATUS OFF TYPE LINE #LABELITEM "level" CLASS COLOR 199 199 199 LABEL POSITION auto #SIZE TINY SIZE MEDIUM #OUTLINECOLOR 247 234 168 COLOR 149 149 149 END END # end of yukseklik object END # end of es_yukseklik layer regards ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Change a SYMBOL param via URL (CGI MapServer)
I want to change the POINTS values in a SYMBOL defined in my map file. Can you do this on the fly? i.e. I define the symbol in the map file: MAP . . SYMBOL NAME mySymbol TYPE ELLIPSE POINTS 1 1 END FILLED TRUE END . . END In the URL I have tried both: ...&map_symbol[mySymbol]=POINTS+2+1+END&... and ...&map_symbol[mySymbol]_POINTS=2+1&... Neither results in a parse error, but they don't change the aspect of the ellipse either. Can it be done? -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Change-a-SYMBOL-param-via-URL-CGI-MapServer-tp5522137p5522137.html Sent from the Mapserver - User mailing list archive at Nabble.com. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Re: Get Pixel value of RASTER data using input geographic coordinate via WMS or WCS
sarawut wrote: > > Hi list, > > I would like to get a raster pixel value using WMS or WCS connection. For > example, 1 pixel value from 10 Modis image band. The value may be returned > as xml or gml if possible. > > I know we can use GetFeatureInfo via WMS to get a value of pixel (of > vector or raster). But the input x and y or is an image oriented not > exactly geographic coordinate value. > > In case of WCS, GetCoverage allow to request data with a geographic > coordinate. But I used to familiar with outputformat as Image file. Is > there possible to use it and return as GML or text based? > > Please advise me for some hint, > > Sarawut > did you find an answer to your question ? -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Get-Pixel-value-of-RASTER-data-using-input-geographic-coordinate-via-WMS-or-WCS-tp2950905p5522458.html Sent from the Mapserver - User mailing list archive at Nabble.com. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users