Re: [mapserver-users] how use the expression function "area"

2013-01-08 Thread Andrea Peri
Hi, Thx very much. It work perfectly ! 2013/1/8 Lime, Steve D (DNR) : > Hi Andrea: In expressions the tag [shape] should be used to reference the > current geometry. Many of the drivers don't define a geometry name column > (e.g. native shapefiles) so we needed a consistent way to refer to it

Re: [mapserver-users] how use the expression function "area"

2013-01-08 Thread Lime, Steve D (DNR)
Hi Andrea: In expressions the tag [shape] should be used to reference the current geometry. Many of the drivers don't define a geometry name column (e.g. native shapefiles) so we needed a consistent way to refer to it... So try: EXPRESSION ( (area([shape]) > 1000) ) Steve -Original

Re: [mapserver-users] GetLegendGraphics don't return correctly the point symbol

2013-01-08 Thread Andrea Peri
ok, thx for help. It don't seem to be a bug, but, instead an enhancement. 2013/1/8 thomas bonfort : > correct, I've just checked and geomtransform handling isn't supported > for legend rendering. > > -- > thomas > > On 8 January 2013 13:51, Andrea Peri wrote: >> Hi, >> >> I try the >> geomtran

Re: [mapserver-users] GetLegendGraphics don't return correctly the point symbol

2013-01-08 Thread thomas bonfort
correct, I've just checked and geomtransform handling isn't supported for legend rendering. -- thomas On 8 January 2013 13:51, Andrea Peri wrote: > Hi, > > I try the > geomtransform centroid > > Unfortunately still the GetLegendGraphics return the > > > > > > This is the call samp

[mapserver-users] Raster rendering order combining two processing directives

2013-01-08 Thread Juan Rapoport
Hi all, does anyone know wich is the rendering order if I combine the PROCESSING directives SCALE and LUT. Wich one is apply first? Thanks in advance, -- Juan Rapoport SUR Emprendimientos Tecnológicos Perú 345 Piso 5to Oficina "B" (C1067AAG) Ciudad de Buenos Aires, Argentina Tel. +54 (11) 434

Re: [mapserver-users] GetLegendGraphics don't return correctly the point symbol

2013-01-08 Thread Andrea Peri
Hi, I try the geomtransform centroid Unfortunately still the GetLegendGraphics return the This is the call sample: http://web.regione.toscana.it/wmsraster/com.rt.wms.RTmap/wms?map=wmstematici&service=wms&request=GetLegendGraphic&version=1.3.0&format=image/png&SLD_VERSION=1.1.0&l

Re: [mapserver-users] GetLegendGraphics don't return correctly the point symbol

2013-01-08 Thread Andrea Peri
oh oh. :) I don't know it was existant. It is not in the documentation. :) I try it instantly. 2013/1/8 thomas bonfort : > then you need geomtransform centroid, no? > > On 8 January 2013 13:33, Andrea Peri wrote: >> Actually it is returning something like this: >> >> OOO >> OOO >>

Re: [mapserver-users] GetLegendGraphics don't return correctly the point symbol

2013-01-08 Thread thomas bonfort
then you need geomtransform centroid, no? On 8 January 2013 13:33, Andrea Peri wrote: > Actually it is returning something like this: > > OOO > OOO > OOO > OOO > > These seem a polygon filled with many circles internally > > Instead I would like to obtain something like this: > >

Re: [mapserver-users] GetLegendGraphics don't return correctly the point symbol

2013-01-08 Thread Andrea Peri
Actually it is returning something like this: OOO OOO OOO OOO These seem a polygon filled with many circles internally Instead I would like to obtain something like this: O 2013/1/8 thomas bonfort : > what are you trying to obtain ? > > On 8 January 2013 13:16, Andrea

Re: [mapserver-users] GetLegendGraphics don't return correctly the point symbol

2013-01-08 Thread thomas bonfort
what are you trying to obtain ? On 8 January 2013 13:16, Andrea Peri wrote: > Hi, > many thx for response. > >> Do you have a SIZEUNIT or SYMBOLSCALEDENOM set on your layer ? > > No. > >> Try increasing/setting your CLASS->STYLE->SIZEs, and remove the GEOMTRANSFORM > > I try to removing the geomt

Re: [mapserver-users] GetLegendGraphics don't return correctly the point symbol

2013-01-08 Thread Andrea Peri
Hi, many thx for response. > Do you have a SIZEUNIT or SYMBOLSCALEDENOM set on your layer ? No. > Try increasing/setting your CLASS->STYLE->SIZEs, and remove the GEOMTRANSFORM I try to removing the geomtransform, but it do disappeared all symbol (ie polygons lesser then defined area). But I se

Re: [mapserver-users] GetLegendGraphics don't return correctly the point symbol

2013-01-08 Thread thomas bonfort
Do you have a SIZEUNIT or SYMBOLSCALEDENOM set on your layer ? Try increasing/setting your CLASS->STYLE->SIZEs, and remove the GEOMTRANSFORM -- thomas On 8 January 2013 12:18, Andrea Peri wrote: > Hi, > > I have a polygon layer that at some scales try to render with a symbol. > To do this I defi

[mapserver-users] GetLegendGraphics don't return correctly the point symbol

2013-01-08 Thread Andrea Peri
Hi, I have a polygon layer that at some scales try to render with a symbol. To do this I define a specific symbol style: SYMBOL NAME "circlefill" TYPE ellipse POINTS 1 1 END FILLED true ANCHORPOINT 0.5 0.5 END And use this in the class definition as here where

[mapserver-users] how use the expression function "area"

2013-01-08 Thread Andrea Peri
Hi, I see in the mapserver 6.2 is added the function "area" to the expressions. So I try to use this expression: EXPRESSION ( (area([GEOMETRY]) > 1000) ) where geometry is the geometry field. The datasource is a spatialite db where the geometry filed is named "GEOMETRY" It return this err