Postgis and PostgreSQL Problem
Frank Fica
simbiotico at HOTMAIL.COM
Fri Dec 23 14:35:09 PST 2005
Hi List,
This kind of mistakes are the ones that makes you think what is going wrong inside my head.
I was checking my map file and realized that I had COLOR 255 255 255 , not the best color to
choose.
Now I can see my map drawn but I still get the messages in my logs.
Frank
>Hi Steve,
>
>Here is my map definition:
I have also tried DATA "wkb_geometry from ciud_guate_calles"
MAP
IMAGETYPE PNG
EXTENT -90.587129 14.541685 -90.433474 14.685685
SIZE 640 480
CONFIG CPL_DEBUG "ON"
SYMBOL
NAME "circle"
TYPE ELLIPSE
POINTS
1 1
END
FILLED TRUE
END
LAYER
NAME "calles"
TYPE LINE
STATUS ON
DEBUG ON
CONNECTIONTYPE POSTGIS
CONNECTION "host=xxx.xxx.xxx.xxx port=5432 dbname=xxx user=xxx password=xxx"
DATA "wkb_geometry from (SELECT * FROM ciud_guate_calles) as foo using unique ogc_fid using
SRID=32767"
CLASS
NAME "calles"
STYLE
COLOR 255 255 255
END
END
END
LAYER
NAME sorento
TYPE POINT
SIZEUNITS PIXELS
TOLERANCE 0
UNITS METERS
CONNECTIONTYPE OGR
CONNECTION "virtual.ovf"
DATA "sorento"
STATUS DEFAULT
DEBUG ON
CLASS
NAME sorento
STYLE
SYMBOL 'circle'
SIZE 4
COLOR 255 0 0
END
END
END
END
>Frank,
>
>Can you post your layer definition so we can look at that.
>
>Thanks,
> -Steve W.
More information about the MapServer-users
mailing list