Revision 28973 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/drivers/featureiterators/SpatialQueryFeatureIterator.java
SpatialQueryFeatureIterator.java | ||
---|---|---|
74 | 74 |
import com.hardcode.gdbms.engine.values.Value; |
75 | 75 |
import com.iver.cit.gvsig.exceptions.expansionfile.ExpansionFileReadException; |
76 | 76 |
import com.iver.cit.gvsig.fmap.core.DefaultFeature; |
77 |
import com.iver.cit.gvsig.fmap.core.FNullGeometry; |
|
77 | 78 |
import com.iver.cit.gvsig.fmap.core.IFeature; |
78 | 79 |
import com.iver.cit.gvsig.fmap.core.IGeometry; |
79 | 80 |
import com.iver.cit.gvsig.fmap.drivers.BoundedShapes; |
... | ... | |
196 | 197 |
reprojectIfNecessary(geom); |
197 | 198 |
} |
198 | 199 |
Value[] regAtt = getValues(currentFeature); |
200 |
if (geom==null) { |
|
201 |
geom = new FNullGeometry(); |
|
202 |
} |
|
199 | 203 |
feat = new DefaultFeature(geom, regAtt, currentFeature + ""); |
200 | 204 |
nextFeature = feat; |
201 | 205 |
currentFeature++; |
Also available in: Unified diff