Revision 47648 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.geometry/org.gvsig.fmap.geometry.jts/src/main/java/org/gvsig/fmap/geom/jts/AbstractGeometry.java
AbstractGeometry.java | ||
---|---|---|
528 | 528 |
} |
529 | 529 |
|
530 | 530 |
@Override |
531 |
public String convertToHexEWKBQuietly() { |
|
532 |
try { |
|
533 |
byte[] bytes = new PostGISEWKBEncoder().encode(this); |
|
534 |
return Hex.encodeHexString(bytes); |
|
535 |
} catch (Exception e) { |
|
536 |
return null; |
|
537 |
} |
|
538 |
} |
|
539 |
|
|
540 |
@Override |
|
531 | 541 |
public byte[] convertToWKB(int srs) throws GeometryOperationNotSupportedException, GeometryOperationException { |
532 | 542 |
/* |
533 | 543 |
* No se sabe si la especificaci?n de OGC soporta SRS. OGCWKBEncoder no. |
Also available in: Unified diff