[Portugal] Migrar Mapserver de Windows para Ubuntu 10.04

Jorge de Jesus jmdj at pml.ac.uk
Tue Nov 9 12:29:30 EST 2010


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
> Portugal at lists.osgeo.org
> 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

--------------------------------------------------------------------------------
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 forinfo at pml.ac.uk 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.
--------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/portugal/attachments/20101109/36b09d2d/attachment.html


More information about the Portugal mailing list