ha! I was changing exactly the same files! just came home and was going to
commit from there, thought you were expecting that I review your config and
get features out of GetFeature.
In the way to my home, I was thinking that AsbtractDataStore should only wrap
with a RetypeFeatureReader if the feature type being processed is a
SimpleFeatureType, otherwise it is not doable?
I mean, RetypeFeatureReader.next() uses FeatureType.create(Object...), which
is a nonsense for non simple features.
Actually, I guess one of the first things we should do is to get rid of the
uses of FeatureType.create the most possible, its used quite extensively
though.
I created a unit test for FeatureTransformer, since it didn't had anyone, so
this test works over complex features, to be sure FeatureTransformer works
with complex data.
Regarding shared config, a step forward to achieve it is that I made some
modifications to how geoserver determines if a datastore parameter is
relative and then creates an absolute path with GEOSERVER_DATA_DIR.
Also modified property datastore to accept paths relative to user.dir system
property, this eliminates the hardcoded path in complexds unit tests.
The stopping issue to have a common configuration independent of the
developing environment is complex datastore's mapping files. The point is
that we can't put a relative path for the directory in the mapping file (at
least I couldn't figure out what the user.dir was when running jetty), and
also complexds can't use geoserver's data dir as base, since obviously it has
absolutely no knowledge about geoserver.
If you have any ideas regarding this it would be great.
Gabriel
On Wednesday 22 February 2006 21:45, Justin Deoliveira wrote:
I have this test passing now and geoserver is spitting out complex
features.
Gabriel: I had to make a couple of changes i would like you to qa. The
classes are in geotools:
ReTypeFeatureReader
ComplexAttributeImpl
look for task tags called "JD" and you find the changes, i made some notes.
-Justin
Justin Deoliveira wrote:
> I have added another test module for the complex stuff.
>
> Gabriel: There is a "GetFeature" tests in the ComplexTest class. I was
> hoping you could run it and see what is going on.
>
> Note: The downloaded config contains some hard coded paths you may have
> to change.
>
> -Justin
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> _______________________________________________
> Geoserver-devel mailing list
> Geoserver-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
--
Gabriel Roldán (groldan@anonymised.com)
Axios Engineering (http://www.axios.es)
Tel. +34 944 41 63 84
Fax. +34 944 41 64 90