44 | | while (reader.ReadNext()) { |
45 | | extentAsByteArr = reader.GetExtent(); |
46 | | // if extent type is dynamic and no geometries have been added |
47 | | // the extent can be null |
48 | | if (extentAsByteArr != null) |
49 | | { |
50 | | geom = geomFactory.CreateGeometryFromFgf(extentAsByteArr); |
51 | | extentAsText = geom.Text; |
52 | | } |
53 | | else |
54 | | { |
55 | | extentAsText = "No extent found"; |
56 | | } |
57 | | } |
| 44 | while (reader.ReadNext()) { |
| 45 | extentAsByteArr = reader.GetExtent(); |
| 46 | // if extent type is dynamic and no geometries have been added |
| 47 | // the extent can be null |
| 48 | if (extentAsByteArr != null) |
| 49 | { |
| 50 | geom = geomFactory.CreateGeometryFromFgf(extentAsByteArr); |
| 51 | extentAsText = geom.Text; |
| 52 | } |
| 53 | else |
| 54 | { |
| 55 | extentAsText = "No extent found"; |
| 56 | } |
| 57 | } |