[Mapbender-users] Problem with updating WMS -in Mapbender 3

Astrid Emde (WhereGroup) astrid.emde at wheregroup.com
Wed May 5 05:21:46 PDT 2021


Hallo Patrick,

https://github.com/mapbender/mapbender/issues/1234

it is an error in the old version.

It should work in 3.2.

So for now you have to delte/insert the WMS to all your applications.

Astrid

Am 2021-05-05 14:08, schrieb Patrick Meis:
> Hello List,
> 
> we are currently using Mapbender 3 in version 3.0.8.3  (yes,yes, we
> are sheduled for an update soon…).
> 
> I am trying to update a WMS with aerial pictue information.
> 
> The new arial pictures consist of 3 layers (2 overviews and the actual
> pictures) with a group layer (configured in Mapserver 7.4.1).
> 
> Upon updating the WMS ii get the following eror message:
> 
>  ·         A new entity was found through the relationship
> 'Mapbender\WmsBundle\Entity\WmsLayerSource#source' that was not
> configured to cascade persist operations for entity: . To solve this
> issue: Either explicitly call EntityManager#persist() on this unknown
> entity or configure cascade persist this association in the mapping
> for example @ManyToOne(..,cascade={"persist"}).
> 
> These Symfony/Doctrine error messages are rather cryptic to me…
> 
> Unfortunately i find no entry in the log seither.
> 
> If i load the WMS in as a new source, ist working perfecly, only the
> update process throws the error.
> 
> I would really prefer not to delete the old WMS and load it as a new
> source, this WMS is used in all my GUIs in multiple ways.
> 
> That would be a lot of clicks in reconfiguring the GUIs.
> 
> Any ideas?
> 
> This is the mapfile configuration fort the 3 new layers:
> 
> LAYER
> 
>    GROUP "luftbilder_2020_group"
> 
>    NAME "luftbilder_2020_over1"
> 
>    DATA "/srv/data/luftbilder_2020/overview/overview1.tif"
> 
>    TYPE RASTER
> 
>    OFFSITE 255 255 255
> 
>    MINSCALEDENOM 10000
> 
>    STATUS ON
> 
>    CLASS
> 
>       NAME "Mai 2020"
> 
>       KEYIMAGE "images/keyimage.png"
> 
>    END
> 
>    PROJECTION
> 
>       "init=epsg:25832"
> 
>    END
> 
>    METADATA
> 
>      WMS_TITLE "ab 1:10000"
> 
>      "wms_group_title" "2020 (Mai) - Land NRW"
> 
>      "wms_group_abstract" "Dieser Layer stellt die Luftbilder (Stand
> 2020) mit einer Bodenauflösung von 10 cm (DOP10) vom Land NRW dar."
> 
>    END
> 
> END
> 
> LAYER
> 
>    GROUP "luftbilder_2020_group"
> 
>    NAME "luftbilder_2020_over"
> 
>    DATA "/srv/data/luftbilder_2020/overview/overview.tif"
> 
>    TYPE RASTER
> 
>    MINSCALEDENOM 4000
> 
>    MAXSCALEDENOM 9999
> 
>    STATUS ON
> 
>    CLASS
> 
>       NAME "Mai 2020"
> 
>       KEYIMAGE "images/keyimage.png"
> 
>    END
> 
>    PROJECTION
> 
>       "init=epsg:25832"
> 
>    END
> 
>    METADATA
> 
>      WMS_TITLE "ab 1:4000"
> 
>    END
> 
> END
> 
> LAYER
> 
>    GROUP "luftbilder_2020_group"
> 
>    NAME "luftbilder_2020_data"
> 
>    TILEINDEX "/srv/data/luftbilder_2020/luftb2020"
> 
>    TILEITEM "Location"
> 
>    TYPE RASTER
> 
>   OFFSITE 255 255 255
> 
>    MAXSCALEDENOM 4000
> 
>    STATUS ON
> 
>    CLASS
> 
>       NAME "Mai 2020"
> 
>       KEYIMAGE "images/keyimage.png"
> 
>    END
> 
>    PROJECTION
> 
>       "init=epsg:25832"
> 
>    END
> 
>    METADATA
> 
>      WMS_TITLE "Luftbilder 2020 (Land NRW)"
> 
>    END
> 
> END
> 
> Patrick
> 
> Stadt Münster
> 
> ___________________________________________________
> 
> Stadt Münster
> 
> Der Oberbürgermeister
> 
> Vermessungs- und Katasteramt
> 
> Albersloher Weg 33
> 
> 48155 Münster
> 
> Tel.: 0251 / 492 6263
> 
> E-Mail: meis at stadt-muenster.de
> 
> Internet: http://www.muenster.de/ [1]
> 
> ____________________________________________________
> 
>  Der Schutz Ihrer personenbezogenen Daten ist der Stadt Münster ein
> wichtiges Anliegen. Die Datenschutzerklärung finden Sie unter
> folgendem Link: https://www.stadt-muenster.de/datenschutz.html
> 
> Links:
> ------
> [1] http://www.muenster.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!
  Web-Seminare 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
   www.wheregroup.com

   Meinen PGP Public-Key können Sie unter pgp.mit.edu herunterladen:
   
https://keys.openpgp.org/vks/v1/by-fingerprint/01F8152D36FC07C25EADDE86C5084ACC1C287CCB
   Signierte und/oder verschlüsselte Nachrichten sind sehr willkommen

   Folgen Sie der WhereGroup auf twitter:
   http://twitter.com/WhereGroup_com

   Geschäftsführer:
   Olaf Knopp, Peter Stamm
   Amtsgericht Bonn, HRB 9885
-------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x1C287CCB.asc
Type: application/pgp-keys
Size: 1574 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapbender_users/attachments/20210505/6b621a7d/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <http://lists.osgeo.org/pipermail/mapbender_users/attachments/20210505/6b621a7d/attachment.sig>


More information about the Mapbender_users mailing list