[I3geo] i3geo postgis

Rafael Dantas raffaeldantas em gmail.com
Domingo Maio 12 07:26:01 PDT 2013


Pessoal,

resolvido!!!

Apenas mudei o nome da tabela de AME para ame e funcionou perfeitamente. Me
parece que é melhor trabalhar com os nomes das tabelas em letras minusculas.

Saudações


2013/5/12 Rafael Dantas <raffaeldantas em gmail.com>

> Olá pessoal,
>
> estou tentando conectar o i3geo com meu banco de dados porém sem sucesso.
> Vejam a mensagem de erro que o i3geo está me dando:
>
> *Testando: temas/postgis.map*
>
> Problemas ao gerar o mapa
>
> Error in %s: %s
> msDrawMap()Failed to draw layer named 'AME'.
> Error in %s: %s
> msPostGISLayerWhichShapes()Error executing query: ERROR:  relation "ame" does not exist
> LINE 1: ...),'NDR'),'hex') as geom,"gid" from (SELECT * FROM AME) as fo...
>                                                              ^
>
> Error in %s: %s
> msProjectPoint()proj says: latitude or longitude exceeded limits
> Error in %s: %s
> msProjectPoint()proj says: latitude or longitude exceeded limits
> Error in %s: %s
> msProjectPoint()proj says: latitude or longitude exceeded limits
>
>
> A camada que estou tentando incluir é esta:
>
> LAYER
> NAME AME
> TYPE POINT
>  STATUS DEFAULT
> CONNECTIONTYPE POSTGIS
> CONNECTION "user=postgres password=***** host=localhost port=5432
> dbname=atlas "
>  DATA "geom FROM (SELECT * FROM AME) as foo USING UNIQUE gid SRID=32722"
> TEMPLATE "none.htm"
>  TRANSPARENCY 75
> PROJECTION
>     #"init=epsg:32722"
>     "+proj=utm +zone=22 +south +datum=WGS84 +units=m +no_defs"
> END
> METADATA
>  "TEMA"        "AME"
> "DESCRIPTION" "AME"
> CLASSE "SIM"
>  END  # Metadata
> CLASS
> Name 'AME'
>  SYMBOL "circle"
> SIZE 4
> COLOR 078 120 130
>  OUTLINECOLOR 000 000 000
> END  # Class
> END  # Layer
>
>
> Alguma ideia do que seja este erro, eu não entendi direito?
>
>
> Saudações
> --
> Rafael Dantas
>



-- 
Rafael Dantas
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: <http://lists.osgeo.org/pipermail/i3geo/attachments/20130512/c19aa996/attachment.html>


More information about the i3geo mailing list