Hi i'm trying to use the plugin "digitizepoints" in pmapper 4.0 final release, i'm using winxp with MS4W 2.7, i have defined the follow configuration in 1. mayfile.map 2. config_myfile.xml 3. include_conf.php
1. mayfile.map # PROVA_POSTGIS LAYER NAME "punti" TYPE point CONNECTION "host=localhost password=5maggio1941 user=postgres dbname=acam port=5432" CONNECTIONTYPE postgis DATA "the_geom from civici3 using unique gid" TEMPLATE void PROJECTION "init=epsg:32632" END METADATA "DESCRIPTION" "Punti" "RESULT_FIELDS" "dataini, codcomune" "RESULT_HEADERS" "data, comune" END # Metadata CLASS Name 'Punti' COLOR 255 0 0 OUTLINECOLOR 0 0 0 SYMBOL 'square' SIZE 9 END END # Class END # Layer 2. config_myfile.xml <digitizepoints> <dlgOptions> <width>640</width> <height>480</height> <left>100</left> <top>50</top> <decimals>5</decimals> <dlgTimeout>2000</dlgTimeout> </dlgOptions> </digitizepoints> 3. include_conf.php <?php //------------------------------------------------------------------------- // Digitizepoint plugin configuration. //------------------------------------------------------------------------- $dsn = 'pgsql://postgres:5maggio1...@localhost:5432/acam'; $db_table = 'civici3'; // Table name. $pkey = 'gid'; // Table's primary key. $the_geom = 'the_geom'; // Table's geometry field, type POINT. $srid_geom = 32632; // SRID of the geometry. $srid_map = 32632; // SRID of the map (clicked screen point). $tolerance = 500; // Distance in meteres to pick existing point for editing. $hide_fields = array('dataini'); // Table fields not displayed in the edit form. ?> When i press the "digitizepoints button" in the workspace of pmapper and click on the map, appears a contestual window called "Digitize Point" and inside the message: "DB Error: unknown error" I don't know what's wrong. Thanks all! marco zanieri ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users