[OSGeoJapan-discuss] OSGeo4WのMapServerの例題−2(再送)
奈良崎 優
mnarazaki @ mpcnet.co.jp
2012年 5月 16日 (水) 22:35:28 EDT
$BD+F|MM!"0KF#MM!"3'MM(B
$B$"$j$,$H$&$4$6$$$^$9!#(B
$B$*$+$2$5$^$G!"(BOSGeo4W$B$N(BMapserver$B$NNcBj(B2$B$HNcBj(B3$B$rAH$_9g$o$;$F;HMQ$9$kNc$,=PMh$^$7$?!#(B
$BF10l(BLAYER$B$NCf$K(BFILTER$B$O(B2$B8D0J>e;HMQ$G$-$J$$$N$G!"(BCLASSITEM$B$H(BFILTER$B$NAH$_9g$o$;$G>r7oJ8$NBeMQ$r$9$k$3$H$,=PMh$^$9!#(B
$B<!$NNc$O!"(BMapserver6.0$B$GF;O)I}0wI}!J(BFUKUIN)$B$,(B13.0m$B0J>e$NF;O)$rM-NA$HL5NA$G?'J,$1$7$?(BMap$B%U%!%$%k$G$9!#(B
MAP
NAME "QGIS-MAP"
IMAGETYPE PNG
EXTENT 139.562947 35.524705 139.917821 35.817635
SIZE 550 450
IMAGECOLOR 255 255 255
SHAPEPATH "../data"
WEB
IMAGEPATH 'C:\MS4W/tmp/ms_tmp/'
IMAGEURL '/ms_tmp/'
METADATA
'ows_title' 'QGIS-MAP'
'ows_onlineresource' 'http://localhost/cgi-bin/mapserv.exe?map=C:/ms4w/apps/mapserver-tutorial/example02/example_3.map'
'ows_srs' 'EPSG:4019'
wws_enable_request "*"
END
END
LAYER
NAME "douro"
DATA dourokukan
STATUS DEFAULT
TYPE LINE
CLASSITEM "YURYO"
FILTER("[FUKUIN]"="13.0m$B0J>e(B")
CLASS
NAME "first class"
EXPRESSION '$BL5NA(B'
STYLE
COLOR 205 205 205
END
END
CLASS
NAME "second class"
EXPRESSION '$BM-NA(B'
STYLE
COLOR 255 0 0
END
END
END
END
END
$B?=$7Lu$"$j$^$;$s!#(B
$B:G=i$NLdBj @ _Dj!J!a9qF;HV9f!J(BKOKUBUN$B!K$,(B1$B0J>e$GM-NA$HL5NA$r?'J,$1$9$k!K$O(B
$B9qF;HV9f$,(B1$B0J>e$H$9$k$HA4$F!"L5NA$K$J$k$N$G!"LdBj @ _Dj$N8m$j$G$7$?!#(B
$B!!!!!!!!!!!!!!!!!!!!!!!!F`NI:j(B
ASAHI Kosuke $B$5$s$O=q$-$^$7$?(B:
>$BF`NI:jMM(B
>
>$BD+F|$G$9!#(B
>
>6.0$B$G$9$M!#(B
>$B$=$&$9$k$H$3$NJU$N;XDj$,H4$1$F$$$kOC$8$c$J$$$G$7$g$&$+!)(B
> http://mapserver.org/trunk/faq.html#using-mapserver-6-0-why-don-t-my-layers-show-up-in-getcapabilities-responses-or-are-not-found-anymore
>
>$B$3$s$J46$8$G$7$g$&$+!#(B
> WEB
> #$B$=$NB>$N%?%0$bF~$k$H;W$$$^$9(B
> METADATA
> "ows_enable_request" "*"
> #$B$=$NB>$N%a%?%G!<%?$bF~$k$H;W$$$^$9(B
> END
> END
>
>(2012/05/16 10:33), $BF`NI:j!!M%(B wrote:
>> $B0KF#MM!"D+F|MM(B
>> $B2sEz$"$j$,$H$&$4$6$$$^$9!#(B
>> $B:G=i$N(BSTYLE$B$K(BEND$B$r$D$1!"D+F|MM$N<!$N:G8e$GL@<(E*$K(BWMS$B$H(BWFS$B$r6hJL$9$k%3%^%s%I$r%V%i%&%6$+$iF~NO$7$F$_$^$7$?!#(B
>> http://localhost/cgi-bin/mapserv.exe?map=C:\MS4W/apps/mapserver-tutorial/example02/example_1.map&REQUEST=GetCapabilities&SERVICE=WMS
>> $B!J(BMS4W$B$O:G?7HG$N(BMapserver6.0$B$r;HMQ$9$k$?$a$G$9!#(B)
>> $B%(%i!<%a%C%;!<%8$O<!$N$H$*$j$G$9!#(B
>> (1)WMS$B$N$H$-(B
>> <?xml version="1.0" encoding="ISO-8859-1" standalone="no" ?>
>> -<ServiceExceptionReport version="1.3.0" xmlns="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> xsi:schemaLocation="http://www.opengis.net/ogc http://schemas.opengis.net/wms/1.3.0/exceptions_1_3_0.xsd">
>> <ServiceException>msWMSGetCapabilities(): WMS server error. WMS request not enabled. Check wms/ows_enable_request settings.</ServiceException>
>> </ServiceExceptionReport>
>> (2)WFS$B$N$H$-(B
>> <?xml version="1.0" encoding="ISO-8859-1" ?>
>> -<ows:ExceptionReport xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ows="http://www.opengis.net/ows" version="1.1.0" language="en-US"
>> xsi:schemaLocation="http://www.opengis.net/ows http://schemas.opengis.net/ows/1.0.0/owsExceptionReport.xsd">
>> -<ows:Exception exceptionCode="InvalidParameterValue" locator="request">
>> <ows:ExceptionText>msWFSDispatch(): WFS server error. WFS request not enabled. Check wfs/ows_enable_request settings.</ows:ExceptionText>
>> </ows:Exception>
>> </ows:ExceptionReport>
>> $B$h$m$7$/$*4j$$$7$^$9!#(B
>> $B!!!!!!!!!!F`NI:j(B
>>
>>
>>
>> $B0KF#!!9'0l(B $B$5$s$O=q$-$^$7$?(B:
>>> $BF`NI:jMM(B
>>>
>>> $B0KF#$H?=$7$^$9!#(B
>>>
>>> $B$"$^$j(BMap$B%U%!%$%k$N5-=R$K>\$7$/$O$"$j$^$;$s$,!"(B
>>> $B$3$N(BSTYLE$B$N(BEND$B5-=R$,H4$1$F$$$k$+$i$@$H;W$o$l$^$9!#(B
>>>> EXPRESSION '$BL5NA(B'
>>>> STYLE
>>>> COLOR 205 205 205
>>>> END
>>>
>>> $B0J>e$G$9!#(B
>>>
>>> (2012/05/14 15:21), $BF`NI:j!!M%(B wrote:
>>>> $B3'MM(B
>>>> $B?=$7Lu$"$j$^$;$s!#(BMap$B%U%!%$%k$N%(%i!<=$@5$H%(%i!<%a%C%;!<%8$rDI2C$7$^$9!#(B
>>>> $B!<!<!<!<!<!<!<!<!<!<!<!<!<!<!<!<!<!<!<!<!<!<!<!<!<!<!<!<!<!<!<!<!<!<!<!<!<!<!<!<!<!<!<!<!<(B
>>>> OSGeo4W$B$N(BMapServer$B$NNcBj$r?'!9=$@5$7$F!"JY6/$7$F$$$^$9!#(B
>>>> $BNcBj(B2$B$HNcBj(B3$B$O!"(BCLASS$B$H(BFILTER$B$NNc$G$9!#$3$l$rAH$_9g$o$;$k$3$H$K$h$j!"(BC$B8 @ 8l$N>r7oJ8$HF1MM$N$3$H$,$G$-$k$N$G$O$H9M$($^$7$?!#(B
>>>> $B$3$NNcBj$r>/$7JQ99$7$F!"(BKOKUBANGO$B!JF;O)I}$K$h$k<oJL(B)$B$,(B1$B0J>e$NF;O)$N$_!"NcBj(B2$B$HF1MM$K(B
>>>> $BM-NAF;O)$HL5NAF;O)$N?'J,$1$r$7$?$$$H;W$C$F$$$^$9!#JQ99$7$?(BMap$B%U%!%$%k$O<!$N$H$*$j$G$9!#(B
>>>> MAP
>>>> IMAGETYPE PNG
>>>> EXTENT 139.562947 35.524705 139.917821 35.817635
>>>> SIZE 550 450
>>>> IMAGECOLOR 255 255 255
>>>> SHAPEPATH "../data"
>>>> LAYER
>>>> NAME "$BF;O)(B"
>>>> DATA dourokukan
>>>> STATUS DEFAULT
>>>> TYPE LINE
>>>> CLASSITEM "YURYO"
>>>> FILTER ("[KOKUBANGO]" ne "0")
>>>> CLASS
>>>> NAME "first class"
>>>> EXPRESSION '$BL5NA(B'
>>>> STYLE
>>>> COLOR 205 205 205
>>>> END
>>>> CLASS
>>>> NAME "second class"
>>>> EXPRESSION '$BM-NA(B'
>>>> STYLE
>>>> COLOR 255 0 0
>>>> END
>>>> END
>>>> END
>>>> END
>>>> END
>>>> $B$3$N(BMap$B%U%!%$%k$r<B9T$9$k$H!"<!$N%(%i!<%a%C%;!<%8$,I=<($5$l$^$7$?!#(B
>>>> <?xml version="1.0" encoding="ISO-8859-1" ?>
>>>> -<ows:ExceptionReport xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ows="http://www.opengis.net/ows" version="1.1.0" language="en-US"
>>>> xsi:schemaLocation="http://www.opengis.net/ows http://schemas.opengis.net/ows/1.0.0/owsExceptionReport.xsd">
>>>> -<ows:Exception exceptionCode="MissingParameterValue" locator="service">
>>>> <ows:ExceptionText>msWFSDispatch(): WFS server error. Incomplete WFS request: SERVICE parameter missing</ows:ExceptionText>
>>>> </ows:Exception>
>>>> </ows:ExceptionReport>
>>>> $B!V<ALd!W(B
>>>> $B-!(BWMS$B$NHO0O$G$9$k$3$H$OL5M}$J$N$G$7$g$&$+(B?
>>>> $B-"(BWFS$B$H$9$k$K$O2?$rIU2C$9$l$P$h$$$N$G$7$g$&$+(B?
>>>> $B$h$m$7$/$*4j$$$7$^$9!#(B
>>>>
>>>> $B!!!!!!!!!!!!!!(B
>>>>
>>>> ********************************************************************************
>>>> $B")(B247-8505
>>>> $B3yAR;T>eD.20(B345$BHVCO(B
>>>> $B;0I)%W%l%7%8%g%s3t<02q<R(B
>>>> $B @ 8;:4IM}It(B
>>>> $BF`NI:j!!M%!!(BNarazaki Masaru
>>>> Tel 0467-42-5547
>>>> e-mail:mnarazaki @ mpcnet.co.jp
>>>> ********************************************************************************
>>>>
>>>> ______________________________________________________________________
>>>>
>>>> _______________________________________________
>>>> OSGeoJapan-discuss mailing list
>>>> OSGeoJapan-discuss @ lists.osgeo.org
>>>> http://lists.osgeo.org/mailman/listinfo/osgeojapan-discuss
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> OSGeoJapan-discuss mailing list
>>>> OSGeoJapan-discuss @ lists.osgeo.org
>>>> http://lists.osgeo.org/mailman/listinfo/osgeojapan-discuss
>>>
>>>
>>> --
>>> *--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*
>>> $B!!8^Bg3+H/3t<02q<R(B
>>> $B!!!!!!%7%9%F%`5;=QIt!!0KF#!!9'0l(B
>>>
>>> $B")(B921-8051
>>> $B!!!!!!@P @ n8)6bBt;T9uED#1!]#3#5(B
>>> $B!!!!!!!!!!(BTEL$B!'#0#5#0!]#3#3#8#5!]#3#0#6#3(B
>>> $B!!!!!!!!!!(BFAX$B!'#0#7#6!]#2#4#0!]#6#5#7#5(B
>>> $B!!!!!!!!!!(BMail$B!'(Bitok @ godai.co.jp
>>> *--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*
>>>
>>>
>>>
>>> _______________________________________________
>>> OSGeoJapan-discuss mailing list
>>> OSGeoJapan-discuss @ lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/osgeojapan-discuss
>
>
>--
>$BKL3$F;CO?^3t<02q<R(B $B8&5f3+H/2](B
>$BD+F|!!9'Je(B
>mailto:asahi @ hcc.co.jp
>Tel : 0166-62-4711
>
OSGeoJapan-discuss メーリングリストの案内