Gabriel (and anyone else interested in ArcSDE minutae),
 
I worked out what the issue was with the getShapeType() stuff.
 
Basically, there are two completely different things going on:
 
1)  SeLayer.getShapeTypes() -- returns a layer mask, which is decoded using the 
SeLayer.SE_***_MASK flags and binary logic
 
2)  SeShape.getShapeType() -- returns the type of a specific shape fetched from 
a specific row in the database.  This shape can tell you exactly which kind of 
shape *it* is, but won't tell you anything about what other shapes in the same 
table might be.
 
 
We were attempting to decode both of these shapeType() ints in the same method, 
so I split the method in two.  You'll see the two methods in 
ArcSDEAdapater.java.
 
 
My one remaining confusion is about SeLayer.TYPE_POINT/MULTIPOINT, etc.  
SeShape has constants for use in decoding the SeShape.getShapeType() stuff, and 
SeLayer has constants for use in decoding the SeLayer.getShapeTypes() 
stuff...so it looks like the only reason for the SeLayer.TYPE_POINT constants 
is the getEntityTypes() method on SeQueryInfo.
 
 
So now tests are passing across the board and everything looks good.
 
--saul

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to