[Mapbender-users] Digitizer Schemes pipe commands

Gal Zsolt zsolt.gal at satelitnt.com
Thu Jul 2 23:23:35 PDT 2020


Hello Astrid,


Ok.
I will try to make a script in Notepad++ to undo this changes.

Thanks for your quick anwer.

Zsolt

On 3 July 2020 at 09:10:15 +03:00, Astrid Emde (WhereGroup) <astrid.emde at wheregroup.com> wrote:

> Hello Zsolt,
> 
> the behaviour is normal at the moement :)
> 
> You could save your configuration separately in a textfile and transfer it to Mapbender if you make changes.
> 
> Astrid
> 
> 
> Am 2020-07-03 06:28, schrieb Gal Zsolt:
> 
> > Hi everyone!
> > In digitizer Schemes I wrote this:
> > onBeforeSave: |
> > $nr = $feature->getAttribute(\"nr\");
> > $s = $feature->getAttribute(\"sufix\");
> > $bloc = $feature->getAttribute(\"bloc\");
> > $scara = $feature->getAttribute(\"scara\");
> > $label=$nr.$s.\"\r\n\";
> > if ($bloc <> \"\"){$label.=\"bl.\".$bloc;}
> > if ($scara <> \"\"){$label.=\"sc.\".$scara;}
> > $feature->setAttribute(\"textlabel\",$label );
> > after save change to this:
> > .......
> > onBeforeSave: "$nr = $feature->getAttribute(\"nr\"); \n$s =
> > $feature->getAttribute(\"sufix\"); \n$bloc =
> > $feature->getAttribute(\"bloc\"); \n$scara =
> > $feature->getAttribute(\"scara\"); \n$label=$nr.$s.\"\r\n\";\nif
> > ($bloc <> \"\"){$label.=\"bl.\".$bloc;}\nif ($scara <>
> > \"\"){$label.=\"sc.\".$scara;}\n$feature->setAttribute(\"textlabel\",$label
> > );\n"
> > ...........
> > Exist a settings in Mapbender to prevent this changes? I use
> > Mapbendet installed on Linux.
> > Thanks in advance for any advice!
> > Zsolt
> > _______________________________________________
> > Mapbender_users mailing list
> > Mapbender_users at lists.osgeo.org
> > <https://lists.osgeo.org/mailman/listinfo/mapbender_users>
> > 
> -- 
> Mit freundlichen Grüßen
> 
> Astrid Emde
> GIS-Consultant
> 
> -----------------------------------
> Aufwind durch Wissen!
> Jetzt neu: Webinare und Online-Schulungen
> bei der www.foss-academy.com
> -----------------------------------
> 
> Astrid Emde
> WhereGroup GmbH
> Eifelstraße 7
> 53119 Bonn
> Germany
> 
> Fon: +49(0)228 90 90 38 - 22
> Fax: +49(0)228 90 90 38 - 11
> 
> <astrid.emde at wheregroup.com>
> <http://www.wheregroup.com>
> 
> Folgen Sie der WhereGroup auf twitter:
> <http://twitter.com/WhereGroup_com>
> 
> Geschäftsführer:
> Olaf Knopp, Peter Stamm
> Amtsgericht Bonn, HRB 9885
> -------------------------------
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> <https://lists.osgeo.org/mailman/listinfo/mapbender_users>
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapbender_users/attachments/20200703/f5bea0f6/attachment.html>


More information about the Mapbender_users mailing list