[gdal-dev] OAPIF Unexpected Content-Type

Denis Rykov rykovd at gmail.com
Wed May 31 16:52:56 PDT 2023


I'm getting "ERROR 1: Unexpected Content-Type: (null)" in the middle of the
ogrinfo output. What does this mean? I can adjust server configuration but
it is not clear which endpoint is failing because apart from that message
everything seems to be working fine.

$ ogrinfo OAPIF:http://localhost:8080/api/resource/6750/oapif/ layer_6209
INFO: Open of `OAPIF:http://localhost:8080/api/resource/6750/oapif/'
      using driver `OAPIF' successful.

Layer name: layer_6209
Metadata:
  TITLE=Test layer
Geometry: Point
ERROR 1: Unexpected Content-Type: (null)
Feature Count: 26
Extent: (0.000000, 0.000000) - (110.275300, 49.493019)
Layer SRS WKT:
GEOGCRS["WGS 84",
    DATUM["World Geodetic System 1984",
        ELLIPSOID["WGS 84",6378137,298.257223563,
            LENGTHUNIT["metre",1]]],
    PRIMEM["Greenwich",0,
        ANGLEUNIT["degree",0.0174532925199433]],
    CS[ellipsoidal,2],
        AXIS["geodetic latitude (Lat)",north,
            ORDER[1],
            ANGLEUNIT["degree",0.0174532925199433]],
        AXIS["geodetic longitude (Lon)",east,
            ORDER[2],
            ANGLEUNIT["degree",0.0174532925199433]],
    ID["EPSG",4326]]
Data axis to CRS axis mapping: 2,1
num: Real (0.0)
link: String (0.0)
wikipedia: String (0.0)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20230601/34170937/attachment.htm>


More information about the gdal-dev mailing list