<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:14px"><div><span>Hello Gorank,</span></div><div dir="ltr" id="yui_3_16_0_ym19_1_1487762670645_5881"><span id="yui_3_16_0_ym19_1_1487762670645_5880"> I see you've set the DEBUG object in the map level. Does it give you any report? If not do you get any errors in your browser ?</span></div><div dir="ltr" id="yui_3_16_0_ym19_1_1487762670645_5884"><span><br></span></div><div dir="ltr" id="yui_3_16_0_ym19_1_1487762670645_5883"><span id="yui_3_16_0_ym19_1_1487762670645_5882">-Stefanos</span></div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 14px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font size="2" face="Arial"> Στις 10:52 π.μ. Τετάρτη, 22 Φεβρουαρίου 2017, ο/η gorank <kirandziskig@gmail.com> έγραψε:<br></font></div> <br><br> <div class="y_msg_container">I have a problem with connection to wms service and don't now what is the<br>problem. <br><br>The URL is : <br><br><a href="http://makstat.stat.gov.mk:8080/cgi-bin/GDZS/wms?map=/ms4w/apps/GDZS/NASA.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=Getcapabilities" target="_blank">http://makstat.stat.gov.mk:8080/cgi-bin/GDZS/wms?map=/ms4w/apps/GDZS/NASA.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=Getcapabilities</a><br><br><br><br>Maybe the problem is the .map file below<br><br>MAP<br> CONFIG "MS_ERRORFILE" "C:\ms4w\Apache\cgi-bin\GDZS\Error.txt"<br> DEBUG 5<br> EXTENT 7446477 4453517 7682148 4763251<br> FONTSET "ttf-fonts/fonts.txt"<br> IMAGETYPE "png"<br> NAME "MapStatDZS"<br> SHAPEPATH "data/"<br> SIZE 800 600<br> UNITS METERS<br><br> OUTPUTFORMAT<br> NAME "png"<br> MIMETYPE "image/png"<br> DRIVER "AGG/PNG"<br> EXTENSION "png"<br> IMAGEMODE RGB<br> TRANSPARENT FALSE<br> FORMATOPTION "QUALITY=95"<br> END # OUTPUTFORMAT<br><br> PROJECTION<br> "init=epsg:6316"<br> END # PROJECTION<br> LEGEND<br> KEYSIZE 30 17<br> KEYSPACING 10 10<br> LABEL<br> FONT "arial"<br> SIZE 10<br> COLOR 0 0 89<br> ENCODING "iso-8859-5"<br> OFFSET 0 -3<br> SHADOWSIZE 5 1<br> TYPE TRUETYPE<br> END # LABEL<br> STATUS ON<br> TRANSPARENT FALSE<br> END # LEGEND<br><br> QUERYMAP<br> SIZE -1 -1<br> STATUS ON<br> STYLE HILITE<br> END # QUERYMAP<br><br> SCALEBAR<br> INTERVALS 4<br> LABEL<br> SIZE MEDIUM<br> OFFSET 0 0<br> SHADOWSIZE 1 1<br> TYPE BITMAP<br> END # LABEL<br> SIZE 200 3<br> STATUS OFF<br> UNITS MILES<br> END # SCALEBAR<br><br> WEB<br> IMAGEPATH "C:/ms4w/tmp/ms_tmp/"<br> IMAGEURL "/ms_tmp/"<br> METADATA<br> "wms_srs" "EPSG:6316 EPSG:4326 EPSG:3909"<br> "wms_onlineresource"<br>"<a href="http://makstat.stat.gov.mk:8080/cgi-bin/GDZS/wms?map=/ms4w/apps/GDZS/NASA.map&" target="_blank">http://makstat.stat.gov.mk:8080/cgi-bin/GDZS/wms?map=/ms4w/apps/GDZS/NASA.map&</a>"<br> "wms_encoding" "utf-8"<br> "wms_title" "StatMap"<br> END # METADATA<br> #TEMPLATE "C:/ms4w/Apache/cgi-bin/goki/tretTemplejt.html"<br> END # WEB<br><br> LAYER<br> DATA "NASA.shp" <br> EXTENT 7446477 4453517 7682148 4763251<br> LABELITEM "NAZIVOP_MK"<br> LABELMAXSCALEDENOM 443652<br> METADATA<br> "wms_srs" "EPSG:6316 EPSG:4326 EPSG:3909"<br> "wms_onlineresource"<br>"<a href="http://makstat.stat.gov.mk:8080/cgi-bin/GDZS/wms?map=/ms4w/apps/GDZS/NASA.map&" target="_blank">http://makstat.stat.gov.mk:8080/cgi-bin/GDZS/wms?map=/ms4w/apps/GDZS/NASA.map&</a>"<br> "wms_enable_request" "*"<br> "wfs_enable_request" "*"<br> "coordsys_name" "Macedonia State Coordinate System zone 7"<br> "wms_title" "Opstini"<br> #"default_godina" "2010"<br> END # METADATA<br> NAME "Opstini"<br> PROJECTION<br> "proj=tmerc"<br> "lat_0=0"<br> "lon_0=21"<br> "k=0.9999"<br> "x_0=7500000"<br> "y_0=0"<br> "ellps=bessel"<br> "towgs84=551.7,162.9,467.9,6.04,1.96,-11.38,-4.82"<br> "units=m"<br> "no_defs"<br> END # PROJECTION<br> STATUS ON<br> TEMPLATE "query"<br> TILEITEM "location"<br> TYPE POLYGON<br> UNITS METERS<br> <br> <br> #VALIDATION<br> # "godina" "^[12][09][0-9][0-9]$"<br> <br> #END #VALIDATION<br> CLASS<br> NAME "klasa_1"<br> EXPRESSION ([2011] > 0 and [2011] < 5)<br> LABEL<br> FONT "maccswiss"<br> SIZE 8<br> #ENCODING "iso-8859-5"<br> OFFSET 0 0<br> POSITION CC<br> SHADOWSIZE 1 1<br> TYPE TRUETYPE<br> END # LABEL<br> STYLE<br> COLOR 255 255 128<br> OUTLINECOLOR 130 130 130<br> WIDTH 0.5<br> END # STYLE<br> TITLE "4.9 или помалку"<br> END # CLASS<br> CLASS<br> NAME "klasa_2"<br> EXPRESSION ([2011] >= 5 and [2011] < 10)<br> LABEL<br> FONT "maccswiss"<br> SIZE 8<br> #ENCODING "iso-8859-5"<br> OFFSET 0 0<br> POSITION CC<br> SHADOWSIZE 1 1<br> TYPE TRUETYPE<br> END # LABEL<br> STYLE<br> COLOR 250 209 85<br> OUTLINECOLOR 130 130 130<br> WIDTH 0.5<br> END # STYLE<br> TITLE "5.0 - 9.9"<br> END # CLASS<br> CLASS<br> NAME "klasa_3"<br> EXPRESSION ([2011] >=10 and [2011] < 15)<br> LABEL<br> FONT "maccswiss"<br> SIZE 8<br> #ENCODING "iso-8859-5"<br> OFFSET 0 0<br> POSITION CC<br> SHADOWSIZE 1 1<br> TYPE TRUETYPE<br> END # LABEL<br> STYLE<br> COLOR 242 167 46<br> OUTLINECOLOR 130 130 130<br> WIDTH 0.5<br> END # STYLE<br> TITLE "10.0 - 14.9"<br> END # CLASS<br> CLASS<br> NAME "klasa_4"<br> EXPRESSION ([2011] >= 15 and [2011] < 20)<br> LABEL<br> FONT "maccswiss"<br> SIZE 8<br> #ENCODING "iso-8859-5"<br> OFFSET 0 0<br> POSITION CC<br> SHADOWSIZE 1 1<br> TYPE TRUETYPE<br> END # LABEL<br> STYLE<br> COLOR 173 83 19<br> OUTLINECOLOR 130 130 130<br> WIDTH 0.5<br> END # STYLE<br> TITLE "15.0 - 19.9"<br> END # CLASS<br> CLASS<br> NAME "klasa_5"<br> EXPRESSION ([2011] >= 20 and [2011] < 10000)<br> LABEL<br> FONT "maccswiss"<br> SIZE 8<br> #ENCODING "iso-8859-5"<br> OFFSET 0 0<br> POSITION CC<br> SHADOWSIZE 1 1<br> TYPE TRUETYPE<br> END # LABEL<br> STYLE<br> COLOR 107 0 0<br> OUTLINECOLOR 130 130 130<br> WIDTH 0.5<br> END # STYLE<br> TITLE "20 и повеќе"<br> END # CLASS<br> <br> END # LAYER<br><br> LAYER<br> DATA "REGIONI2007_NASA.shp"<br> EXTENT 7446477 4453517 7682148 4763251<br> METADATA<br> "wms_srs" "EPSG:6316 EPSG:4326 EPSG:3909"<br> "wms_onlineresource"<br>"<a href="http://makstat.stat.gov.mk:8080/cgi-bin/GDZS/wms?map=/ms4w/apps/GDZS/NASA.map&" target="_blank">http://makstat.stat.gov.mk:8080/cgi-bin/GDZS/wms?map=/ms4w/apps/GDZS/NASA.map&</a>"<br> "wms_enable_request" "*"<br> "coordsys_name" "Macedonia State Coordinate System zone 7"<br> "wms_title" "Regioni"<br> END # METADATA<br> NAME "Regioni"<br> PROJECTION<br> "proj=tmerc"<br> "lat_0=0"<br> "lon_0=21"<br> "k=0.9999"<br> "x_0=7500000"<br> "y_0=0"<br> "ellps=bessel"<br> "towgs84=551.7,162.9,467.9,6.04,1.96,-11.38,-4.82"<br> "units=m"<br> "no_defs"<br> END # PROJECTION<br> STATUS ON<br> TEMPLATE "query"<br> TILEITEM "location"<br> LABELITEM "NAZIV_NTES"<br> TYPE POLYGON<br> UNITS METERS<br> CLASS<br> NAME "Reg"<br> LABEL<br> FONT "maccswiss"<br> SIZE 14<br> OFFSET 0 0<br> POSITION CC<br> SHADOWSIZE 1 1<br> TYPE TRUETYPE<br> END # LABEL<br> STYLE<br> OUTLINECOLOR 20 20 20<br> END # STYLE<br> END # CLASS<br> END # LAYER<br><br> LAYER<br> DATA "DrzGran_NASA.shp"<br> EXTENT 7446477 4453517 7682148 4763251<br> METADATA<br> "wms_srs" "EPSG:6316 EPSG:4326 EPSG:3909"<br> "wms_onlineresource"<br>"<a href="http://makstat.stat.gov.mk:8080/cgi-bin/GDZS/wms?map=/ms4w/apps/GDZS/NASA.map&" target="_blank">http://makstat.stat.gov.mk:8080/cgi-bin/GDZS/wms?map=/ms4w/apps/GDZS/NASA.map&</a>"<br> "wms_enable_request" "*"<br> "coordsys_name" "Macedonia State Coordinate System zone 7"<br> "wms_title" "DrzavnaGranica"<br> END # METADATA<br> NAME "DrzGran"<br> PROJECTION<br> "proj=tmerc"<br> "lat_0=0"<br> "lon_0=21"<br> "k=0.9999"<br> "x_0=7500000"<br> "y_0=0"<br> "ellps=bessel"<br> "towgs84=551.7,162.9,467.9,6.04,1.96,-11.38,-4.82"<br> "units=m"<br> "no_defs"<br> END # PROJECTION<br> STATUS ON<br> TEMPLATE "query"<br> TILEITEM "location"<br> TYPE LINE<br> UNITS METERS<br> CLASS<br> NAME "Drzag"<br> LABEL<br> SIZE SMALL<br> OFFSET 0 0<br> POSITION CC<br> SHADOWSIZE 1 1<br> TYPE BITMAP<br> END # LABEL<br> STYLE<br> OUTLINECOLOR 50 50 50<br> WIDTH 1.9<br> END # STYLE<br> END # CLASS<br> END # LAYER<br><br> LAYER<br> DATA "EZERA_NASA.shp"<br> EXTENT 7446477 4453517 7682148 4763251<br> METADATA<br> "wms_srs" "EPSG:6316 EPSG:4326 EPSG:3909"<br> "wms_onlineresource"<br>"<a href="http://makstat.stat.gov.mk:8080/cgi-bin/GDZS/wms?map=/ms4w/apps/GDZS/NASA.map&" target="_blank">http://makstat.stat.gov.mk:8080/cgi-bin/GDZS/wms?map=/ms4w/apps/GDZS/NASA.map&</a>"<br> "wms_enable_request" "*"<br> "coordsys_name" "Macedonia State Coordinate System zone 7"<br> "wms_title" "Ezera"<br> END # METADATA<br> NAME "Ezera"<br> PROJECTION<br> "proj=tmerc"<br> "lat_0=0"<br> "lon_0=21"<br> "k=0.9999"<br> "x_0=7500000"<br> "y_0=0"<br> "ellps=bessel"<br> "towgs84=551.7,162.9,467.9,6.04,1.96,-11.38,-4.82"<br> "units=m"<br> "no_defs"<br> END # PROJECTION<br> STATUS ON<br> TEMPLATE "query"<br> TILEITEM "location"<br> TYPE POLYGON<br> UNITS METERS<br> CLASS<br> NAME "Ezera"<br> LABEL<br> SIZE SMALL<br> OFFSET 0 0<br> POSITION CC<br> SHADOWSIZE 1 1<br> TYPE BITMAP<br> END # LABEL<br> STYLE<br> OUTLINECOLOR 0 158 219<br> WIDTH 0.91<br> END # STYLE<br> STYLE<br> COLOR 199 234 251<br> END # STYLE<br> END # CLASS<br> END # LAYER<br> <br> <br><br>END # MAP<br><br><br><br><br>--<br>View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/WMS-service-doesn-t-work-tp5308980.html" target="_blank">http://osgeo-org.1560.x6.nabble.com/WMS-service-doesn-t-work-tp5308980.html</a><br>Sent from the Mapserver - User mailing list archive at Nabble.com.<br>_______________________________________________<br>mapserver-users mailing list<br><a ymailto="mailto:mapserver-users@lists.osgeo.org" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br><a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br><br></div> </div> </div> </div></div></body></html>