[Geoserver-devel] Datastore implementing new Hint GEOMETRY_DISTANCE

2009-04-07 Thread Christian Müller
Hi Andrea At the moment I try to implement an universal DataStore supporting Hints.GEOMETRY_DISTANCE. The configuration is read from an XML file (Default Implementation) Each pregeneralized feature type (or vector pyramid) has the following properties 1) distance 2) name of the geometry p

Re: [Geoserver-devel] Datastore implementing new Hint GEOMETRY_DISTANCE

2009-04-07 Thread Christian Müller
I had read the user guide. The principle is the same as the directory data store but the the requirements are more complex. 1) Need to specify the generalization distance for each set of precalculated geometries. 2) No restriction to file based data stores, reading from any data store should

Re: [Geoserver-devel] Datastore implementing new Hint GEOMETRY_DISTANCE

2009-04-07 Thread Andrea Aime
Christian Müller ha scritto: > I had read the user guide. > The principle is the same as the directory data store but the the > requirements are more complex. > 1) Need to specify the generalization distance for each set of > precalculated geometries. > 2) No restriction to file based data stores

Re: [Geoserver-devel] Datastore implementing new Hint GEOMETRY_DISTANCE

2009-04-07 Thread Jody Garnett
>> I had read the user guide. Good. >> The principle is the same as the directory data store but the the >> requirements are more complex. >> 1) Need to specify the generalization distance for each set of >> precalculated geometries. >> 2) No restriction to file based data stores, reading from an

Re: [Geoserver-devel] Datastore implementing new Hint GEOMETRY_DISTANCE

2009-04-07 Thread Andrea Aime
Jody Garnett ha scritto: >>> I am looking for a way to integrate into geoserver without special coding. >>> Any idea ? > > Three Ideas: > a) patch up the Repository api to match what geoserver has on now; > hopefully backing it onto that new catalog? This is a lot of work :-( > May but be the eas

Re: [Geoserver-devel] Datastore implementing new Hint GEOMETRY_DISTANCE

2009-04-08 Thread Jody Garnett
So you agree with my option (c) then Andrea? I also find it the most clean approach. Jody On Wed, Apr 8, 2009 at 4:33 PM, Andrea Aime wrote: > Jody Garnett ha scritto: > I am looking for a way to integrate into geoserver without special coding. Any idea ? >> >> Three Ideas: >> a)

Re: [Geoserver-devel] Datastore implementing new Hint GEOMETRY_DISTANCE

2009-04-08 Thread Andrea Aime
Jody Garnett ha scritto: > So you agree with my option (c) then Andrea? I also find it the most > clean approach. From my previous mail: > If you do your datastore factory in GeoServer and use > GeoServerExtensions to lookup the catalog you'll get enough information > to pull this out. That's th