AYUDA con postgres + postgis

From: "Jonathan (dot)(dot)(dot)(dot)nem4" <napomu(at)msn(dot)com>
To: <pgsql-es-ayuda(at)postgresql(dot)org>
Subject: AYUDA con postgres + postgis
Date: 2007-01-29 14:02:27
Message-ID: BAY124-W428923E975090D5557BC2DCDA70@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda


Hola lista..El problema es el siguiente, en el mapfile a la hora de hacer la conexion con la BD me salen los siguientes errores: Warning: [MapServer Error]: getSymbol(): Parsing error near (MS_POSTGIS):(line 158)
in C:\ms4w\Apache\htdocs\sig\incphp\globals.php on line 58

Warning: Failed to open map file C:/ms4w/Apache/htdocs/sig/config/default/mapa.map in C:\ms4w\Apache\htdocs\sig\incphp\globals.php on line 58

Fatal error: Call to a member function getAllGroupNames() on a non-object in C:\ms4w\Apache\htdocs\sig\incphp\init\initmap.php on line 96no se k podria ser.........pero si cambio las lines de connection y connectiontype por la forma de acceder a los shapefiles y no a la BD postgis si sirve..... NAME Cabeceras GROUP Cabeceras DATA "the_geom FROM ccabeceras" #DATA Cabeceras STATUS ON TYPE POLYGON CONNECTION "dbname=Chimichagua user=*** pass=*** host=127.0.0.1" #CONNECTION "c:/ms4w/Apache/htdocs/sig/data/CCabeceras.shp" #CONNECTIONTYPE OGR CONNECTIONTYPE MS_POSTGIS # The class object is defined within the layer object. You can define as # many classes as you need (well, there are limits as with layers, but it's # senseless to define more than ten on a "normal" layer. There are # situations, however, where you might have to do it.) CLASS NAME "Cabeceras" #SIZE 100 # There are styles in a class, just like there are classes in a layer, # just like there are layers in a map. You can define multiple styles in # a class just as you can define multiple classes in a layer and multiple # layers in a map. TEMPLATE void STYLE COLOR 255 255 255 OUTLINECOLOR 32 32 32 END ENDGracias..
.:::l\l€/V\4:::.

Responses

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Nicolás Domínguez Florit 2007-01-29 14:14:39 Re: Problema con initdb (windows)
Previous Message Juan Martínez 2007-01-29 14:01:21 Re: funcionamiento diferente en triggers