Obrigado Jorge pela dica... nesse processo de migração em que é necessário efectuar um serie de alterações acabamos por esquecer alguma coisa...
Já resolvi o problema... estava a esquecer o mais importante, importar os dados no postgis :P Abraço, Marco Afonso 2010/11/9 Jorge de Jesus <[email protected]>: > > Ola > > O map file parece em ordem, infelizmente o mapserver pode ser bastante > "manhoso"..... > > Eu comecava por testar o outputformat e trocava o existe for algo mais > simples do genero: > > OUTPUTFORMAT > NAME png > DRIVER "GD/PNG" > MIMETYPE "image/png" > IMAGEMODE PC256 > EXTENSION "png" > END > > > E no style evitava coisas como: > > > COLOR -1 -1 -1 > > Jorge > > > On 09/11/10 16:30, Marco Afonso wrote: > > Olá a todos, > > Antes de mais gostava de dizer que foi um prazer participar no III > SASIG. Obrigado a todos! > > Gostava que me ajudassem na seguinte situação. Estou a migrar > Mapserver e Postgis de Windows para Ubuntu Lucid. > > Instalei todo o software GIS apartir do repositório estável: > ppa:ubuntugis/ppa > > Após uma serie de configurações (permissões, caminhos, etc...), tenho > ambos a funcionar individualmente. > > No Mapserver uso ligações ao Postgis. Também já corrigi as > configurações no pg_hba.conf para aceitar ligações na rede. > > Acontece que ao fazer o pedido no browser: > http://server/cgi-bin/mapserv?map=/var/www/mapfiles/lim_adm/lim_adm.map&mode=map&layers=freguesias > estou a obter uma imagem em branco. > > Nos logs do mapserver não obtenho nada de especial: > Tue Nov 9 17:24:05 2010].417010 CGI Request 1 on process 2197 > [Tue Nov 9 17:24:05 2010].460512 msDrawMap(): Layer 1 (freguesias), 0.041s > [Tue Nov 9 17:24:05 2010].460544 msDrawMap(): Drawing Label Cache, 0.000s > [Tue Nov 9 17:24:05 2010].460551 msDrawMap() total time: 0.043s > [Tue Nov 9 17:24:05 2010].490005 msSaveImage() total time: 0.029s > [Tue Nov 9 17:24:05 2010].490058 mapserv request processing time > (loadmap not incl.): 0.073s > [Tue Nov 9 17:24:05 2010].490065 msFreeMap(): freeing map at 0x839f4c0. > > Segue o mapfile em anexo. > > Como posso tentar isolar o problema? > > Obrigado e continuem com a mesma força :) > > Marco Afonso > > _______________________________________________ > Portugal mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/portugal > > > ________________________________ > > Plymouth Marine Laboratory > Registered Office: > Prospect Place > The Hoe > Plymouth PL1 3DH > > Website: www.pml.ac.uk > Registered Charity No. 1091222 > PML is a company limited by guarantee > registered in England & Wales > company number 4178503 > > Please think before you print. > > ________________________________ > > This e-mail, its content and any file attachments are confidential. > > If you have received this e-mail in error please do not copy, disclose it to > any third party or use the contents or attachments in any way. Please notify > the sender by replying to this e-mail or e-mail [email protected] and then > delete the email without making any copies or using it in any other way. > > The content of this message may contain personal views which are not the > views of Plymouth Marine Laboratory unless specifically stated. > > You are reminded that e-mail communications are not secure and may contain > viruses. Plymouth Marine Laboratory accepts no liability for any loss or > damage which may be caused by viruses. > > ________________________________ > > > _______________________________________________ > Portugal mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/portugal > > _______________________________________________ Portugal mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/portugal
