<span style=" font-size:10pt;font-family:sans-serif">Hello Johannes Weskamm,
</span>
<br>
<br><span style=" font-size:10pt;font-family:sans-serif">thank you very
much for your help. </span>
<br>
<br><span style=" font-size:10pt;font-family:sans-serif">Your idea has
worked:</span>
<br>
<br><span style=" font-size:10pt;font-family:Verdana"><i>ln -s /usr/lib/libgdal.a
/usr/lib/liblibgdal.a</i></span>
<br>
<br>
<br><span style=" font-size:10pt;font-family:sans-serif">Greetings,</span>
<br><span style=" font-size:10pt;font-family:sans-serif">Anika Graupner</span>
<br><span style=" font-size:12pt;font-family:Verdana"> </span>
<br><span style=" font-size:12pt;font-family:Verdana"><b>Gesendet:</b>
Mittwoch, 01. März 2023 um 10:02 Uhr<b><br>
Von:</b> "Johannes Weskamm" <weskamm@terrestris.de><b><br>
An:</b> mapproxy@lists.osgeo.org<b><br>
Betreff:</b> Re: [MapProxy] FileNotFoundError coverages seeding</span>
<br><span style=" font-size:12pt;font-family:Verdana">Just another quickfix
idea:</span>
<br><span style=" font-size:12pt;font-family:Verdana"> </span>
<br><span style=" font-size:12pt;font-family:Verdana">ln -s /usr/lib/libgdal.a
/usr/lib/liblibgdal.a</span>
<br><span style=" font-size:12pt;font-family:Verdana"> </span>
<br><span style=" font-size:12pt;font-family:Verdana">Maybe that helps.</span>
<br><span style=" font-size:12pt;font-family:Verdana">Greetings,</span>
<br><span style=" font-size:12pt;font-family:Verdana">Johannes</span>
<br><span style=" font-size:12pt;font-family:Verdana"> </span>
<br><span style=" font-size:12pt;font-family:Verdana"> </span>
<br><span style=" font-size:12pt;font-family:Verdana">Am 28.02.23 um 14:13
schrieb Johannes Weskamm:</span>
<br><span style=" font-size:12pt;font-family:Verdana">Hi,</span>
<br><span style=" font-size:12pt;font-family:Verdana"> </span>
<br><span style=" font-size:12pt;font-family:Verdana">Did you install "libgdal-dev"
?</span>
<br><span style=" font-size:12pt;font-family:Verdana">And if so and the
problem persists, it is very likely related to this:</span>
<br><a href=https://github.com/mapproxy/mapproxy/issues/600 target=_blank><span style=" font-size:12pt;color:blue;font-family:Verdana"><u>https://github.com/mapproxy/mapproxy/issues/600</u></span></a>
<br><span style=" font-size:12pt;font-family:Verdana"> </span>
<br><span style=" font-size:12pt;font-family:Verdana">This has been fixed
in the current master, but there is no relase yet which includes the fix.</span>
<br><span style=" font-size:12pt;font-family:Verdana">If i remember correctly,
this issue only exists on ubuntu 22.</span>
<br><span style=" font-size:12pt;font-family:Verdana"> </span>
<br><span style=" font-size:12pt;font-family:Verdana">Greetings,</span>
<br><span style=" font-size:12pt;font-family:Verdana">Johannes</span>
<br><span style=" font-size:12pt;font-family:Verdana"> </span>
<br><span style=" font-size:12pt;font-family:Verdana">Am 28.02.23 um 13:38
schrieb Anika Graupner:</span>
<br><span style=" font-size:12pt;font-family:sans-serif">Hello,</span><span style=" font-size:12pt;font-family:Verdana"><br>
</span><span style=" font-size:12pt;font-family:sans-serif"><br>
we have installed Mapproxy on Ubuntu 22.04.2 LTS in our company, version
1.13.0.<br>
We provide a simple wms with one raster layer.</span><span style=" font-size:12pt;font-family:Verdana"><br>
</span><span style=" font-size:12pt;font-family:sans-serif"><br>
We also create a seed configuration for this service which looks like this:</span><span style=" font-size:12pt;font-family:Verdana"><br>
</span><span style=" font-size:12pt;font-family:sans-serif"><i><br>
seeds:<br>
fullseed_bp_raster:<br>
caches: [BPRaster_cache]<br>
coverages: [bp_raster]</i></span><span style=" font-size:12pt;font-family:Verdana"><br>
</span><span style=" font-size:12pt;font-family:sans-serif"><i><br>
reseed_bp_raster:<br>
caches: [BPRaster_cache]<br>
coverages: [changes_bp_raster]</i></span><span style=" font-size:12pt;font-family:Verdana"><br>
</span><span style=" font-size:12pt;font-family:sans-serif"><i><br>
coverages:<br>
bp_raster:<br>
bbox: [220000,5100000,300000,500000]<br>
srs: "EPSG:25832"<br>
changes_bp_raster:<br>
#example with PostGIS query<br>
datasource: "PG: dbname='XXX' host='XXX' port='XXX'
user='XXX' password='XXX'"<br>
where: "select * from xplanmgr.plans where xp_type =
'BP_Plan' and planstatus = 'Festgestellt' and import_date > current_date
- interval '100 days'"<br>
srs: 'EPSG:25832'</i></span><span style=" font-size:12pt;font-family:Verdana"><br>
</span><span style=" font-size:12pt;font-family:sans-serif"><br>
The seeding task <i>"fullseed_bp_raster"</i> could be executed
successfully.</span><span style=" font-size:12pt;font-family:Verdana"><br>
</span><span style=" font-size:12pt;font-family:sans-serif"><br>
The second seeding task <i>"reseed_bp_raster"</i> should only
seed areas where there have been changes in the database.</span><span style=" font-size:12pt;font-family:Verdana"><br>
</span><span style=" font-size:12pt;font-family:sans-serif"><br>
But when we try to start the seeding task <i>"changes_bp_raster"</i>
with this command<i><br>
"mapproxy-seed -f service.yaml -s seed_service.yaml --seed reseed_bp_raster"
</i><br>
we get the following error:</span><span style=" font-size:12pt;font-family:Verdana"><br>
</span><span style=" font-size:12pt;font-family:sans-serif"><i><br>
[...]<br>
File "/usr/lib/python3.10/ctypes/util.py", line 99, in _is_elf<br>
with open(filename, 'br') as thefile:<br>
FileNotFoundError: [Errno 2] No such file or directory: b'liblibgdal.a'</i></span><span style=" font-size:12pt;font-family:Verdana"><br>
</span><span style=" font-size:12pt;font-family:sans-serif"><br>
We installed shapely and geos as described on the following page: </span><a href=https://mapproxy.org/docs/1.13.0/coverages.html#requirements target=_blank><span style=" font-size:12pt;color:blue;font-family:sans-serif"><i><u>https://mapproxy.org/docs/1.13.0/coverages.html#requirements</u></i></span></a><span style=" font-size:12pt;font-family:Verdana"><br>
</span><span style=" font-size:12pt;font-family:sans-serif"><br>
Furthermore we also installed the following versions:</span><span style=" font-size:12pt;font-family:Verdana"><br>
</span><span style=" font-size:12pt;font-family:sans-serif"><i><br>
Python 3.10.6<br>
GDAL 3.4.1, released 2021/12/27</i></span><span style=" font-size:12pt;font-family:Verdana"><br>
</span><span style=" font-size:12pt;font-family:sans-serif"><br>
Does anyone have an idea how to solve this or has anyone had this problem
before?<br>
It could also be that the configuration is not quite right yet, but I suspect
the problem comes more from the libraries.</span><span style=" font-size:12pt;font-family:Verdana"><br>
</span><span style=" font-size:12pt;font-family:sans-serif"><br>
Thanks in advance!<br>
Anika Graupner</span><span style=" font-size:12pt;font-family:Verdana">
</span>
<br><span style=" font-size:12pt;font-family:Verdana">_______________________________________________<br>
MapProxy mailing list<br>
</span><a href=mailto:MapProxy@lists.osgeo.org target=_blank><span style=" font-size:12pt;color:blue;font-family:Verdana"><u>MapProxy@lists.osgeo.org</u></span></a><span style=" font-size:12pt;font-family:Verdana"><br>
</span><a href=https://lists.osgeo.org/mailman/listinfo/mapproxy target=_blank><span style=" font-size:12pt;color:blue;font-family:Verdana"><u>https://lists.osgeo.org/mailman/listinfo/mapproxy</u></span></a><span style=" font-size:12pt;font-family:Verdana"><br>
</span>
<br><span style=" font-size:12pt;font-family:Verdana">--<br>
Dipl.-Geogr. Johannes Weskamm<br>
— Anwendungsentwickler —<br>
<br>
terrestris GmbH & Co. KG<br>
Kölnstraße 99<br>
53111 Bonn<br>
<br>
Tel: +49 (0)228 / 96 28 99 -51<br>
Fax: +49 (0)228 / 96 28 99 -57<br>
<br>
Email: </span><a href=mailto:weskamm@terrestris.de target=_blank><span style=" font-size:12pt;color:blue;font-family:Verdana"><u>weskamm@terrestris.de</u></span></a><span style=" font-size:12pt;font-family:Verdana"><br>
Web: </span><a href=https://www.terrestris.de/ target=_blank><span style=" font-size:12pt;color:blue;font-family:Verdana"><u>https://www.terrestris.de</u></span></a><span style=" font-size:12pt;font-family:Verdana"><br>
<br>
Amtsgericht Bonn, HRA 6835<br>
Komplementärin: terrestris Verwaltungsgesellschaft mbH<br>
vertreten durch: Torsten Brassat, Marc Jansen<br>
<br>
Informationen über Ihre gespeicherten Daten finden Sie auf<br>
unserer Homepage unter folgendem Link:<br>
</span><a href=https://www.terrestris.de/datenschutzerklaerung/ target=_blank><span style=" font-size:12pt;color:blue;font-family:Verdana"><u>https://www.terrestris.de/datenschutzerklaerung/</u></span></a>
<br><span style=" font-size:12pt;font-family:Verdana"> </span>
<br><span style=" font-size:12pt;font-family:Verdana">_______________________________________________<br>
MapProxy mailing list<br>
</span><a href=mailto:MapProxy@lists.osgeo.org target=_blank><span style=" font-size:12pt;color:blue;font-family:Verdana"><u>MapProxy@lists.osgeo.org</u></span></a><span style=" font-size:12pt;font-family:Verdana"><br>
</span><a href=https://lists.osgeo.org/mailman/listinfo/mapproxy target=_blank><span style=" font-size:12pt;color:blue;font-family:Verdana"><u>https://lists.osgeo.org/mailman/listinfo/mapproxy</u></span></a><span style=" font-size:12pt;font-family:Verdana"><br>
</span>
<br><span style=" font-size:12pt;font-family:Verdana">--<br>
Dipl.-Geogr. Johannes Weskamm<br>
— Anwendungsentwickler —<br>
<br>
terrestris GmbH & Co. KG<br>
Kölnstraße 99<br>
53111 Bonn<br>
<br>
Tel: +49 (0)228 / 96 28 99 -51<br>
Fax: +49 (0)228 / 96 28 99 -57<br>
<br>
Email: </span><a href=mailto:weskamm@terrestris.de target=_blank><span style=" font-size:12pt;color:blue;font-family:Verdana"><u>weskamm@terrestris.de</u></span></a><span style=" font-size:12pt;font-family:Verdana"><br>
Web: </span><a href=https://www.terrestris.de/ target=_blank><span style=" font-size:12pt;color:blue;font-family:Verdana"><u>https://www.terrestris.de</u></span></a><span style=" font-size:12pt;font-family:Verdana"><br>
<br>
Amtsgericht Bonn, HRA 6835<br>
Komplementärin: terrestris Verwaltungsgesellschaft mbH<br>
vertreten durch: Torsten Brassat, Marc Jansen<br>
<br>
Informationen über Ihre gespeicherten Daten finden Sie auf<br>
unserer Homepage unter folgendem Link:<br>
</span><a href=https://www.terrestris.de/datenschutzerklaerung/ target=_blank><span style=" font-size:12pt;color:blue;font-family:Verdana"><u>https://www.terrestris.de/datenschutzerklaerung/</u></span></a>
<br><span style=" font-size:12pt;font-family:Verdana">_______________________________________________
MapProxy mailing list MapProxy@lists.osgeo.org </span><a href=https://lists.osgeo.org/mailman/listinfo/mapproxy target=_blank><span style=" font-size:12pt;color:blue;font-family:Verdana"><u>https://lists.osgeo.org/mailman/listinfo/mapproxy</u></span></a>
<br>