I am trying to set up a mapserver application using p.mapper. I have now a problem with layers defined with a OGR connection to a MySQL database. Below the layer as I defined in the mapfile:
LAYER # db table (from Mysql database) NAME "dblocsites" TYPE point CONNECTIONTYPE OGR # type of connection CONNECTION "qloc.ovf" # Virtual Data File (.ovf) DATA "loc_data" # name of the layer defined in the ovf TRANSPARENCY 100 STATUS on TOLERANCE 10 TOLERANCEUNITS pixels METADATA "DESCRIPTION" "Sampled sites loc" "RESULT_FIELDS" "LocCode,X,Y,alt,lu" "RESULT_HEADERS" "Site, X Coord, Y Coord, Altitude, Land use" END CLASS NAME "dbsites" STYLE SYMBOL 'circle' COLOR 0 0 0 SIZE 7 END # end style END # end class END # sites layer ends here I can draw this layer with mapserver used as CGI without any problems. However p.mapper is not recognising it. I added the name of the layer in the config file but the layer does not appear in the legend. I am stuck with this since few days: any idea will be really appreciated. Thanks in advance Laura ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users