Revision 11249
branches/v10/extensions/extSDE/src/com/iver/cit/gvsig/fmap/drivers/sde/ArcSdeDriver.java | ||
---|---|---|
135 | 135 |
} |
136 | 136 |
|
137 | 137 |
int index = 0; |
138 |
Value value=getFieldValue(index,getLyrDef().getIdFieldID()-1); |
|
139 | 138 |
int fid=getLyrDef().getIdFieldID(); |
139 |
Value value=getFieldValue(index,fid); |
|
140 |
|
|
140 | 141 |
while (value != null) { |
141 | 142 |
//SeShape shpVal = row.getShape(idSpatialColumn); |
142 | 143 |
//SeObjectId objID = shpVal.getFeatureId(); |
143 | 144 |
String theKey = value.toString(); |
144 | 145 |
hashRelate.put(theKey, new Integer(index)); |
145 | 146 |
index++; |
146 |
value = getFieldValue(index,fid-1);
|
|
147 |
value = getFieldValue(index,fid); |
|
147 | 148 |
|
148 | 149 |
|
149 | 150 |
} |
... | ... | |
212 | 213 |
/* |
213 | 214 |
* Set spatial constraints |
214 | 215 |
*/ |
215 |
spatialQuery.setSpatialConstraints(SeQuery.SE_SPATIAL_FIRST, false,
|
|
216 |
spatialQuery.setSpatialConstraints(SeQuery.SE_OPTIMIZE, false,
|
|
216 | 217 |
filters); |
217 | 218 |
|
218 | 219 |
spatialQuery.prepareQuery(); |
Also available in: Unified diff