I got it working :) works really well I just pulled out the createURL from TMS and plugged it in
the whole reason I was interested in the grid stuff was to allow the requests to become static to elimate any server side spatial processing and use just use static files this is scaleable as all you need is a webserver the bbox is only required for the initial call, subsequent requests don't require any server once the cache is seeded, which i would do using my mapguide tile seeder, the bbox urls could be removed z On Tue, Jan 13, 2009 at 6:36 PM, Eric Lemoine <[email protected]> wrote: > Hi Zac > > I'm not too familiar with TMS but what's the point of using TMS-like > URLs if a bbox param is used? > > I guess having what you want could be implemented with a new protocol > (possibly inhereting from HTTP). That protocol would infer the URL > path based on the BBOX filter. > > Eric > > 2009/1/13, Zac Spitzer <[email protected]>: >> Hi Eric, >> >> I just found that myself :) >> >> how hard would it be to get this to produce TMS tile like urls with >> the bbox as a parameter? >> >> ie something along the lines of >> >> /2/2/1.js?bbox=154.82048115388346,-36.127010141571624,156.97859137665813,-33.96889991879695 >> >> then having a .htaccess which triggers the generation of the file when >> it doesn't exist >> >> looks like once the url for the file path is calculated it just needs to be >> passed as an extra option into requestFeatures ? >> >> z >> >> On Tue, Jan 13, 2009 at 5:21 PM, Eric Lemoine <[email protected]> wrote: >>> Zac >>> >>> I'm glad you like it :-) >>> >>> You can try the following: in Strategy.Grid make the "value" of the >>> created filter be an OpenLayers.Bounds instead of an >>> OpenLayers.Geometry.Rectangle. >>> >>> Feel free to contact me again on the mailing list if you have further >>> question. >>> >>> Cheers, >>> >>> Eric >>> >>> 2009/1/13, Zac Spitzer <[email protected]>: >>>> I have been playing around with OpenLayers.Strategy.Grid from the >>>> vector behavior sandbox >>>> and it's really quite cool! >>>> >>>> I tried to add it in with the trunk but it seems there are some >>>> additional mods else where beyond >>>> >>>> OpenLayers/Grid.js >>>> OpenLayers/Strategy/Grid.js >>>> >>>> namely an error with "options.filter.value.toArray is not a function" >>>> >>>> any tips? >>>> >>>> >>>> >>>> >>>> -- >>>> Zac Spitzer - >>>> http://zacster.blogspot.com >>>> +61 405 847 168 >>>> _______________________________________________ >>>> Dev mailing list >>>> [email protected] >>>> http://openlayers.org/mailman/listinfo/dev >>>> >>> >> >> >> >> -- >> Zac Spitzer - >> http://zacster.blogspot.com >> +61 405 847 168 >> > -- Zac Spitzer - http://zacster.blogspot.com +61 405 847 168 _______________________________________________ Dev mailing list [email protected] http://openlayers.org/mailman/listinfo/dev
