Good day all, i want to ask, i have file shp that already convert to Postgis, then i want to appear it in mapfile named:map_postgis.map then check in: http://localhost/cgi-bin/mapserv.exe?map=i:/Spatial/mapfile/map_postgis.map&mode=map, but that i found just background no Map. why?
shp: kec_kasus_DBD
db in postgis: db_SpatialSura
table: tb_kasusdbd
mapfile: map_postgis
for checking: i want to see column 'kecamatan'
here my mapfile:
MAP
NAME kec_kasus_DBD
IMAGETYPE JPEG
EXTENT -123.950500 -183.224900 299.457000 145.260600
STATUS ON
UNITS DD
SIZE 546 388
IMAGECOLOR 255 241 215
SHAPEPATH "i:\Spatial\shp_kec"
FONTSET "i:\Spatial\font\font.dat"
UNITS KILOMETERS
#DATA
LAYER
NAME "tb_kasusdbd"
STATUS ON
TYPE POLYGON
CONNECTIONTYPE POSTGIS
CONNECTION "user=dbee dbname=dbSpatialSura host=localhost port=5432
password=xxxxxx"
DATA "the_geom FROM tb_kasusdbd USING UNIQUE code_kec"
MINSCALE 100000
#FILTER "type= 'jumdbd_08'"
CLASS
NAME "kecamatan"
STYLE
COLOR 255 22 22
OUTLINECOLOR 67 70 31
WIDTH 2
ANTIALIAS TRUE
END#style
END#class
END#layer
END#map
Thanks :)
map_postgis.map
Description: Binary data
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
