Revision 18370 trunk/extensions/extOracleSpatial/src/es/prodevelop/cit/gvsig/fmap/drivers/jdbc/oracle/OracleSpatialDriver.java
OracleSpatialDriver.java | ||
---|---|---|
4186 | 4186 |
writer.setSRID(oracleSRID); |
4187 | 4187 |
|
4188 | 4188 |
try { |
4189 |
writer.initialize(getLyrDef()); |
|
4189 |
DBLayerDefinition db_lyr_def = getLyrDef(); |
|
4190 |
if (db_lyr_def == null) { |
|
4191 |
logger.warn("Found a null DB layer definition, method initialize of OracleWriter not called."); |
|
4192 |
} else { |
|
4193 |
writer.initialize(getLyrDef()); |
|
4194 |
} |
|
4195 |
|
|
4190 | 4196 |
} catch (InitializeWriterException e) { |
4191 | 4197 |
logger.error("While initializing OS Writer: " + e.getMessage(), e); |
4192 | 4198 |
} |
... | ... | |
4198 | 4204 |
} |
4199 | 4205 |
|
4200 | 4206 |
/** |
4201 |
* Tells whether the SRS is geodetic or not |
|
4207 |
* Tells whether the SRS is geodetic or not-
|
|
4202 | 4208 |
* @return whether the SRS is geodetic or not |
4203 | 4209 |
*/ |
4204 | 4210 |
public boolean isGeogCS() { |
Also available in: Unified diff