Saul Farber ha scritto: > Great! > > That means that this is just an inconsistency in the 2.3.x SDE api, and > my "fix" (treating a null as the default geometry) is the right thing to > do. > > In gt2-trunk, there's no problem, so my patch is only relevant to 2.2.x > and 2.3.x. I'll update JIRA to reflect this so that the patch can get > applied.
Well, the inconsistency is broader. Postgis sql encoder has explicit support for null expressions and turns them into the default geometry, Oracle does some fancy stuff at the SDO level when encoding the geometry filters that results in having the first geometry in the type as the replacement for null filters, others, MySql and Hsql does it in the geometry filter encoding, db2 does not do it at all afaik, and SDE neither. It seems there is no single point in the docs stating that a null geometry attribute should be treated as the default geometry, thus the mess. But I know Geoserver relies on the fact that null geometry attribute expression will be treated as default geometries, so... Cheers Andrea ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
