[mapserver-users] box substitution for ogr layers
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 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] box substitution for ogr layers
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, warmer...@pobox.com light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush| Geospatial Programmer for Rent ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] box substitution for ogr layers
On Mon, Apr 11, 2011 at 3:56 PM, Frank Warmerdam warmer...@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 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users