Hello.
Sorry, I'm novice to GeoServer.
1. I use ArcSDE 9.2(it likes to add Annotation fields to all layers)
I spent about 2 days to connect to ArcSDE. Many users have NullPointerException on this line:
ArcSDEAdapter.java:747 typeClass = (Class) sde2JavaTypes.get(sdeType);
I think more convenient way is to use exception for unsupported columns or skip it:
ArcSDEAdapter.java:385
Object obj=sde2JavaTypes.get(sdeType);
if(obj==null)
{
// another way is to skip this with "continue;" I used.
throw new DataSourceException("Unsupported column type ("+sdeType.intValue()+") for "+attName);
}
typeClass = (Class) obj;
I did not commit my changes because I'am novice(but I can).
2. I like to use GUID type for attribute. I tried to activate it with uncomment:
ArcSDEAdapter.java: sde2JavaTypes.put(new Integer(SeColumnDefinition.TYPE_UUID),String.class);
Is it correct?
3. When I "Register" a layer " As versioned" I had a bug with ArcSDEQuery. It closes ESRI giomgr.exe instance with fault exception but attributes are correct showed in OpenLayers.js. I think PoolConnection not ok for versioned layers.
I try to find the bug in ArcSDEQuery.java myself with no result. I'am in stupid with this:
ArcSDEConnectionPool.java:294
for (int i = 0; i < 3; i++) {
//randomly ArcSDE craps out doing this. Catch the nullpointer exception
//and try again, I guess.
...
How to establish connection?
4. I don't want to edit layers with GeoServer WFS, only show to user(may be in future). But I want to highlight single selected feature. Is it possible. Features selected by mouse click.
5. I try to pass test for ArcSDE plugin. Not all test passed. Sometimes I have message like "WARNING: Out of connections: Timeout waiting for idle object". I increse pool(MaxConnections) up to 10 with another results. I use NetBeans 5(with Meven2) and can't debug test step by step with breakpoints.
6. Is It possible to create a Coverage with ECW (ErMapper Compressed Wavelets raster format)? I'm not found plugin for this. The problem is only to implement the corresponding JNI bindings in C and create a Coverage plugin.
Thank you.
Andrew.