[postgis-devel] i'm practikal student need help plz..
syera
syirapotter at yahoo.com
Wed Feb 3 20:19:33 PST 2010
i have problem about my postgis connection. can you help me. Before this i
just use shapefile connection but because my boss want to add search lot
service. I need to use postgis connection. I had follow the instruction, i
just change the connection in mapfile like below :
MAP
NAME 'jalan'
SIZE 800 650
STATUS ON
EXTENT 34032.192641 -68039.619352 50245.218355 -57248.649087
UNITS METERS
INCLUDE "../../geomoose_globals.map"
WEB
INCLUDE "../../temp_directory.map"
END
LEGEND
STATUS ON
LABEL
TYPE TRUETYPE
FONT vera_sans
SIZE 8
COLOR 0 254 0
END
END
LAYER
CONNECTIONTYPE postgis
CONNECTION "dbname=template_postgis host=localhost user=postgres
password=admin port=5432"
DATA "the_geom FROM JALAN"
#DATA './jalan.shp'
NAME 'jalan'
TYPE LINE
STATUS OFF
CLASS
NAME 'jalan'
STYLE
SYMBOL 'plainline'
SIZE 1
COLOR 200 0 255
END
END
PROJECTION
"proj=cass"
"lat_0=2.121679744444445"
"lon_0=103.4279362361111"
"x_0=-14810.562"
"y_0=8758.32"
"ellps=GRS80"
"units=m"
"no_defs"
END
TOLERANCEUNITS FEET
TOLERANCE 200
TEMPLATE 'wms.html'
END
END ## end Map
Is there anything that i need to change ragarding this matter?? maybe in my
database or mapfile?? I'm really lost couse the layer do not appear..
--
View this message in context: http://old.nabble.com/i%27m-practikal-student-need-help-plz..-tp27415007p27415007.html
Sent from the PostGIS - Dev mailing list archive at Nabble.com.
More information about the postgis-devel
mailing list