Hi

Maybe after host=localhost try port=5432

Olivier

-----Message d'origine-----
De : rodabadia [mailto:[EMAIL PROTECTED] 
Envoyé : jeudi 30 octobre 2008 19:13
À : pmapper-users@lists.sourceforge.net
Objet : [pmapper-users] pmapper+postgis


Hi

How to test the connection to the database that is set to file map.

I can not see the map in the map viewer pmapper, because it shows the
animation that asks expect to load the map but this never appears. I believe
the problem is that there is no connection to the database. 

Someone can help me ...

The connection to the database is this:

LAYER 
   NAME "cities10000eu_pg"  
   TYPE point 
   CONNECTION "user=postgres password=postgres dbname=gisdb_prue
host=localhost"
   CONNECTIONTYPE POSTGIS  
   DATA "the_geom from (select * from cities10000) AS foo USING UNIQUE
geonameid using SRID=4326" 
   FILTER "continent = 'Europe' AND population > 200000" 
   TOLERANCE 6 
   TOLERANCEUNITS pixels 
   LABELITEM "asciiname" 
   LABELMAXSCALE 8000000 
   TEMPLATE void 
   PROJECTION 
     "init=epsg:4326" 
   END 
   METADATA  
     "DESCRIPTION" "Cities PG" 
     "RESULT_FIELDS" "name, iso2_code, population, gtopo30" 
     "RESULT_HEADERS" "Name,Country,Population,Altitude" 
     "RESULT_HYPERLINK" "NAME" 
     "LAYER_ENCODING" "UTF-8" 
     "CATEGORY" "cat_admin" 
     "ows_title"      "cities1000" 
   END  # Metadata   

I need to connect to the database urgent

Thank you

Rodrigo
--
View this message in context:
http://www.nabble.com/pmapper%2Bpostgis-tp20230482p20230482.html
Sent from the pmapper users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

_________________________________________________________________________

Ce message a ete verifie par l'antivirus de MDaemon (md6).

Par precaution, n'ouvrez pas de pieces jointes de correspondants inconnus.
_________________________________________________________________________

_________________________________________________________________________

Ce message a été vérifié par l'antivirus de MDaemon (md6).

Par précaution, n'ouvrez pas de pièces jointes de correspondants inconnus.
_________________________________________________________________________


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to