Olá, eu instalei o i3geo no linux(Kubuntu), não consegui instalar a biblioteca R, simplesmente o source que eu tenho não chegava nem a configurar, mas pelo que ví ela não é necessária para o funcionamento de i3geo. O site abre, mas não carrega imagem alguma, e fica "Lendo Imagem" eternamente. Com certeza fiz algo errado, mas instalei em outra maquina e deu o mesmo problema. Se alguém tiver alguma dica, ou já passou por isso, por favor me ajudem.
Informações sobre a instalação:
php5
apache 2.2
mapscript
mapserver
(todos instalados via apt-get, então, creio que as dependencias estejam corretas)
Autor: Nikolas Aschermann
44 comentários
SERVER_SOFTWARE:
PHP (a versão deve ser a 5x): 5.2.1 MapServer version 4.10.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER
SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=THREADS SUPPORTS=GEOS INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE DEBUG=MSDEBUG ---
Extensoes:
Obs: não está instalado a gd2
array(46) {
[0]=>
string(3) "zip"
[1]=>
string(9) "xmlwriter"
[2]=>
string(6) "libxml"
[3]=>
string(3) "xml"
[4]=>
string(4) "wddx"
[5]=>
string(9) "tokenizer"
[6]=>
string(7) "sysvshm"
[7]=>
string(7) "sysvsem"
[8]=>
string(7) "sysvmsg"
[9]=>
string(7) "session"
[10]=>
string(9) "SimpleXML"
[11]=>
string(7) "sockets"
[12]=>
string(4) "soap"
[13]=>
string(3) "SPL"
[14]=>
string(5) "shmop"
[15]=>
string(8) "standard"
[16]=>
string(10) "Reflection"
[17]=>
string(5) "posix"
[18]=>
string(10) "mime_magic"
[19]=>
string(8) "mbstring"
[20]=>
string(4) "json"
[21]=>
string(5) "iconv"
[22]=>
string(4) "hash"
[23]=>
string(7) "gettext"
[24]=>
string(3) "ftp"
[25]=>
string(6) "filter"
[26]=>
string(4) "exif"
[27]=>
string(3) "dom"
[28]=>
string(3) "dba"
[29]=>
string(4) "date"
[30]=>
string(5) "ctype"
[31]=>
string(8) "calendar"
[32]=>
string(3) "bz2"
[33]=>
string(6) "bcmath"
[34]=>
string(4) "zlib"
[35]=>
string(4) "pcre"
[36]=>
string(7) "openssl"
[37]=>
string(9) "xmlreader"
[38]=>
string(14) "apache2handler"
[39]=>
string(9) "MapScript"
[40]=>
string(2) "gd"
[41]=>
string(3) "PDO"
[42]=>
string(9) "pdo_pgsql"
[43]=>
string(5) "pgsql"
[44]=>
string(6) "xmlrpc"
[45]=>
string(3) "xsl"
}
Existe o ms_configura.php? Sim
Incluindo...
dir_tmp = /var/tmp/ms_tmp
temasdir = /opt/www/html/i3geo/temas
temasaplic = /opt/www/html/i3geo/aplicmap
locmapserv = localhost/cgi-bin/mapserv
locaplic = /opt/www/html/i3geo
locsistemas = localhost/i3geo/menutemas/sistemas.xml
locidentifica = localhost/i3geo/menutemas/identifica.xml
Escrevendo no diretorio temporario...ok
Existe o geral1.map? Sim
Existe o localhost/i3geo/menutemas/sistemas.xml? ok
Lendo sistemas.xml
Existe o localhost/i3geo/menutemas/identifica.xml? ok
Lendo locidentifica.xml
Existe o menutemas.xml? ok
Lendo /opt/www/html/i3geo/menutemas/menutemas.xml Carregando o map_file geral1...
E agora..desenhando o mapa:
Ótimo. Se vc colocar algum site no ar, me avise para divulgar
no Portal. notification-1770450-1213@www.softwarepublico.gov.br [1] escreveu: Forum: Geral - usuários e desenvolvedores [2]
Thread: Não exibe o mapa de exemplo, fica "Lendo Imagem"
[3]
Author: Nikolas Aschermann
Posted: 2007-09-19 16:11:46.623075-03 Boa Tarde Edmar, Muito obrigado pela ajuda, realmente o problema estava
relacionado com o diretório temporário. Eu havia
criado o ms_tmp numa pasta de minha escolha, modifiquei o
ms_configura, mas haviam outros arquivos apontando para o
/var/www/ms_tmp.... criei o ms_tmp no local indicado, dei
permissão de escrita e leitura e pronto, funcionando! Grato Nikolas Aschermann Recebendo correspondência demais? Gerencie suas
notificações em:
www.softwarepublico.gov.br/notifications/manage [4] --
---------
Edmar Moretti
CGTI/MMA
Área de Gestaão de Geotecnologias
Gerente de Projetos [1] mailto:notification-1770450-1213@www.softwarepublico.gov.br
[2] www.softwarepublico.gov.br/dotlrn/clubs/i3geo/forums/forum-view?forum_id=1567696
[3] www.softwarepublico.gov.br/dotlrn/clubs/i3geo/forums/message-view?message_id=1708690
[4] www.softwarepublico.gov.br/notifications/manage