http://svn.pmapper.net/trac/wiki/FaqDebugging


On 30/10/2008 19:12, rodabadia wrote:
> 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


-------------------------------------------------------------------------
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