Revision 17203
trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/layers/FLyrVect.java | ||
---|---|---|
1480 | 1480 |
|
1481 | 1481 |
ICoordTrans ct = getCoordTrans(); |
1482 | 1482 |
|
1483 |
if (ct!=null) { |
|
1484 |
// geomBounds = ct.getInverted().convert(geomBounds); |
|
1485 |
geomBounds = ct.convert(geomBounds); |
|
1486 |
} |
|
1483 |
// if (ct!=null) {
|
|
1484 |
//// geomBounds = ct.getInverted().convert(geomBounds);
|
|
1485 |
// geomBounds = ct.convert(geomBounds);
|
|
1486 |
// }
|
|
1487 | 1487 |
|
1488 | 1488 |
double dist1Pixel = viewPort.getDist1pixel(); |
1489 | 1489 |
|
trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/operations/strategies/DBStrategy.java | ||
---|---|---|
225 | 225 |
throw new ReadDriverException(getCapa().getName(),e); |
226 | 226 |
} |
227 | 227 |
ICoordTrans ct = lyr.getCoordTrans(); |
228 |
String strEPSG = lyr.getProjection().getAbrev().substring(5);
|
|
228 |
String strEPSG = lyr.getProjection().getAbrev(); |
|
229 | 229 |
Rectangle2D rectAux = rect; |
230 | 230 |
if (ct != null) { |
231 | 231 |
ICoordTrans invertedCT = ct.getInverted(); |
... | ... | |
274 | 274 |
// teniendo en cuenta el boundingbox que toca. |
275 | 275 |
FLyrVect lyr = (FLyrVect) getCapa(); |
276 | 276 |
ISpatialDB dbAdapter = (ISpatialDB) ((SingleLayer) capa).getSource(); |
277 |
IVectorialDatabaseDriver dbDriver = (IVectorialDatabaseDriver) dbAdapter.getDriver(); |
|
277 |
// IVectorialDatabaseDriver dbDriver = (IVectorialDatabaseDriver) dbAdapter.getDriver();
|
|
278 | 278 |
try { |
279 | 279 |
dbAdapter.start(); |
280 | 280 |
ICoordTrans ct = lyr.getCoordTrans(); |
281 |
String strEPSG = lyr.getProjection().getAbrev().substring(5);
|
|
281 |
String strEPSG = lyr.getProjection().getAbrev(); |
|
282 | 282 |
Rectangle2D rectAux = rect; |
283 | 283 |
if (ct != null) { |
284 | 284 |
ICoordTrans invertedCT = ct.getInverted(); |
Also available in: Unified diff