Revision 28113 branches/v2_0_0_prep/libraries/libGPE-GML/src/org/gvsig/gpe/gml/utils/GMLProjectionFactory.java
GMLProjectionFactory.java | ||
---|---|---|
1 | 1 |
package org.gvsig.gpe.gml.utils; |
2 | 2 |
|
3 | 3 |
import org.gvsig.compat.CompatLocator; |
4 |
import org.gvsig.gpe.GPEDefaults; |
|
4 |
import org.gvsig.gpe.GPELocator; |
|
5 |
import org.gvsig.gpe.GPEManager; |
|
5 | 6 |
import org.gvsig.gpe.gml.GmlProperties; |
6 | 7 |
import org.gvsig.gpe.parser.GPEErrorHandler; |
7 | 8 |
import org.gvsig.gpe.parser.IGPEErrorHandler; |
... | ... | |
72 | 73 |
* @author Jorge Piera LLodr? (jorge.piera@iver.es) |
73 | 74 |
*/ |
74 | 75 |
public class GMLProjectionFactory { |
76 |
private static GPEManager gpeManager = GPELocator.getGPEManager(); |
|
75 | 77 |
|
76 | 78 |
/** |
77 | 79 |
* This method is used to get the GML spatial reference |
... | ... | |
87 | 89 |
if (srs != null){ |
88 | 90 |
//If the SRS's are not based on XML the srs |
89 | 91 |
//will be the same |
90 |
if (!GPEDefaults.getBooleanProperty(GmlProperties.SRS_BASED_ON_XML)){
|
|
92 |
if (!gpeManager.getBooleanProperty(GmlProperties.SRS_BASED_ON_XML)){
|
|
91 | 93 |
return srs; |
92 | 94 |
} |
93 | 95 |
String[] parts = CompatLocator.getStringUtils().split(srs,":"); |
Also available in: Unified diff