[mapserver-users] box substitution for ogr layers

Frank Warmerdam warmerdam at pobox.com
Mon Apr 11 06:56:29 PDT 2011


On 11-04-11 06:01 AM, Frederic Junod wrote:
> 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

fredj,

This seems like a plausible thing to add but I'm hesitant to do it at
this late point in the release cycle.  Could you file an enhancement
ticket with the request?

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent




More information about the MapServer-users mailing list