Revision 33396

View differences:

branches/v2_0_0_prep/libraries/libFMap_dalfile/src/org/gvsig/fmap/dal/store/shp/SHPStoreProvider.java
109 109

  
110 110
	public Object getDynValue(String name) throws DynFieldNotFoundException {
111 111
		if( DataStore.METADATA_CRS.equalsIgnoreCase(name) ) {
112
			return this.shpFile.getSRSParameters();
112
			String srs =  this.shpFile.getSRSParameters();
113
			if (srs == null){
114
			    return this.getShpParameters().getCRS();
115
			}
113 116
		} else if( DataStore.METADATA_ENVELOPE.equalsIgnoreCase(name) ) {
114 117
			try {
115 118
				return this.shpFile.getFullExtent();

Also available in: Unified diff