[mapserver-users] box substitution for ogr layers

Frederic Junod frederic.junod at camptocamp.com
Mon Apr 11 03:01:37 PDT 2011


Hello,

Is it possible to have a !BOX! substitution for an OGR layer
(CONNECTION value) ? The box substitution seems only available to
postgis layers.

What I'm trying to have is something like:

MAP
  ...
  LAYER
    NAME "world_borders"
    TYPE POLYGON
    CONNECTIONTYPE OGR
    CONNECTION "http://www.example.com/world_borders.json?bbox=!BOX!"
    ...
  END
END

Regards,
fredj


-- 
Frédéric Junod
Camptocamp SA



More information about the MapServer-users mailing list