diving-into-pygeoapi icon indicating copy to clipboard operation
diving-into-pygeoapi copied to clipboard

pygeoapi as a WFS proxy

Open InspireGeo opened this issue 2 years ago • 0 comments


my specifications,

OS: Debian GNU/Linux 10 (buster) Python 3.7.3 GDAL 2.4.0, released 2018/12/14

******************************error message Traceback (most recent call last): File "/home/locale/ogcpygeoapi/pygeoapi/bin/pygeoapi", line 11, in load_entry_point('pygeoapi==0.14.dev0', 'console_scripts', 'pygeoapi')() File "/home/locale/ogcpygeoapi/pygeoapi/lib/python3.7/site-packages/click/core.py", line 1134, in call return self.main(*args, **kwargs) File "/home/locale/ogcpygeoapi/pygeoapi/lib/python3.7/site-packages/click/core.py", line 1059, in main rv = self.invoke(ctx) File "/home/locale/ogcpygeoapi/pygeoapi/lib/python3.7/site-packages/click/core.py", line 1665, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/home/locale/ogcpygeoapi/pygeoapi/lib/python3.7/site-packages/click/core.py", line 1665, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/home/locale/ogcpygeoapi/pygeoapi/lib/python3.7/site-packages/click/core.py", line 1401, in invoke return ctx.invoke(self.callback, **ctx.params) File "/home/locale/ogcpygeoapi/pygeoapi/lib/python3.7/site-packages/click/core.py", line 767, in invoke return __callback(*args, **kwargs) File "/home/locale/ogcpygeoapi/pygeoapi/lib/python3.7/site-packages/click/decorators.py", line 26, in new_func return f(get_current_context(), *args, **kwargs) File "/home/locale/ogcpygeoapi/pygeoapi/lib/python3.7/site-packages/pygeoapi-0.14.dev0-py3.7.egg/pygeoapi/openapi.py", line 1206, in generate content = yaml.safe_dump(get_oas(s), default_flow_style=False) File "/home/locale/ogcpygeoapi/pygeoapi/lib/python3.7/site-packages/pygeoapi-0.14.dev0-py3.7.egg/pygeoapi/openapi.py", line 1159, in get_oas return get_oas_30(cfg) File "/home/locale/ogcpygeoapi/pygeoapi/lib/python3.7/site-packages/pygeoapi-0.14.dev0-py3.7.egg/pygeoapi/openapi.py", line 490, in get_oas_30 collections[k]['providers'], ptype)) File "/home/locale/ogcpygeoapi/pygeoapi/lib/python3.7/site-packages/pygeoapi-0.14.dev0-py3.7.egg/pygeoapi/plugin.py", line 106, in load_plugin module = importlib.import_module(packagename) File "/usr/lib/python3.7/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1006, in _gcd_import File "", line 983, in _find_and_load File "", line 967, in _find_and_load_unlocked File "", line 677, in _load_unlocked File "", line 728, in exec_module File "", line 219, in _call_with_frames_removed File "/home/locale/ogcpygeoapi/pygeoapi/lib/python3.7/site-packages/pygeoapi-0.14.dev0-py3.7.egg/pygeoapi/provider/ogr.py", line 51, in class OGRProvider(BaseProvider): File "/home/locale/ogcpygeoapi/pygeoapi/lib/python3.7/site-packages/pygeoapi-0.14.dev0-py3.7.egg/pygeoapi/provider/ogr.py", line 76, in OGRProvider OAMS_TRADITIONAL_GIS_ORDER = osgeo_osr.OAMS_TRADITIONAL_GIS_ORDER AttributeError: module 'osgeo.osr' has no attribute 'OAMS_TRADITIONAL_GIS_ORDER'

*****(I thought the problem was with the GDAL version and I downloaded the gdal-3.5.3 version)

./configure --with-python --with-proj=/usr/bin/python3.7


i took that error message ... configure: error: PROJ 6 symbols not found


I also checked 3.4.0,3.4.2 and they are affected too, so I presume this affects any 3.x GDAL version.

InspireGeo avatar Dec 18 '22 10:12 InspireGeo