/** * Retrieves the {@link ICRS} from the set provider that is identified by the given {@link CRSCodeType} id. * * @param id * the {@link CRSCodeType} of the wanted crs * @return the {@link ICRS} that corresponds to the id * @throws CRSConfigurationException */ public ICRS getCRSByCode( CRSCodeType id ) throws CRSConfigurationException { return getCRSByCode( id, false ); }
@Override public List<ICRS> getAvailableCRSs() { List<CRSCodeType[]> availableCRSIds = getAvailableCRSIds(); List<ICRS> result = new ArrayList<ICRS>( availableCRSIds.size() ); for ( CRSCodeType[] s : availableCRSIds ) { ICRS crs = getProvider().getCRSByCode( s[0] ); if ( crs != null ) { result.add( crs ); } } return result; }