Revision 4828 trunk/libraries/libGDBMS/src/main/java/com/hardcode/gdbms/driver/shapefile/FMapShapefileDriver.java
FMapShapefileDriver.java | ||
---|---|---|
50 | 50 |
import com.hardcode.gdbms.engine.data.DataSourceFactory; |
51 | 51 |
import com.hardcode.gdbms.engine.data.driver.SpatialFileDriver; |
52 | 52 |
import com.hardcode.gdbms.engine.spatial.fmap.AbstractFMapFileDriver; |
53 |
import com.iver.cit.gvsig.fmap.drivers.shp.DemoSHPDriver;
|
|
53 |
import com.iver.cit.gvsig.fmap.drivers.shp.IndexedShpDriver;
|
|
54 | 54 |
import com.iver.cit.gvsig.fmap.layers.VectorialFileAdapter; |
55 | 55 |
|
56 | 56 |
|
... | ... | |
61 | 61 |
*/ |
62 | 62 |
public void open(File file) throws IOException { |
63 | 63 |
VectorialFileAdapter adapter = new VectorialFileAdapter(file); |
64 |
adapter.setDriver(new DemoSHPDriver());
|
|
64 |
adapter.setDriver(new IndexedShpDriver());
|
|
65 | 65 |
super.open(adapter); |
66 | 66 |
} |
67 | 67 |
|
Also available in: Unified diff