<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:garamond,new york,times,serif;font-size:12pt">Good day all,<br><span>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: <a target="_blank" href="http://localhost/cgi-bin/mapserv.exe?map=i:/Spatial/mapfile/map_postgis.map&mode=map">http://localhost/cgi-bin/mapserv.exe?map=i:/Spatial/mapfile/map_postgis.map&mode=map</a>, but that i found just background no Map. why?</span><br><br>shp: kec_kasus_DBD<br>db in postgis: db_SpatialSura<br>table: tb_kasusdbd<br>mapfile: map_postgis<br>for checking: i want to see column 'kecamatan'<br><br>here my mapfile:<br>MAP<br><br>NAME kec_kasus_DBD<br>IMAGETYPE JPEG<br>EXTENT -123.950500 -183.224900 299.457000 145.260600<br>STATUS ON<br>UNITS DD<br>SIZE 546 388<br>IMAGECOLOR 255 241 215 <br>SHAPEPATH
"i:\Spatial\shp_kec"<br>FONTSET "i:\Spatial\font\font.dat"<br>UNITS KILOMETERS<br><br><br><br>#DATA<br> LAYER<br> NAME "tb_kasusdbd"<br> STATUS ON<br> TYPE POLYGON<br> CONNECTIONTYPE POSTGIS<br> CONNECTION "user=dbee dbname=dbSpatialSura host=localhost port=5432 password=xxxxxx"<br> DATA "the_geom FROM tb_kasusdbd USING UNIQUE code_kec"<br> MINSCALE 100000<br> <br> <br> #FILTER "type= 'jumdbd_08'"<br> CLASS<br> <br> <br> NAME "kecamatan"<br> STYLE<br> COLOR 255 22 22<br>
OUTLINECOLOR 67 70 31<br> WIDTH 2<br> ANTIALIAS TRUE<br> END#style<br> END#class<br> <br> END#layer<br>END#map<br><br>Thanks :)<br>
</div><br>
</body></html>