From: Robert H. <tr...@co...> - 2011-06-30 01:58:26
|
i assume this would happen in my implementation of DataStoreFactorySpi as that is what constructs my data store. two problems: 1. i can't figure out how to get a hold of the url data to parse up. do you know how i would get that data? 2. i think doing this in the factory is too early for my needs. my goal is to be able to pass parameters to my data store from the client. do you know if that is possible? thanks for the help so far, -trebor On Jun 29, 2011, at 5:52 PM, Jody Garnett wrote: > Normally you would parse the "key value pairs" into a map and pass that into your datastore constructor. (Or in your constructor do the parsing). > > > On Thu, Jun 30, 2011 at 9:44 AM, Robert Harris <tr...@co...> wrote: > i have a good functioning data store derived from org.geotools.data.store.ContentDataStore. i can put features on a map in geoserver. woot! thanks for the help getting here. :) > > now i'm trying to get access to parameters on the http get for the map from URLS like this: > > http://localhost:8080/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=us-woot&styles=&bbox=-124.731,24.956,-66.97,49.372&width=780&height=330&srs=EPSG:4326&format=application/openlayers&foooooooo=baaaaaaaaaaar > > is it possible to get access to "foooooooo"/"baaaaaaaaaaar" values way down in ContentDataStore? > > thanks, > > -trebor > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Geotools-devel mailing list > Geo...@li... > https://lists.sourceforge.net/lists/listinfo/geotools-devel > |