<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&amp;mode=map">http://localhost/cgi-bin/mapserv.exe?map=i:/Spatial/mapfile/map_postgis.map&amp;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>&nbsp;&nbsp;&nbsp; LAYER<br>&nbsp;&nbsp;&nbsp; NAME "tb_kasusdbd"<br>&nbsp;&nbsp;&nbsp; STATUS ON<br>&nbsp;&nbsp;&nbsp; TYPE POLYGON<br>&nbsp;&nbsp;&nbsp; CONNECTIONTYPE POSTGIS<br>&nbsp;&nbsp;&nbsp; CONNECTION "user=dbee dbname=dbSpatialSura host=localhost port=5432 password=xxxxxx"<br>&nbsp;&nbsp;&nbsp; DATA "the_geom FROM tb_kasusdbd USING UNIQUE code_kec"<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; MINSCALE 100000<br>&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; #FILTER "type= 'jumdbd_08'"<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CLASS<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; NAME "kecamatan"<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; STYLE<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; COLOR 255 22 22<br>&nbsp;&nbsp;&nbsp;
 &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; OUTLINECOLOR 67 70 31<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; WIDTH 2<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ANTIALIAS TRUE<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; END#style<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; END#class<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; END#layer<br>END#map<br><br>Thanks :)<br>
</div><br>

      </body></html>