Re: [Geotools-gt2-users] Simple graph question

2007-04-05 Thread Swan Jerry
I have updated that page with a more recent example Thanks. Given a graph that has been constructed in this fashion, how should I convert it back into a FeatureCollection? I ask because the 'obvious' solution, i.e. using someFeatureCollection.addAll( graphGetNodes() ) and addAll( graph.getEdges()

Re: [Geotools-gt2-users] constructing a coordinate reference system from a netcdf file

2007-04-05 Thread Martin Desruisseaux
Tom Howe a écrit : Martin, thanks for your help. I've made some headway. Given the info in my netcdf file I've done the following: (...snip...) gcs is a projection Object from the ucar netcdf library. when I try to do a transform, I get very incorrect results. Does the above look

Re: [Geotools-gt2-users] Failed to connect to the EPSG database

2007-04-05 Thread Andrea Aime
Gary W. Lucas ha scritto: From the earlier email, I had the impression that the solution was to remove the gt2-epsq-access.jar. This does not appear to have fixed the problem. Is there anything else I need to do? Apr 4, 2007 12:54:29 PM

[Geotools-gt2-users] ClassLoader problems with GeoTools/RCP

2007-04-05 Thread cyrille hemidy
I am attempting to use GeoTools to transforme CoordinateReferenceSystem, but when i try to create a source CRS, the program fails when calling the CRS.decode. It' a classloader issue, because when i launch the application in debug mode, the decode method is not found. I include this GeoTools

Re: [Geotools-gt2-users] ClassLoader problems with GeoTools/RCP

2007-04-05 Thread Martin Desruisseaux
cyrille hemidy a écrit : java.lang.IllegalAccessError : tried to access method org.opengis.util.CodeList.init(Ljava/lang/String;Ljava/util/Collection;)V from class org.opengis.metadata.citation.Role at org.opengis.metadata.citation.Role.init(Role.java:114) at

Re: [Geotools-gt2-users] [udig-devel] postgis link to a unix soket rather than a port?

2007-04-05 Thread Jody Garnett
Hi Jesse ... We are exploring a couple of new things for DataStore support - namely letting the DataStore use an already existing Java DataSource. I am not sure that the JDBC URL syntax supports the direct use of a socket. Let me look, - http://www.fankhausers.com/postgresql/jdbc/ Has some

[Geotools-gt2-users] Will it cause problem to build geoserver 1.5.x and gt2-2.4.0 using same maven2 repository?

2007-04-05 Thread Yingqi Tang
All, I checkout the source code for geoserver 1.5.x and gt2-2.4.0 separately, but build them using the same maven repository under .../.m2/ Will that cause problem like dependency jar being overwritten? Thanks - Take

Re: [Geotools-gt2-users] constructing a coordinate reference system from a netcdf file

2007-04-05 Thread Tom Howe
Actually, that wasn't the problem at all. IT was a problem with the netcdf file. but here is what I ended up doing in the end, just for y'all's curiousity: MapString, Object params = new HashMapString, Object(); params.put(name, North_American_Datum_1983); GeodeticDatum

Re: [Geotools-gt2-users] Will it cause problem to build geoserver 1.5.x and gt2-2.4.0 using same maven2 repository?

2007-04-05 Thread Justin Deoliveira
Nope you should be fine. GeoServer 1.5.x depends on Geotools 2.3.x and having both 2.3.x and 2.4.x jars in your repository should be no problem. One of the beauties of maven. -Justin Yingqi Tang wrote: All, I checkout the source code for geoserver 1.5.x and gt2-2.4.0 separately, but build

Re: [Geotools-gt2-users] Simple graph question

2007-04-05 Thread Jody Garnett
Thanks Guys, I am trying to lurk on the user list and copy down code examples again. Justin your page has moved over here: - http://docs.codehaus.org/display/GEOTDOC/Graphs And the example added. Hi Jerry, Once the graph is built each, edge#getObject() will hold the original feature used to