/[schmitzm]/trunk/src/skrueger/geotools/StyledFS.java
ViewVC logotype

Diff of /trunk/src/skrueger/geotools/StyledFS.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1160 by alfonx, Fri Oct 22 21:35:30 2010 UTC revision 1203 by alfonx, Tue Nov 2 22:53:55 2010 UTC
# Line 42  import org.apache.log4j.Logger; Line 42  import org.apache.log4j.Logger;
42  import org.geotools.data.FeatureSource;  import org.geotools.data.FeatureSource;
43  import org.geotools.feature.FeatureCollection;  import org.geotools.feature.FeatureCollection;
44  import org.geotools.feature.NameImpl;  import org.geotools.feature.NameImpl;
45    import org.geotools.geometry.jts.ReferencedEnvelope;
46  import org.geotools.styling.Style;  import org.geotools.styling.Style;
47  import org.opengis.feature.simple.SimpleFeature;  import org.opengis.feature.simple.SimpleFeature;
48  import org.opengis.feature.simple.SimpleFeatureType;  import org.opengis.feature.simple.SimpleFeatureType;
# Line 317  public class StyledFS implements StyledF Line 318  public class StyledFS implements StyledF
318                  return sldFile;                  return sldFile;
319          }          }
320    
321            /**
322             * Associates this .sld with the {@link FeatureSource}, but does not
323             * automatically load the file. It must not even exist.
324             *
325             * @param sldFile
326             */
327          public void setSldFile(File sldFile) {          public void setSldFile(File sldFile) {
328                  this.sldFile = sldFile;                  this.sldFile = sldFile;
329          }          }
# Line 413  public class StyledFS implements StyledF Line 420  public class StyledFS implements StyledF
420          }          }
421    
422          public void setCRS(CoordinateReferenceSystem crs2) {          public void setCRS(CoordinateReferenceSystem crs2) {
423                  crs=crs2;                  crs = crs2;
424            }
425    
426            @Override
427            public ReferencedEnvelope getReferencedEnvelope() {
428                    return new ReferencedEnvelope(getEnvelope(), getCrs());
429          }          }
430    
431  }  }

Legend:
Removed from v.1160  
changed lines
  Added in v.1203

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26