[mapserver-users] box substitution for ogr layers

Frederic Junod frederic.junod at camptocamp.com
Mon Apr 11 13:35:57 EDT 2011


On Mon, Apr 11, 2011 at 3:56 PM, Frank Warmerdam <warmerdam at pobox.com> wrote:
> 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?

http://trac.osgeo.org/mapserver/ticket/3827

Regards,

fredj


-- 
Frédéric Junod
Camptocamp SA


More information about the mapserver-users mailing list