+ /* setting geom property */
+ $decoder = new gisconverter\WKT();
+ try {
+ $geom = $decoder->geomFromText($formData["geom_data"]);
+ } catch (gisconverter\CustomException $e) {
+ throw new Syj_Exception_Request();
+ }
+ if ($geom::name != "LineString") {
+ throw new Syj_Exception_Request();
+ }
+ $path->geom = $geom;
+
+ /* setting title property */