Hello,

Thank you everyone for you help. I don't have a JIRA login so I can't add the 
ticket myself. 

I removed the grass binay raster plugin from my path as Simone suggested. 
Unfortunately because of my strange setup using maven is not a the best option 
for me. This has forced me to add all the jars manually and remove any in 
conflict. Removing the grass raster jar fixed my previous error. However,  my 
JMapFrame gives me a black image. I see the following INFO messages in my 
console. I have the epsg-hsql jar in my path. The epsg-extesnsion, 
epsg-postgresql and epsg-wkt jars are not in my path. Any ideas on why this is 
happening? Thanks!

Mike

2011-08-02 10:49:38 INFO: Setting the EPSG factory 
org.geotools.referencing.factory.epsg.DefaultFactory to a 1800000ms timeout 
(ThreadedEpsgFactory.<init>())
2011-08-02 10:49:38 INFO: Setting the EPSG factory 
org.geotools.referencing.factory.epsg.ThreadedHsqlEpsgFactory to a 1800000ms 
timeout (ThreadedEpsgFactory.<init>())
2011-08-02 10:49:38 INFO: Building new data source for 
org.geotools.referencing.factory.epsg.ThreadedHsqlEpsgFactory 
(ThreadedHsqlEpsgFactory.createDataSource())
2011-08-02 10:49:38 INFO: Building backing store for 
org.geotools.referencing.factory.epsg.ThreadedHsqlEpsgFactory 
(ThreadedHsqlEpsgFactory.createBackingStore())
2011-08-02 10:49:39 INFO: Setting the EPSG factory 
org.geotools.referencing.factory.epsg.DefaultFactory to a 1800000ms timeout 
(ThreadedEpsgFactory.<init>())
2011-08-02 10:49:39 INFO: Setting the EPSG factory 
org.geotools.referencing.factory.epsg.ThreadedHsqlEpsgFactory to a 1800000ms 
timeout (ThreadedEpsgFactory.<init>())
2011-08-02 10:49:39 INFO: Setting the EPSG factory 
org.geotools.referencing.factory.epsg.DefaultFactory to a 1800000ms timeout 
(ThreadedEpsgFactory.<init>())
2011-08-02 10:49:39 INFO: Setting the EPSG factory 
org.geotools.referencing.factory.epsg.ThreadedHsqlEpsgFactory to a 1800000ms 
timeout (ThreadedEpsgFactory.<init>())
2011-08-02 10:49:39 INFO: Setting the EPSG factory 
org.geotools.referencing.factory.epsg.DefaultFactory to a 1800000ms timeout 
(ThreadedEpsgFactory.<init>())
2011-08-02 10:49:39 INFO: Setting the EPSG factory 
org.geotools.referencing.factory.epsg.ThreadedHsqlEpsgFactory to a 1800000ms 
timeout (ThreadedEpsgFactory.<init>())


On Aug 2, 2011, at 7:29 AM, andrea antonello wrote:

> Hi Andrea,
> what you suggest (checking the presence of certain folders/files) is
> the way to go. I have the code already, I only do not have the time to
> do it with calm right now.
> But I will as soon as I am back.
> 
> Andrea
> 
> 
> 
> 
> On Tue, Aug 2, 2011 at 2:48 PM, Andrea Aime
> <[email protected]> wrote:
>> On Tue, Aug 2, 2011 at 8:18 AM, andrea antonello
>> <[email protected]> wrote:
>>> Hi Simone, Mike,
>>> wasn't aware of that weekness in the plugin.
>>> Please open a JIra and assign it to me. I am working abroad this week,
>>> so I probably won't be able to fix it right now.
>>> It will be the first thing when I am back.
>> 
>> One common way to recognize a file type is the use of the magic numbers:
>> http://www.garykessler.net/library/file_sigs.html
>> 
>> However it seems I can't find one for the grass raster format. But in 
>> general,
>> try to open the file header and try to check for an expected binary layout,
>> or something like that. Or maybe for this case it might be worth checking the
>> location of the raster on the file system, it should be located in a specific
>> place in the location directory no?
>> 
>> Cheers
>> Andrea
>> 
>> --
>> -------------------------------------------------------
>> Ing. Andrea Aime
>> GeoSolutions S.A.S.
>> Tech lead
>> 
>> Via Poggio alle Viti 1187
>> 55054  Massarosa (LU)
>> Italy
>> 
>> phone: +39 0584 962313
>> fax:      +39 0584 962313
>> 
>> http://www.geo-solutions.it
>> http://geo-solutions.blogspot.com/
>> http://www.youtube.com/user/GeoSolutionsIT
>> http://www.linkedin.com/in/andreaaime
>> http://twitter.com/geowolf
>> 
>> -------------------------------------------------------
>> 


------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to