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
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
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
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,
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
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
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
___
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
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
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
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
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
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
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
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
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
>>
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
17 matches
Mail list logo