Hi

> Try with something like this:
> 
> Catalog catalog = GeoServerExtensions.getBean("catalog");
> FeatureTypeInfo fti = catalog.getFeatureTypeByName(namespace, name);
> fti.getFeatureSource();
> 
> (not tested).
Thanks, I will test it tomorrow.

 
> However, I'd say it's bad practice for a process to connect to a data
> source, it should receive whatever it needs from its inputs instead
> (a FeatureCollection with the data you need might be a good idea, not
> sure, don't know exactly what you're trying to do).
It's a special transformation based on triangles covering the whole
country. So I don't want to upload the triangles all the time. And the
users of the process just wants to transform his coordinates and doesn't
even have the triangles. Or more generally: what would be the best
approach if the process is based on a really static and large dataset
which the user doesn't own?

best regards
Stefan



> 
> Cheers
> Andrea
> 

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to