public static SpatialIndex newInstance(String type) {
return newInstance(type, null);
}
public static SpatialIndex newInstance(String type, Properties props) {
SpatialIndex si = null;
String className = "net.sf.jsi." + type;
try {
si = (SpatialIndex) Class.forName(className).newInstance();
si.init(props);
} catch (ClassNotFoundException cnfe) {
log.error(cnfe.toString());
} catch (IllegalAccessException iae) {
log.error(iae.toString());
} catch (InstantiationException ie) {