[gdal-dev] spacial filter on ogrinfo does not work

Clive Swan cliveswan at gmail.com
Mon May 2 04:02:21 PDT 2022


Have you apied a spatial filter ie distance??

Get Outlook for Android<https://aka.ms/AAb9ysg>
________________________________
From: gdal-dev <gdal-dev-bounces at lists.osgeo.org> on behalf of Lars Fricke <lars.fricke at skendata.de>
Sent: Monday, May 2, 2022 12:00:38 PM
To: gdal-dev at lists.osgeo.org <gdal-dev at lists.osgeo.org>
Subject: [gdal-dev] spacial filter on ogrinfo does not work

Dear List,

I am trying to make a spatially filtered call as:

ogrinfo -ro WFS:https://www.geobasisdaten.niedersachsen.de/doorman/noauth/WFS_boris_2022 boris:BR_BodenrichtwertZonal -spat 513306 5832130 514040 5832803

but that is trying to download 33938 Features where it should be around 20 or so. I am on GDAL 3.3.2, released 2021/09/01, Ubuntu 20.04
"""
INFO: Open of `WFS:https://www.geobasisdaten.niedersachsen.de/doorman/noauth/WFS_boris_2022'
      using driver `WFS' successful.
Metadata:
  ABSTRACT=BORIS 2022 WFS by XtraServer
  PROVIDER_NAME=Landesamt für Geoinformation und Landesvermessung Niedersachsen (LGLN) - Landesbetrieb Landesvermessung und Geobasisinformation
  TITLE=BORIS 2022 WFS

Layer name: boris:BR_BodenrichtwertZonal
Metadata:
  TITLE=boris_BR_BodenrichtwertZonal
Geometry: Polygon
Feature Count: 33938
"""
I interrupted the call before I get blacklisted by that server...

I did try to set environment variable OGR_SKIP=NAS as this was a hint I got. I'm not certain if that made any difference. If I call other servers with the same logic, I am fine.


Any idea what could be wrong?

Thanks for any support.

Lars

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20220502/e1577ade/attachment.htm>


More information about the gdal-dev mailing list