Revision 20437 trunk/libraries/libDataSourceBaseDrivers/src/org/gvsig/data/datastores/vectorial/file/shp/SHPStore.java
SHPStore.java | ||
---|---|---|
186 | 186 |
} |
187 | 187 |
long position=((ShpFeatureID)id).getIndex(); |
188 | 188 |
ShpFeature feature=new ShpFeature(featureType,this,position); |
189 |
feature.load(dbf, this.getGeometry(position)); |
|
190 | 189 |
return feature; |
191 | 190 |
// return getFeatureByPosition(featureType,((ShpFeatureID)id).getIndex()); |
192 | 191 |
} |
... | ... | |
371 | 370 |
public IDataStoreParameters getParameters() { |
372 | 371 |
return parameters; |
373 | 372 |
} |
374 |
private synchronized IGeometry getGeometry(long position) {
|
|
373 |
synchronized IGeometry getGeometry(long position) { |
|
375 | 374 |
Point2D p = new Point2D.Double(); |
376 | 375 |
int numParts; |
377 | 376 |
int numPoints; |
Also available in: Unified diff