Hi all, i have a new question...for you is it possible use a dbf file (using an odbc connection) as an xy layer??? i'm tring but without success. the point doesn't appear in the map but onli the loading windows
I'm using pmapper 4.0 and mapserver 5.2.1 (installed with ms4w 2.3.1 stable version) on a windows server 2003 machine (32 bit os and service pack 2) following there is the layer tag in the map file i'm using: # # Start of Layer table3.dbf # LAYER NAME "punti_monitoraggio_xy" TYPE POINT PROJECTION #"init=epsg:3004" "+proj=tmerc +lat_0=0 +lon_0=15 +k=0.9996 +x_0=2520000 +y_0=0 +ellps=intl +units=m +no_defs" END #Projection MAXSCALE 5100 TOLERANCE 20 TOLERANCEUNITS pixels METADATA "DESCRIPTION" "xy" "RESULT_FIELDS" "SIGLA,LINK,TRIMESTRE" "RESULT_HEADERS" "Sigla,Link,Trimestre" "RESULT_HYPERLINK" "LINK" "XYLAYER_PROPERTIES" "odbc://'':''/localh...@tabelle||table3||X2,Y2" END # Metadata TEMPLATE void CLASS Name 'XY' STYLE SYMBOL "../../images/metrob1/punti_monitoraggio/atm.png" SIZE 30 COLOR 0 0 200 END # Style TEMPLATE void END # Class END # Layer I already have installed the DB and MDB2 pear package, created the odbc connection (with dsn system name) and tested the pear connection with the following script (founded on the wiki at http://svn.pmapper.net/trac/wiki/FaqConfiguration ): <?php require_once('DB.php'); $dsn = "odbc://'':''/localh...@tabelle"; $dbh = DB::connect($dsn); if (DB::isError($dbh)) { die ($dbh->getDebugInfo()); } ?> the test was succesfully cause (as the wiki says) the resut page was blank. I'm sure the connection was succesful cauce i'm using a join with this table. Where i was wrong??? ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users