> Marc Risney wrote: > > >Jody, apparently there isnt a Unit test for a MultiLineString, using > >GeoServer > > > >I am attempting to insert MultiLineString, with the changes that Chris > >and I made I now get a StackOverflow error :| > > > > > Sounds like we missed a switch statement, can we set up a new test for > the SDO utility class? My guess is we are getting confused between > geometry instanceof GeometryCollection (which would allow a > multilinestring), where we probably ment geometry.getClass() == > GeometryCollection (which would not). > > I don't recall that oracle had a specific binding for MultiLineString, I > suspect it is just a geometry collection that happens to be all > LineStrings ... hmm, by that token it should work This is actually in the old SQLEncoderOracle toSDOGeom methods, I'm not sure where they're being called, but they are for inserts. Probably should use the SDO stuff, but I'm not sure where to make the call.
argh, looking at this datastore it's definitely too many cooks in the kitchen, most everything has 2 or more ways of doing it, and the way that it works depends on who did it last. The thing to do is to change OracleFeatureWriter to encode with the sdo class instead of the SQLEncoderOracle. If you just tell me how I can get a String of the geometry attribute to be inserted from a JTS geometry, I can make the change. I only see an elemInfo method in SDO that takes an elemInfoList and returns a void, and the geometry Converter seems to return a STRUCT. How do I go from STRUCT to string? To create the sql insert statement? Tell me that and we can resolve it. Chris > > >Also can you give me SVN Commit privs, I need a username/password thx > >Marc > > > > > Marc - I am out of volunteer time right now. I am not sure when I can > get back to you on this one. Perhaps Chris can help this week? Sorry > dude I am trying to merge the oracle changes we already did onto trunk, > and am feeling bad for ignoring my work. As long as my commputer doesn't fail me, which is actually likely to happen, unfortunately. > > I am very stuborn and will try and help if you get stuck, if not will > have to catch up next week? Note to Chris: This would hold up GeoTools > 2.1.1. and thus GeoServer release? I'd like it in, but it won't necessarily hold up the release... > I am also really hoping for a PostGIS > database to test against? You guys never did get your box set up No, it didn't work right. I'm also not sure that we can host tests in the same way feathers did... Chris ? If > you can make some non invasive tests you could hit up the refractions > PostGIS (connection params is udig walkthrough 1). > > Jody > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your very > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Geotools-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-devel > -- ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
