Hi List,<br><br>I have a problem with the edit plugin, I insert two points on the map of my project but send this error:<br><br><pre style="border: 0pt none ;">Class : SoapFaultWrapper<br>Message : Unable to insert feature in edit database Message: DB Error: unknown error  Userinfo: INSERT INTO public.edit_point (the_geom , name, surname, place, age) VALUES (GeometryFromText(&#39;POINT()&#39;, 4326) , &#39;e&#39;, &#39;e&#39;, &#39;e&#39;, &#39;1&#39;)  [nativecode=ERROR:  Invalid OGC WKT (too short)]<br>
Backtrace:<br><br>file: 281 - C:\ms4w\apps\cartoweb3\plugins\edit\server\ServerEdit.php<br>call: Utils::checkDbError(Object(DB_Error), &quot;Unable to insert feature in edit database&quot;)<br><br>file: 601 - C:\ms4w\apps\cartoweb3\plugins\edit\server\ServerEdit.php<br>
call: ServerEdit-&gt;insertFeature(Object(Feature))<br><br>file: 74 - C:\ms4w\apps\cartoweb3\server\ServerPluginHelper.php<br>call: ServerEdit-&gt;handlePreDrawing(Object(EditRequest))<br><br>file: 132 - C:\ms4w\apps\cartoweb3\server\ServerPluginHelper.php<br>
call: ServerPluginHelper-&gt;callHandleFunction(Object(ServerEdit), &quot;handlePreDrawing&quot;)<br><br>file: UNKNOWN - UNKNOWN<br>call: ClientResponderHelper-&gt;handlePreDrawingHelper(Object(ServerEdit))<br><br>file: 267 - C:\ms4w\apps\cartoweb3\common\PluginManager.php<br>
call: call_user_func_array(Array(2), Array(1))<br><br>file: 285 - C:\ms4w\apps\cartoweb3\common\PluginManager.php<br>call: PluginManager-&gt;callPluginImplementing(Object(ServerEdit), &quot;ClientResponder&quot;, &quot;handlePreDrawing&quot;, Array(0))<br>
<br>file: 301 - C:\ms4w\apps\cartoweb3\server\Cartoserver.php<br>call: PluginManager-&gt;callPluginsImplementing(&quot;ClientResponder&quot;, &quot;handlePreDrawing&quot;)<br><br>file: 349 - C:\ms4w\apps\cartoweb3\server\Cartoserver.php<br>
call: Cartoserver-&gt;doGetMap(Object(MapRequest))<br><br>file: 370 - C:\ms4w\apps\cartoweb3\server\Cartoserver.php<br>call: Cartoserver-&gt;callWithExceptionCheck(&quot;doGetMap&quot;, Object(MapRequest))<br><br>file: 76 - C:\ms4w\apps\cartoweb3\server\MapResultCache.php<br>
call: Cartoserver-&gt;cacheGetMap(Object(MapRequest))<br><br>file: 107 - C:\ms4w\apps\cartoweb3\server\MapResultCache.php<br>call: MapResultCache-&gt;getMapResultFromServer(Object(MapRequest))<br><br>file: 190 - C:\ms4w\apps\cartoweb3\server\MapResultCache.php<br>
call: MapResultCache-&gt;cacheMapResult(Object(MapRequest))<br><br>file: 380 - C:\ms4w\apps\cartoweb3\server\Cartoserver.php<br>call: MapResultCache-&gt;getMap(Object(MapRequest))<br><br>file: 104 - C:\ms4w\apps\cartoweb3\client\CartoserverService.php<br>
call: Cartoserver-&gt;getMap(Object(MapRequest))<br><br>file: 165 - C:\ms4w\apps\cartoweb3\client\CartoserverService.php<br>call: CartoserverService-&gt;callDirect(&quot;getMap&quot;, Object(MapRequest))<br><br>file: 233 - C:\ms4w\apps\cartoweb3\client\CartoserverService.php<br>
call: CartoserverService-&gt;callFunction(&quot;getMap&quot;, Object(MapRequest))<br><br>file: 948 - C:\ms4w\apps\cartoweb3\client\Cartoclient.php<br>call: CartoserverService-&gt;getMap(Object(MapRequest))<br><br>file: 1086 - C:\ms4w\apps\cartoweb3\client\Cartoclient.php<br>
call: Cartoclient-&gt;getMapResultFromRequest(Object(MapRequest))<br><br>file: 1261 - C:\ms4w\apps\cartoweb3\client\Cartoclient.php<br>call: Cartoclient-&gt;doMain()<br><br>file: 38 - C:\ms4w\apps\cartoweb3\htdocs\client.php<br>
call: Cartoclient-&gt;main()<br><br><br></pre>I print the request with print_r($_REQUEST); in the handleHttpPostRequest function and show this:<br><br>Array ( [map] =&gt; C:/ms4w/apps/cartoweb3/projects/SIGGuayaquil/server_conf/SIGGuayaquil/SIGGuayaquil.map [program] =&gt; /cgi-bin/mapserv.exe [posted] =&gt; 1 [js_folder_idx] =&gt; 9 [selection_type] =&gt; [selection_coords] =&gt; [features] =&gt; [project] =&gt; SIGGuayaquil [collapse_keymap] =&gt; 0 [fake_reset] =&gt; [fake_query] =&gt; [outline_label_text] =&gt; your label [tool] =&gt; edit_move [recenter_doit] =&gt; 0 [recenter_scale] =&gt; 0 [mapsize] =&gt; 1 <br>
<br><b>[edit_feature_1233969518932972] =&gt; Array ( [name] =&gt; e [surname] =&gt; e [place] =&gt; e [age] =&gt; 1 [WKTString] =&gt; POINT() [operation] =&gt; insert ) <br><br>[edit_selected] =&gt; 1233969518932972 <br><br>
[edit_feature_1233969519340913] =&gt; Array ( [name] =&gt; t [surname] =&gt; t [place] =&gt; t [age] =&gt; 2 [WKTString] =&gt; POINT(151691.3757677 610088.2238095239) [operation] =&gt; insert ) <br></b><br><br>[openNodes] =&gt; [layers] =&gt; Array ( [0] =&gt; manzanas [1] =&gt; metrovia [2] =&gt; ruta [3] =&gt; edit_point ) [outline_mask] =&gt; no [outline_point_symbol] =&gt; circle [outline_point_size] =&gt; 10 [outline_point_color] =&gt; #0000cd [outline_point_transparency] =&gt; 100 [outline_line_size] =&gt; 3 [outline_line_color] =&gt; #ff0000 [outline_line_transparency] =&gt; 100 [outline_polygon_outline_color] =&gt; #000000 [outline_polygon_background_color] =&gt; #ff9900 [outline_polygon_transparency] =&gt; 60 [routing_from] =&gt; 24 [routing_to] =&gt; 24 [id_recenter_layer] =&gt; metrovia [id_recenter_ids] =&gt; [pdfMarginX] =&gt; 20 [pdfMarginY] =&gt; 20 [pdfA4x] =&gt; 210 [pdfA4y] =&gt; 297 [pdfA3x] =&gt; 297 [pdfA3y] =&gt; 420 [pdfFormat] =&gt; A4 [pdfResolution] =&gt; 96 [pdfScale] =&gt; 100000 [pdfOrientation] =&gt; portrait [pdfMapAngle] =&gt; [pdfMapCenterX] =&gt; [pdfMapCenterY] =&gt; [pdfTitle] =&gt; SIG Guayaquil [pdfNote] =&gt; [pdfLegend] =&gt; 0 [query_alllayers] =&gt; 1 [query_layerid] =&gt; Array ( [0] =&gt; metrovia [1] =&gt; ruta ) [query_hilight] =&gt; Array ( [0] =&gt; metrovia [1] =&gt; ruta ) [query_attributes] =&gt; Array ( [0] =&gt; metrovia [1] =&gt; ruta ) [query_table] =&gt; Array ( [0] =&gt; metrovia [1] =&gt; ruta ) [query_policy_0] =&gt; POLICY_XOR [query_maskmode] =&gt; Array ( [0] =&gt; metrovia [1] =&gt; ruta ) [query_policy_1] =&gt; POLICY_XOR [edit_layer] =&gt; edit_point [edit_validate_all] =&gt; 1 [LangCookie] =&gt; es [TestCookie] =&gt; OK [authchallenge] =&gt; fd71df2f4ec71f1315e68a4fe1871fef [PHPSESSID] =&gt; c46f9533cf682a7bb3117ce04255f8fb ) <br>
<br>Why in the second point appears <b>[WKTString] =&gt; POINT(151691.3757677 610088.2238095239) </b>and in the first point appear<b> </b><b>[WKTString] =&gt; POINT()</b>?, because in the demoEdit works fine but in my project don&#39;t work =(, thanks for your help =).<br>
<br clear="all">Thaks and regards,<br>Karol<br>