[mapserver-users] Raster WMS-T with OGR tileindex not implementing filter translation support

Emanuele Di Giacomo edigiacomo at arpa.emr.it
Tue Sep 22 05:17:26 PDT 2015


Hi,
I have a raster WMS Time layer with a tileindex in GeoJSON (similar to
http://mapserver.org/ogc/wms_time.html#example-of-wms-t-with-postgis-tile-index-for-raster-imagery,
but with a CONNECTIONTYPE OGR).

  LAYER
    NAME "test_idx"
    TYPE POLYGON
    CONNECTION "index.json"
    CONNECTIONTYPE OGR
    EXTENT 8.5 43.4 13.2058 46.001
    METADATA
        "wms_timeitem"    "runtime"
        "wms_timeextent"  "2011-08-10T04:15:00Z/2015-01-01T00:00:00Z"
        "wms_timeformat"  "YYYY-MM-DDTHH:MM:SSZ"
        "wms_timedefault" "2013-08-10T04:15:00Z"
    END
    PROJECTION
        init=epsg:4326
    END 
  END

  LAYER
    NAME "test"
    TYPE RASTER
    METADATA
        "wms_timeitem"    "runtime"
        "wms_timeextent"  "2011-08-10T04:15:00Z/2015-01-01T00:00:00Z"
        "wms_timeformat"  "YYYY-MM-DDTHH:MM:SSZ"
        "wms_timedefault" "2013-08-10T04:15:00Z"
        "wms_enable_request" "*"
    END
    PROJECTION
        init=epsg:4326
    END 
    TILEINDEX "test_idx"
    TILEITEM "location"
  END

MapServer 7.0 print an error message (on GetMap request):

  LayerDefaultTranslateFilter(): General error message. This data driver does not implement filter translation support

I can use a PostGIS tileindex (with a simple ogr2ogr), but I would
prefer a GeoJSON index.

-- 
Emanuele Di Giacomo
ARPA Emilia-Romagna
Servizio Idro-Meteo-Clima
Area Servizi Informatici
Viale Silvani, 6  - 40122 Bologna
tel +39-051-6497520 
e-mail: edigiacomo at arpa.emr.it
http://www.arpa.emr.it/sim



More information about the MapServer-users mailing list