I checked the reader quickly and yeah, it is a bug.

I am going to patch within monday, but anyway it would be great to
have a jira bug to track it.


Ciao,
Simone.

On 8/31/07, Simone Giannecchini <[EMAIL PROTECTED]> wrote:
> Ciao Tiago,
> this sounds like a bug in the geotiff reader.
>
> Could you please open up a jira for this along with a sample file to
> use for reproducing the issue?
> I am pretty sure I can fix it in a couple of days.
>
>
> Ciao,
> Simone.
>
> On 8/31/07, Tiago Simões <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > Hello,
> >
> >
> >
> > I just migrated to version 2.4 RC0 and now i got the following error on my
> > previously working code:
> >
> >
> >
> > GeoTiffReader geoTiffReader = new GeoTiffReader(gisFileURL);
> >
> > GridCoverage2D tiffCoverage = (GridCoverage2D) geoTiffReader.read(null);
> >
> >
> >
> > No authority was defined for code "8901". Did you forget "AUTHORITY:NUMBER"?
> >
> > ModelPixelScaleTag: [231.58432075670478,231.58432075670478,0.0]
> >
> > ModelTiePointTag: (1 tie points)
> >
> > TP #0: [0.0,0.0,0.0] -> [418227.5091678609,4670769.440661938,0.0]
> >
> > ModelTransformationTag: NOT AVAILABLE
> >
> > GeoKey #1: Key = 1, Value = null
> >
> > GeoKey #2: Key = 1024, Value = 1
> >
> > GeoKey #3: Key = 1025, Value = 1
> >
> > GeoKey #4: Key = 1026, Value = WGS_1984_UTM_Zone_29N
> >
> > GeoKey #5: Key = 2048, Value = 32767
> >
> > GeoKey #6: Key = 2049, Value = GCS_WGS_1984
> >
> > GeoKey #7: Key = 2050, Value = 32767
> >
> > GeoKey #8: Key = 2054, Value = 9102
> >
> > GeoKey #9: Key = 2056, Value = 32767
> >
> > GeoKey #10: Key = 2057, Value = 6378137.0
> >
> > GeoKey #11: Key = 2059, Value = 298.2572235629972
> >
> > GeoKey #12: Key = 3072, Value = 32767
> >
> > GeoKey #13: Key = 3074, Value = 16029
> >
> > org.opengis.referencing.NoSuchAuthorityCodeException: No
> > authority was defined for code "8901". Did you forget "AUTHORITY:NUMBER"?
> >
> >       at
> > org.geotools.referencing.factory.ManyAuthoritiesFactory.noSuchAuthority(ManyAuthoritiesFactory.java:514)
> >
> >       at
> > org.geotools.referencing.factory.ManyAuthoritiesFactory.getAuthorityFactory(ManyAuthoritiesFactory.java:492)
> >
> >       at
> > org.geotools.referencing.factory.ManyAuthoritiesFactory.getDatumAuthorityFactory(ManyAuthoritiesFactory.java:545)
> >
> >       at
> > org.geotools.referencing.factory.AuthorityFactoryAdapter.createPrimeMeridian(AuthorityFactoryAdapter.java:639)
> >
> >       at
> > org.geotools.gce.geotiff.crs_adapters.GeoTiffMetadata2CRSAdapter.createPrimeMeridian(GeoTiffMetadata2CRSAdapter.java:836)
> >
> >       at
> > org.geotools.gce.geotiff.crs_adapters.GeoTiffMetadata2CRSAdapter.createGeodeticDatum(GeoTiffMetadata2CRSAdapter.java:904)
> >
> >       at
> > org.geotools.gce.geotiff.crs_adapters.GeoTiffMetadata2CRSAdapter.createUserDefinedGCS(GeoTiffMetadata2CRSAdapter.java:1053)
> >
> >       at
> > org.geotools.gce.geotiff.crs_adapters.GeoTiffMetadata2CRSAdapter.createGeographicCoordinateSystem(GeoTiffMetadata2CRSAdapter.java:394)
> >
> >       at
> > org.geotools.gce.geotiff.crs_adapters.GeoTiffMetadata2CRSAdapter.createUserDefinedPCS(GeoTiffMetadata2CRSAdapter.java:682)
> >
> >       at
> > org.geotools.gce.geotiff.crs_adapters.GeoTiffMetadata2CRSAdapter.createProjectedCoordinateSystem(GeoTiffMetadata2CRSAdapter.java:303)
> >
> >       at
> > org.geotools.gce.geotiff.crs_adapters.GeoTiffMetadata2CRSAdapter.createCoordinateSystem(GeoTiffMetadata2CRSAdapter.java:240)
> >
> >       at
> > org.geotools.gce.geotiff.GeoTiffReader.getHRInfo(GeoTiffReader.java:271)
> >
> >       at
> > org.geotools.gce.geotiff.GeoTiffReader.<init>(GeoTiffReader.java:198)
> >
> >       at
> > org.geotools.gce.geotiff.GeoTiffReader.<init>(GeoTiffReader.java:115)
> >
> >
> >
> > Tiago Simões
> >
> > Software Engineer
> >
> > Critical Software, SA
> >
> > Campus do INETI no Lumiar, Edifício M8
> >
> > Estrada do Paço do Lumiar
> >
> > 1649-038 Lisboa
> >
> > Tel: +351. 217145430 - Fax: +351. 217145432
> >
> > http://www.criticalsoftware.com
> >
> > mailto:[EMAIL PROTECTED]
> >
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems?  Stop.
> > Now Search log events and configuration files using AJAX and a browser.
> > Download your FREE copy of Splunk now >>  http://get.splunk.com/
> > _______________________________________________
> > Geotools-gt2-users mailing list
> > Geotools-gt2-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
> >
> >
>
>
> --
> -------------------------------------------------------
> Eng. Simone Giannecchini
> President /CEO GeoSolutions S.A.S.
> Via Carignoni 51
> 55041  Camaiore (LU)
> Italy
>
> phone: +39 0584983027
> fax:      +39 0584983027
> mob:    +39 333 8128928
>
>
> http://www.geo-solutions.it
>
> -------------------------------------------------------
>


-- 
-------------------------------------------------------
Eng. Simone Giannecchini
President /CEO GeoSolutions S.A.S.
Via Carignoni 51
55041  Camaiore (LU)
Italy

phone: +39 0584983027
fax:      +39 0584983027
mob:    +39 333 8128928


http://www.geo-solutions.it

-------------------------------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Geotools-gt2-users mailing list
Geotools-gt2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to