Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] postgis & postgres

At 16:53 17/10/2007, Jesse Eichar wrote:
I have one comment mainly for Vince and his team.  Are you using
DatastoreFinder in your application?

Yes, we are using that.

 If you are then you might think
about why you are using it.  With the uDig infrastructure and the
ServiceFactory you shouldn't really need it at all.

Ok.  Sounds good!

Rather you can
create the params and call Catalog.getDefault().getServiceFactory ().acquire( params ).

Hmm, I don't see any such method in Catalog. (org.geotools.catalog.Catalog is the only such class I can see). But anyway I'll ask my guys to look further into this.

 To get the service that works with those
parameters.  Or if you know that it is a postgis use the
PostgisDatastireFactory directly.

Ok. We are using postgis at present, but that might conceivably change (some of our customers are requesting other databases to meet their IT constraints) so a method which doesn't assume postgis would be preferred.

cheers,

Vince.



Back to the top