Revision 36210 trunk/extensions/extOracleSpatial/src/es/prodevelop/cit/gvsig/jdbc_spatial/ExportToOracle.java
ExportToOracle.java | ||
---|---|---|
197 | 197 |
boolean savesrs = (opt == JOptionPane.YES_OPTION); |
198 | 198 |
writer.setStoreWithSrid(savesrs); |
199 | 199 |
|
200 |
String orasrid = OracleSpatialDriver.epsgSridToOracleSrid(strSRID); |
|
201 |
boolean geo_cs = OracleSpatialUtils.getIsGCS(orasrid, savesrs); |
|
200 |
String orasrid = ""; |
|
201 |
boolean geo_cs = false; |
|
202 |
|
|
203 |
try { |
|
204 |
orasrid = OracleSpatialDriver.epsgSridToOracleSrid(strSRID); |
|
205 |
geo_cs = OracleSpatialUtils.getIsGCS(orasrid, savesrs); |
|
206 |
} catch (Exception ex) { |
|
207 |
// not found: same |
|
208 |
orasrid = strSRID; |
|
209 |
geo_cs = false; |
|
210 |
} |
|
211 |
|
|
212 |
|
|
213 |
|
|
202 | 214 |
writer.setGeoCS(geo_cs); |
203 | 215 |
|
204 | 216 |
OracleSpatialDriver oDriver = new OracleSpatialDriver(); |
Also available in: Unified diff