Hi Jorg, thanks for your explanations that are very useful for me.
Goran
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/WMS-service-problem-with-mapserver-mapfile-layer-classes-tp5208743p5209177.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
_
Am 04.06.2015 um 13:00 schrieb gorank:
> I have changed it, actually deleted validation statement on CLASS level and
> add in LAYER METADATA
>
> *"default_godina" "2010"*
>
> and now the map for 2010 is shown.
>
> My question is, what should have the user to get map for year 2011 or 2013,
> bec
I have changed it, actually deleted validation statement on CLASS level and
add in LAYER METADATA
*"default_godina" "2010"*
and now the map for 2010 is shown.
My question is, what should have the user to get map for year 2011 or 2013,
because, I suppose, that always when I call the mapfile I wi
Hi Jorg,
I have put default value for 2010 on LAYER and CLASS level validation part
VALIDATION
"default_godina" "2010"
END #VALIDATION
but i'm not sure is it enough for others to use wms service without
problems.
Goran
--
View this message in context:
http://osgeo-org.1560.x6.nabbl
Hi Goran,
> I would like from you confirmation url that you gave
>
http://mapserver.stat.gov.mk/cgi-bin/GDZS/wms?map=/ms4w/apps/GDZS/NAS001_op.map&GODINA=2013&;
yes that's what I meant yesterday for testing it in qgis, but if you
want provide your url to others you should have a look at
http://ma
Hi Jorg,
It works with you help. Thanks. Actually I had problem to show
municipalities in qgis but your suggestion to add YEAR in service url,
solves the problem. I use shapefile with Year as attribute name (time series
from 2009 to 2013) so in openlayers I select year from dropdown list and in
the
Hi Goran,
problem solved? it seems to work...?
these two requests result in different maps:
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&&
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
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
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
12 matches
Mail list logo