[Mapbender-users] User-Name as an attribute in the digitizer

Gal Zsolt zsolt.gal at satelitnt.com
Mon Oct 26 09:10:14 PDT 2020


Hello to all,

I install mapbender 3.2.0 and it work very fast, but in this version Digitizer is missing.

It's sure 3.2.2 will have Digitizer?



Zsolt
On 26 October 2020 at 16:37:11 +02:00, Uwe Seher <uwe.seher at gmail.com> wrote:

> Thank you!
> 
> 
> Am Mo., 26. Okt. 2020 um 13:38 Uhr schrieb Astrid Emde (WhereGroup) <<astrid.emde at wheregroup.com>>:
> 
> > Hello Uwe,
> > 
> > 
> > with Mapbender 3.0.8.1 you can not use this feature.
> > 
> > 
> > It is likely that Mapbender 3.2.2 is release in some weeks. YOu can try
> > it with that version. But I can not assure it.
> > 
> > 
> > Astrid
> > 
> > 
> > Am 2020-10-26 12:11, schrieb Uwe Seher:
> > > Hello again!
> > > If i read you right, with Mapbender 3.0.8.1 i can not use this feature
> > > as long as i update in a couple of weeks.
> > > Thank you for your help
> > > best regards
> > > Uwe Seher
> > >
> > > Am Do., 22. Okt. 2020 um 12:35 Uhr schrieb Astrid Emde (WhereGroup)
> > > <<astrid.emde at wheregroup.com>>:
> > >
> > >> Hello,
> > >>
> > >> the definition is in the feature section and the user name is
> > >> referred
> > >> via $user and groups as $userRoles (which is an array):
> > >>
> > >> featureType:
> > >> connection: geodata_db
> > >> table: poi
> > >> uniqueId: gid
> > >> geomType: point
> > >> geomField: geom_25832
> > >> srid: 25832
> > >> filter: 'st_isempty(geom_25832)
> > >> =
> > >> false'
> > >> events:
> > >> onBeforeSave:
> > >> $feature->setAttribute('abstract', 'MAPS');
> > >> $feature->setAttribute('user_name', $user
> > >> );$feature->setAttribute('group', implode(',', $userRoles));
> > >>
> > >> But it looks like this feature is not working with the actual
> > >> Mapbender
> > >> 3.0.8.6 which uses digitizer 1.1.x. It works with digitzer 1.3
> > >> version.
> > >>
> > >> To change to the 1.3 version you have install Mapbender via Github
> > >> and
> > >> change in composer.json to "mapbender/digitizer": "dev-release/1.3",
> > >>
> > >> Then you can build your own mapbender with digitizer 1.3.
> > >>
> > >> Astrid
> > >>
> > >> Best regards Astrid
> > >>
> > >> Am 2020-10-22 08:58, schrieb Toma, Charlotte:
> > >>> Hello Uwe,
> > >>>
> > >>> you can use the „events“ to add predefined attributes from the
> > >>> mapbender database, e.g. the groupname or the username. You can
> > >> use
> > >>> the example in the documentation
> > >>>
> > >>
> > > (<https://doc.mapbender3.org/en/functions/editing/digitizer.html#events>
> > >>> [1]) and add the „onBeforeSafe“ event. Furthermore you need a
> > >>> coulumn in your table to save the information.
> > >>>
> > >>> Greetings from Wiesbaden
> > >>>
> > >>> Charly
> > >>>
> > >>> Mit freundlichen Grüßen
> > >>> im Auftrag
> > >>>
> > >>> Charlotte Toma
> > >>>
> > >>> Landeshauptstadt Wiesbaden
> > >>> -Der Magistrat-
> > >>>
> > >>> Stadtplanungsamt
> > >>> -610230-
> > >>> Gustav-Stresemann-Ring 15
> > >>> 65189 Wiesbaden
> > >>> Tel.: 0611 31-3436
> > >>> Fax: 0611 31-3917
> > >>> E-Mail: <61GIS at wiesbaden.de>
> > >>> Internet: <http://www.wiesbaden.de> [1] [2]
> > >>>
> > >>> Jede nicht gedruckte Seite spart Holz, Wasser und Strom.
> > >>>
> > >>> Von: Mapbender_users
> > >> [mailto:<mapbender_users-bounces at lists.osgeo.org>]
> > >>> Im Auftrag von Uwe Seher
> > >>> Gesendet: Donnerstag, 22. Oktober 2020 08:14
> > >>> An: Mapbender User List <<mapbender_users at lists.osgeo.org>>
> > >>> Betreff: [Mapbender-users] User-Name as an attribute in the
> > >> digitizer
> > >>>
> > >>> Hello!
> > >>>
> > >>> I want to log, when a feature has been changed by the digitizer.
> > >> Is
> > >>> there a possibillity to use the logged in username as an attribute
> > >> in
> > >>> the digitizer form or store it otherways in the edited feature?
> > >>>
> > >>> Thank you in advance
> > >>>
> > >>> Uwe Seher
> > >>>
> > >>> Links:
> > >>> ------
> > >>> [1]
> > >>>
> > >>
> > > <https://doc.mapbender3.org/en/functions/editing/digitizer.html#events>
> > >>> [2] <http://www.wiesbaden.de/>
> > >>> _______________________________________________
> > >>> 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: Web-Seminare und Online-Schulungen
> > >> bei der <http://www.foss-academy.com> [2]
> > >> -----------------------------------
> > >>
> > >> 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> [3]
> > >>
> > >> 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>
> > >
> > >
> > > Links:
> > > ------
> > > [1] <http://www.wiesbaden.de>
> > > [2] <http://www.foss-academy.com>
> > > [3] <http://www.wheregroup.com>
> > 
> > 
> > -- 
> > Mit freundlichen Grüßen
> > 
> > 
> > Astrid Emde
> > GIS-Consultant
> > 
> > 
> > -----------------------------------
> > Aufwind durch Wissen!
> > Jetzt neu: Web-Seminare und Online-Schulungen
> > bei der <http://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>
> > 
> _______________________________________________
> 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/20201026/eb4fcfe8/attachment-0001.html>


More information about the Mapbender_users mailing list