Re: [mapserver-users] color range fade to transparent.

2015-06-02 Thread Basques, Bob (CI-StPaul)
All, My solution below turned out to not be correct either. It just ramps down from RED to the color WHITE, no transparency. Here is the layer block I’m using that I’m trying to fade to a transparent feature: MAP TRANSPARENT true IMAGECOLOR 254 254 254 LAYER METADA

Re: [mapserver-users] WMS service problem with mapserver mapfile layer classes

2015-06-02 Thread gorank
Here is image of all layers defined in mapfile and called with URL http://mapserver.stat.gov.mk/cgi-bin/GDZS/wms?map=/ms4w/apps/GDZS/NAS001_op.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&SRS=EPSG:7269&FORMAT=image/png&LAYERS=Opstini%2CRegioni%2CDrzGran%2CEzera&GODINA=2009&BBOX=436350.3581

Re: [mapserver-users] color range fade to transparent.

2015-06-02 Thread Ben Madin
Bob, Nice, I never knew that such a colorrange option existed (at least, I couldn’t find it documented anywhere?) but I would have presumed maybe you could specify the colour using the alpha like any other colour? > COLORRANGE 255 0 0 255 255 255 255 0 ## red -> transparent Alternatively, i

Re: [mapserver-users] color range fade to transparent.

2015-06-02 Thread Robert Sanson
Hi Bob You need an alpha (opacity) value that would go from 1 to 0. Can you set an opacity value in your database as an attribute that is calculated from age? Then maybe you could set the OPACITY in your layer to read it from the database column? Your output format should support RGBa values,

Re: [mapserver-users] color range fade to transparent.

2015-06-02 Thread Basques, Bob (CI-StPaul)
All answering my own question . . . I think this is working: Set TRANSPARENT and the IMAGECOLOR in the MAP block: TRANSPARENT true IMAGECOLOR 254 254 254 . . . then, set the COLORRNGE accordingly: COLORRANGE 255 0 0 254 254 254 ## Red to Transparent bobb > On Jun 2, 2015, at 3:48 PM, B

Re: [mapserver-users] WMS service problem with mapserver mapfile layer classes

2015-06-02 Thread Ben Madin
Goran, It is not clear to me what you are trying to do. It appears that you are suggesting including a year (‘godina’?) in your request, > On 2015-06-03, at 04:33 , gorank wrote: > >VALIDATION > "godina" "^[12][09][0-9][0-9]$"#THIS IS RUNTIME SUBSTITION > PARAMETER IT MEA

[mapserver-users] color range fade to transparent.

2015-06-02 Thread Basques, Bob (CI-StPaul)
All, Anyone know how to use a transparent color on one end of the coloring option? COLORRANGE 255 0 0 ??? ??? ??? ## red -> transparent It there a RGB color to use for Transparency to fade to? I basically want to fade a line based on age to nothing. Thanks bobb ___

Re: [mapserver-users] WMS service problem with mapserver mapfile layer classes

2015-06-02 Thread gorank
Thanks Jeff, part of the mapfile for particular layer is as follow. It shows municipalities in few classes with differrent criteria for attribute YEAR that is chosen from dropdown list in openlayers LAYER DATA "NAS001.shp" EXTENT 7407523.716202 4519137.450122 7716943.221608 4697261.550122

Re: [mapserver-users] WMS service problem with mapserver mapfile layer classes

2015-06-02 Thread Jeff McKenna
That's a cool WMS service! Regarding your problem, I suppose you should include more details like parts of your mapfile, so the community can help you. -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ On 2015-06-02 4:58 PM, gorank wrote: W

[mapserver-users] WMS service problem with mapserver mapfile layer classes

2015-06-02 Thread gorank
When I try to get WMS service in QGIS from this link http://mapserver.stat.gov.mk/cgi-bin/GDZS/wms?map=/ms4w/apps/GDZS/NAS001_op.map&; I get layers defined in mapserver mapfile. When I call lakes as polygons, and lines there is no problem to show this elements together with google map but when

Re: [mapserver-users] RE GetFeatureInfo on an WFS-Client-Layer

2015-06-02 Thread lars . schylberg
I think that You need to declare a "wms_include_items" "all" in the LAYER METADATA section. or 'wms_include_items' 'GEMEINDE, BEZIRK, BRW' if You just would like to expose a some items. /Lars S. -Originalmeddelande- > Från: "Jörg Thomsen" > Till: mapserver-users@lists.osgeo.or

Re: [mapserver-users] RE GetFeatureInfo on an WFS-Client-Layer

2015-06-02 Thread Pasquale Di Donato
Hi Jörg, I'm not really an expert but your GetFeature request returns: .. ... .. Maybe your gml_include should be something like: 'gml_include_items' 'fis:GEMEINDE, fis:BEZIRK, fis:BRW' On Tue, Jun 2, 2015 at 3:27 PM, Jörg Thomsen wrote: > > > Am 02.06.2015 um 14:59 schrieb ste

Re: [mapserver-users] RE GetFeatureInfo on an WFS-Client-Layer

2015-06-02 Thread Jörg Thomsen
Am 02.06.2015 um 14:59 schrieb steve.tout...@inspq.qc.ca: > I'm confused , do you mean that you have a WFS layer that you want to > publish as a WMS? > Could you send the layer definition of your mapfile? > Also have a look at TEMPLATE and DUMP in the layer def this is my mapfile: http://tib.osm

Re: [mapserver-users] RE GetFeatureInfo on an WFS-Client-Layer

2015-06-02 Thread Steve . Toutant
I'm confused , do you mean that you have a WFS layer that you want to publish as a WMS? Could you send the layer definition of your mapfile? Also have a look at TEMPLATE and DUMP in the layer def Jörg Thomsen @lists.osgeo.org Envoyé par : mapserver-users-boun...@lists.osgeo.org 2015-06-02 0

[mapserver-users] java - mapscript -postgis - raster FAILS

2015-06-02 Thread Ahmet Temiz
Hello I am trying to retrieve postgis-raster layer. It fails. I tested data with: 1. shp2img debug 4 -m trdem1.map -l trdem_3857_ov10 -o odem22.tif ; display odem22.tif 2. gdalwarp 'PG: dbname=tr22 host=localhost user=orkun password=22 port=5432 schema=public table=o_10_trdem2_3857whe

Re: [mapserver-users] RE GetFeatureInfo on an WFS-Client-Layer

2015-06-02 Thread Jörg Thomsen
Hello Steve, Am 02.06.2015 um 14:08 schrieb steve.tout...@inspq.qc.ca: > GetFeatureInfo is a WMS request, not WFS. > More details would help, to help.. >> I am confused, does GetFeatureInfo on an WFS-Client-Layer work? >> The Capablites say the layer ist queryable, but the request-answer ist >>

[mapserver-users] RE GetFeatureInfo on an WFS-Client-Layer

2015-06-02 Thread Steve . Toutant
GetFeatureInfo is a WMS request, not WFS. More details would help, to help.. Jörg Thomsen @lists.osgeo.org Envoyé par : mapserver-users-boun...@lists.osgeo.org 2015-06-01 11:20 Veuillez répondre à j...@mapmedia.de A "mapserver-users@lists.osgeo.org" cc Objet [mapserver-users] GetFeatureInf