Thank you so much Jody, and I use arccatelogy to get a prj and it works but
another strange thing happen:
Exception in thread "main"
org.geotools.coverage.processing.CannotCropException: The envelope uses an
incompatible CRS: was "British_National_Grid" while we expected
"British_National_Grid".
at
org.geotools.coverage.processing.operation.Crop.doOperation(Crop.java:234)
at
org.geotools.coverage.processing.DefaultProcessor.doOperation(DefaultProcessor.java:307)
at
uk.ac.leeds.ccg.jianhuij.os.OSFeatureExtraction.extractRoof(OSFeatureExtraction.java:71)
at
uk.ac.leeds.ccg.jianhuij.os.OSFeatureExtraction.main(OSFeatureExtraction.java:35)
Jin
On Thu, Mar 4, 2010 at 9:58 AM, Jody Garnett <[email protected]> wrote:
> Create a "prj" sidecar file for your coverage (containing the WKT of
> the projection you want); it will be picked up.
>
> jody
>
> On Thu, Mar 4, 2010 at 12:14 AM, Jianhui Jin <[email protected]>
> wrote:
> > Hi All
> > I got:
> > 2010-3-3 21:01:20 org.geotools.gce.image.WorldImageReader readCRS
> > Info: Unable to find crs, continuing with default WGS4 CRS
> > WorldImage sources only support one GridCoverage so
> hasMoreGridCoverages()
> > will return true until the only GridCoverage is read. No metadata is
> > currently supported, so all related methods return null. In the early
> future
> > we will start (hopefully supporting them).
> > Then it suppose I should set a crs myself somewhere, but found no method
> to
> > do in format, read and coverage. Any advice?
> > Thanks in advance.
> > Jin
> >
> >
> ------------------------------------------------------------------------------
> > Download Intel® Parallel Studio Eval
> > Try the new software tools for yourself. Speed compiling, find bugs
> > proactively, and fine-tune applications for parallel performance.
> > See why Intel Parallel Studio got high marks during beta.
> > http://p.sf.net/sfu/intel-sw-dev
> > _______________________________________________
> > Geotools-gt2-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
> >
> >
>
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users