Revision 5794
trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/layers/FLyrVect.java | ||
---|---|---|
920 | 920 |
ReadableVectorial source = getSource(); |
921 | 921 |
if (source instanceof ISpatialDB) |
922 | 922 |
return true; |
923 |
|
|
924 |
//FIXME azabala |
|
925 |
/* |
|
926 |
* Esto es muy dudoso, y puede cambiar. |
|
927 |
* Estoy diciendo que las que no son fichero o no son |
|
928 |
* BoundedShapes estan indexadas. Esto es mentira, pero |
|
929 |
* as? quien pregunte no querr? generar el indice. |
|
930 |
* Esta por ver si interesa generar el indice para capas |
|
931 |
* HSQLDB, WFS, etc. |
|
932 |
*/ |
|
933 |
if(!(source instanceof VectorialFileAdapter)){ |
|
934 |
return true; |
|
935 |
} |
|
936 |
if (!(source.getDriver() instanceof BoundedShapes)) { |
|
937 |
return true; |
|
938 |
} |
|
939 |
|
|
923 | 940 |
if (getISpatialIndex() != null) |
924 | 941 |
return true; |
925 | 942 |
return false; |
Also available in: Unified diff