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

Rahkonen Jukka (MML) jukka.rahkonen at maanmittauslaitos.fi
Tue Sep 22 06:05:52 PDT 2015


Hi,

Could you consider using Spatialite instead of GeoJSON?

-Jukka Rahkonen-

Emanuele Di Giacomo wrote:
 
> 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
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


More information about the mapserver-users mailing list