Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pygeoapi as a WFS proxy #85

Open
InspireGeo opened this issue Dec 18, 2022 · 0 comments
Open

pygeoapi as a WFS proxy #85

InspireGeo opened this issue Dec 18, 2022 · 0 comments

Comments

@InspireGeo
Copy link


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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant