Revision 11622 trunk/libraries/libGPE-GML/src/org/gvsig/gpe/gml/bindings/geometries/GeometryBinding.java
GeometryBinding.java | ||
---|---|---|
3 | 3 |
import java.io.IOException; |
4 | 4 |
import java.util.Hashtable; |
5 | 5 |
|
6 |
import org.gvsig.gpe.GPEErrorHandler; |
|
6 | 7 |
import org.gvsig.gpe.containers.MultiGeometry; |
8 |
import org.gvsig.gpe.gml.GMLProjectionFactory; |
|
7 | 9 |
import org.gvsig.gpe.gml.GMLTags; |
8 | 10 |
import org.gvsig.gpe.gml.GPEGmlParser; |
9 | 11 |
import org.gvsig.gpe.gml.utils.CompareUtils; |
... | ... | |
55 | 57 |
* |
56 | 58 |
* $Id$ |
57 | 59 |
* $Log$ |
58 |
* Revision 1.2 2007-05-14 09:31:06 jorpiell |
|
60 |
* Revision 1.3 2007-05-14 11:18:51 jorpiell |
|
61 |
* ProjectionFactory updated |
|
62 |
* |
|
63 |
* Revision 1.2 2007/05/14 09:31:06 jorpiell |
|
59 | 64 |
* Add the a new class to compare tags |
60 | 65 |
* |
61 | 66 |
* Revision 1.1 2007/05/08 10:24:16 jorpiell |
... | ... | |
144 | 149 |
* It returns a the geometry srs attribute |
145 | 150 |
* @param hash |
146 | 151 |
* Hashtable with the XML attributes |
152 |
* @param errorHandler |
|
153 |
* To add posible errors |
|
147 | 154 |
* @return |
148 | 155 |
* The srs |
149 | 156 |
*/ |
150 |
public static String getSrs(Hashtable hash){ |
|
157 |
public static String getSrs(Hashtable hash, GPEErrorHandler errorHandler){
|
|
151 | 158 |
Object obj = hash.get(GMLTags.GML_SRS_NAME); |
152 | 159 |
if (obj != null){ |
153 |
return (String)obj;
|
|
160 |
return GMLProjectionFactory.fromGMLToGPE((String)obj, errorHandler);
|
|
154 | 161 |
} |
155 | 162 |
return null; |
156 | 163 |
} |
Also available in: Unified diff