<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Já experimentáste em desktop?<BR>Usa o wms e a shapefile em desktop para ver se estão bem sobrepostos ou se o problema já existe aí.<br> <BR><div><div id="SkyDrivePlaceholder"></div>> Date: Wed, 24 Oct 2012 12:41:16 -0700<br>> From: sylvain.arabeyre@gmail.com<br>> To: portugal@lists.osgeo.org<br>> Subject: Re: [Portugal] WMS no pmapper com mapserver<br>> <br>> Giovanni Manghi-2 wrote<br>> > Olá,<br>> > <br>> > assim aqui funciona<br>> > <br>> > LAYER<br>> > NAME "Bing"<br>> > STATUS ON<br>> > TYPE RASTER<br>> > CONNECTION<br>> > "http://geoposer.com:443/server/services/request.php?jname=/wms.img&"<br>> > CONNECTIONTYPE WMS<br>> > METADATA<br>> > "wms_title" "Bing"<br>> > "wms_srs" "EPSG:4326"<br>> > "wms_name" "Virtual%20Earth"<br>> > "wms_server_version" "1.1.1"<br>> > "wms_format" "image/jpeg"<br>> > END<br>> > PROJECTION<br>> > "init=epsg:4326"<br>> > END<br>> > END<br>> > <br>> > -- Giovanni --<br>> > <br>> > On Mon, 2012-06-25 at 15:06 -0700, Luis Leitao wrote:<br>> >> Boa noite <br>> >> <br>> >> Estou a tentar adicionar um wms (geoposer) ao meu projecto sig (mapserver<br>> >> +<br>> >> pmapper) de mestrado, criei o mapfile mas, confogurei o xml mas não<br>> >> aparece<br>> >> nada.<br>> >> Alguém me pode explicar o que pode estar a correr mal?<br>> >> <br>> >> mapfile:<br>> >> <br>> >> LAYER<br>> >> NAME 'Virtual%20Earth'<br>> >> TYPE RASTER<br>> >> DUMP true<br>> >> TEMPLATE fooOnlyForWMSGetFeatureInfo<br>> >> EXTENT -8.819723 40.463069 -8.442397 40.770596<br>> >> CONNECTIONTYPE WMS<br>> >> CONNECTION 'http://geoposer.com:443/server/services/ve.xml'<br>> >> METADATA<br>> >> 'ows_name' 'Virtual%20Earth'<br>> >> 'wms_server_version' '1.1.1'<br>> >> 'ows_srs' 'EPSG:4326'<br>> >> 'wms_format' 'image/png'<br>> >> 'wms_style' ''<br>> >> END<br>> >> METADATA<br>> >> 'ows_title' 'Virtual%20Earth'<br>> >> END<br>> >> STATUS OFF<br>> >> TRANSPARENCY 0<br>> >> PROJECTION<br>> >> 'proj=longlat'<br>> >> 'datum=WGS84'<br>> >> 'no_defs'<br>> >> END<br>> >> END<br>> >> <br>> >> Em TRANSPARENCY aparecia o valor 100 por defeito e eu alterei para 0<br>> >> porque<br>> >> não aparecia nada, mas continua na mesma.<br>> >> O mapfile foi criado com plugin mapserver export doqgis<br>> >> <br>> >> Obrigado<br>> >> <br>> >> --<br>> >> View this message in context:<br>> >> http://osgeo-org.1560.n6.nabble.com/WMS-no-pmapper-com-mapserver-tp4983765.html<br>> >> Sent from the OSGeo Portuguese Local Chapter mailing list archive at<br>> >> Nabble.com.<br>> >> _______________________________________________<br>> >> Portugal mailing list<br>> >> <br>> <br>> > Portugal@.osgeo<br>> <br>> >> http://lists.osgeo.org/mailman/listinfo/portugal<br>> > <br>> > <br>> > _______________________________________________<br>> > Portugal mailing list<br>> <br>> > Portugal@.osgeo<br>> <br>> > http://lists.osgeo.org/mailman/listinfo/portugal<br>> <br>> Olá,<br>> <br>> Tenho um problema com essa layer do Virtual Earth.<br>> Consigo visualizar sem problemas a layer mas a informação não está<br>> corretamente sobreposta com as outras layers do meu mapfile que estão noutro<br>> sistema de coordenadas (Datum 73).<br>> Por definição a projeção do mapfile é o datum 73 (epsg:27493) e a projeção<br>> também está definida ao nível de cada layer. Tentei mudar o sistema de<br>> projecção ao nível do mapfile para WGS84 mas o resultado é o mesmo.<br>> Uso o pmapper 4.2.0 com Mapserver 6.0.2 (MS4W 3.0.4) no Windows 7.<br>> Aqui está o meu mapfile:<br>> <br>> <br>> MAP<br>> <br>> EXTENT -49237 -15149 -24326 19331 <br>> UNITS meters<br>> SIZE 600 500<br>> SHAPEPATH "C:/Geoserver/data_dir"<br>> SYMBOLSET "../common/symbols/symbols-pmapper.sym" <br>> FONTSET "../common/fonts/msfontset.txt" <br>> RESOLUTION 96<br>> IMAGETYPE png<br>> INTERLACE OFF<br>> CONFIG "PROJ_LIB" "C:/ms4w/proj/nad/"<br>> <br>> <br>> PROJECTION<br>> "proj=tmerc"<br>> "lat_0=39.66666666666666"<br>> "lon_0=-8.131906111111112"<br>> "k=1"<br>> "x_0=180.598"<br>> "y_0=-86.98999999999999"<br>> "ellps=intl"<br>> "units=m"<br>> "no_defs"<br>> END<br>> <br>> #<br>> # Start of web interface definition<br>> #<br>> WEB<br>> TEMPLATE "map.html"<br>> IMAGEPATH "/ms4w/tmp/ms_tmp/"<br>> IMAGEURL "/ms_tmp/"<br>> METADATA<br>> "wms_title" "WMS Demo Server"<br>> "wms_onlineresource" <br>> "http://localhost/cgi-bin/mapserv.exe?map=pmapper_demo.map&"<br>> "wms_srs" "EPSG:4326 EPSG:27493" <br>> END # Metadata<br>> END # Web<br>> <br>> #<br>> # Start of Reference map definition<br>> #<br>> REFERENCE<br>> EXTENT -49237 -15149 -24326 19331 <br>> IMAGE "../../images/ourem.png"<br>> SIZE 125 160<br>> COLOR -1 -1 -1<br>> OUTLINECOLOR 255 0 0<br>> END # Reference<br>> <br>> LEGEND<br>> END # LEGEND <br>> <br>> #<br>> # Start of ScaleBar definition<br>> #<br>> SCALEBAR<br>> STATUS off<br>> TRANSPARENT off<br>> INTERVALS 4<br>> SIZE 200 3<br>> UNITS kilometers<br>> COLOR 250 250 250<br>> OUTLINECOLOR 0 0 0<br>> BACKGROUNDCOLOR 100 100 100<br>> STYLE 0<br>> POSTLABELCACHE true<br>> LABEL<br>> COLOR 0 0 90<br>> #OUTLINECOLOR 200 200 200<br>> SIZE small<br>> END # Label<br>> END # SCALEBAR<br>> <br>> Symbol<br>> Name 'circle'<br>> Type ELLIPSE<br>> Filled TRUE<br>> Points<br>> 1 1<br>> END #PONTS<br>> END # SYMBOL<br>> <br>> Symbol<br>> Name 'square'<br>> Type VECTOR<br>> Filled TRUE<br>> Points<br>> 0 1<br>> 0 0<br>> 1 0<br>> 1 1<br>> 0 1<br>> END # POINTS<br>> END #SYMBOL<br>> <br>> #=========================== LAYER ORTOFOTOS BING<br>> ===========================#<br>> <br>> LAYER<br>> NAME 'Bing'<br>> TYPE RASTER<br>> DUMP true<br>> CONNECTIONTYPE WMS<br>> CONNECTION<br>> "http://geoposer.com:443/server/services/request.php?jname=/wms.img&" <br>> METADATA<br>> 'ows_name' 'Virtual%20Earth'<br>> 'wms_server_version' '1.1.1'<br>> 'ows_srs' 'EPSG:4326'<br>> 'wms_format' 'image/png'<br>> 'wms_style' ''<br>> END<br>> STATUS ON<br>> PROJECTION<br>> 'proj=longlat'<br>> 'datum=WGS84'<br>> 'no_defs'<br>> END<br>> END <br>> <br>> <br>> #=========================== LAYER FUNDO URBANO ===========================#<br>> <br>> LAYER # layer fundo urbano<br>> NAME "Fundo_urbano"<br>> PROJECTION<br>> "proj=tmerc"<br>> "lat_0=39.66666666666666"<br>> "lon_0=-8.131906111111112"<br>> "k=1"<br>> "x_0=180.598"<br>> "y_0=-86.98999999999999"<br>> "ellps=intl"<br>> "units=m"<br>> "no_defs"<br>> END #PROJECTION<br>> TYPE line<br>> STATUS ON<br>> TOLERANCE 3<br>> TOLERANCEUNITS pixels<br>> DATA "data\cartografia\fundo_urbano\fundo_urbano"<br>> METADATA <br>> END #METADATA<br>> CLASS<br>> NAME 'Fundo urbano'<br>> COLOR 119 119 119<br>> END # Class<br>> END# layer fundo urbano<br>> END #MAP<br>> <br>> Pensei que o problema viesse do facto de não ter o PROJ_LIB definido mas<br>> este parâmetro está definido no ficheiro httpd.conf do Apache, no Mapfile e<br>> também nas variáveis sistema.<br>> <br>> Qual erro estarei a cometer para não conseguir sobrepôr 2 layers com<br>> sistemas de coordenadas diferentes?<br>> Obrigado.<br>> <br>> Atentamente,<br>> Sylvain Arabeyre.<br>> <br>> <br>> <br>> <br>> --<br>> View this message in context: http://osgeo-org.1560.n6.nabble.com/WMS-no-pmapper-com-mapserver-tp4983765p5010954.html<br>> Sent from the OSGeo Portuguese Local Chapter mailing list archive at Nabble.com.<br>> _______________________________________________<br>> Portugal mailing list<br>> Portugal@lists.osgeo.org<br>> http://lists.osgeo.org/mailman/listinfo/portugal<br></div> </div></body>
</html>