We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
example dataset: https://ipt.nina.no/resource?r=myrdata_historisk
The text was updated successfully, but these errors were encountered:
There are still problems with this dataset and pygeoapi
Pygeoapi provider OGR
{ "type": "feature", "default": true, "name": "OGR", "editable": false, "id_field": "id", "layer": "data", "data": { "source_type": "VRT", "source": "/vsicurl/http://localhost:8000/datasets/72d7f10f-8c52-4714-95e8-8d66f3ac3e2c/definition.vrt" } }
definition.vrt
<OGRVRTDataSource> <OGRVRTLayer name="data"> <SrcDataSource><![CDATA[ <OGRVRTDataSource> <OGRVRTLayer name="event"> <SrcDataSource>CSV:/vsizip/{/vsicurl/https://ipt.nina.no/archive.do?r=myrdata_historisk}/event.txt</SrcDataSource> <LayerSRS>WGS84</LayerSRS> </OGRVRTLayer> <OGRVRTLayer name="measurementorfact"> <SrcDataSource>CSV:/vsizip/{/vsicurl/https://ipt.nina.no/archive.do?r=myrdata_historisk}/measurementorfact.txt</SrcDataSource> <LayerSRS>WGS84</LayerSRS> </OGRVRTLayer> </OGRVRTDataSource>]]> </SrcDataSource> <SrcSQL>select * from event join measurementorfact on measurementorfact.id=event.id</SrcSQL> <GeometryField encoding="WKT" field="footprintWKT" reportSrcColumn="false"> <SRS>WGS84</SRS> </GeometryField> <LayerSRS>WGS84</LayerSRS> </OGRVRTLayer> </OGRVRTDataSource>
The VRT seems to work fine both with ogrinfo and ogr2ogr, but when using with pygeoapi it returns the following error:
ogrinfo
ogr2ogr
pygeoapi
metadata_catalogue-django-dev-1 | ERROR 2023-12-20 13:39:26,082 ogr 145 139993141466880 'NoneType' object has no attribute 'AssignSpatialReference' metadata_catalogue-django-dev-1 | ERROR 2023-12-20 13:39:26,083 api 145 139993141466880 'NoneType' object has no attribute 'AssignSpatialReference' metadata_catalogue-django-dev-1 | ERROR 2023-12-20 13:39:26,083 api 145 139993141466880 generic error (check logs)
Sorry, something went wrong.
#7 handle footprintWKT datasets
4e6c844
nicokant
No branches or pull requests
example dataset: https://ipt.nina.no/resource?r=myrdata_historisk
The text was updated successfully, but these errors were encountered: