[postgis-devel] i'm practikal student need help plz..

Nicklas Avén nicklas.aven at jordogskog.no
Wed Feb 3 22:22:08 PST 2010


You have status set to off on the layer. Should be default or on instead. 
Hope that helps
nicklas
-- originalmedd. --
Ämne:	[postgis-devel]  i'm practikal student need help plz..
Från:	syera <syirapotter at yahoo.com>
Datum:		2010-02-04 05:19


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.

_______________________________________________
postgis-devel mailing list
postgis-devel at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-devel





More information about the postgis-devel mailing list