Revision 40382 branches/v2_0_0_prep/libraries/libFMap_daldb/src/org/gvsig/fmap/dal/store/mysql/MySQLHelper.java
MySQLHelper.java | ||
---|---|---|
124 | 124 |
|
125 | 125 |
final String sql = strb.toString(); |
126 | 126 |
|
127 |
try { |
|
128 |
initializeFromWKBOperation(); |
|
129 |
} catch (BaseException e1) { |
|
130 |
throw new ReadException(this.name, e1); |
|
131 |
} |
|
132 |
|
|
133 | 127 |
this.open(); |
134 | 128 |
return (Envelope) getResource().execute(new ResourceAction() { |
135 | 129 |
public Object run() throws Exception { |
... | ... | |
153 | 147 |
continue; |
154 | 148 |
} |
155 | 149 |
|
156 |
fromWKBContext.setData(data); |
|
157 |
Geometry geom = |
|
158 |
(Geometry) fromWKB.invoke(null, fromWKBContext); |
|
150 |
Geometry geom = geomManager.createFrom(data); |
|
159 | 151 |
|
160 | 152 |
if (fullEnvelope == null) { |
161 | 153 |
fullEnvelope = geom.getEnvelope(); |
Also available in: Unified diff