[Geotools-gt2-users] Directional Dijkstra on an undirected graph?

2008-04-22 Thread Swan Jerry
I have a (large) graph in which the Node attributes are 3d coordinates. For Nodes A and B, the edge weighting I want to use is a function of the slope (i.e. Z coord difference) between A and B. Is it possible to achieve this without having to create a directed graph (I'd rather not have to double

Re: [Geotools-gt2-users] Modifying Feature geometry in a MemoryDataStore

2007-09-24 Thread Swan Jerry
e a Transaction or a FeatureWriter)? Thanks again, Jerry. -Original Message- From: Jody Garnett [mailto:[EMAIL PROTECTED] Sent: 21 September 2007 16:37 To: Swan Jerry Cc: geotools-gt2-users@lists.sourceforge.net Subject: Re: [Geotools-gt2-users] Modifying Feature geometry in a MemoryDat

Re: [Geotools-gt2-users] Modifying Feature geometry in a MemoryDataStore

2007-09-21 Thread Swan Jerry
>To change the contents you will need to use a transaction and FeatureStore just like normal. Thanks. In trying to do this (code below), I run into two issues: a) On the first invocation of this function, the geometries of mds are still untranslated (i.e. they are still equal to those of the input

[Geotools-gt2-users] Modifying Feature geometry in a MemoryDataStore

2007-09-20 Thread Swan Jerry
I'm trying to write a simple function that takes a FeatureCollection as input, makes an in-memory copy of it (using a MemoryDataStore) and translates the Geometry of the copy by some value (xt,yt). Am I correct in thinking that modifying the features in a MemoryDataStore can be done in-place witho

[Geotools-gt2-users] Structural sharing between Features

2007-05-24 Thread Swan Jerry
Hi, If the Geometry of two different Features in a FeatureCollection have coincident coordinates, is the corresponding Coordinate object also shared between these Features? Cheers, Jerry. This message has been checked for viruses but the contents of an attachment may still contain software vi

Re: [Geotools-gt2-users] Modifying Feature geometry in a FeatureCollection

2007-04-25 Thread Swan Jerry
>Do you have sample code you can share? Attached. FWIW, it demonstrates that the modification succeeds if the FeatureCollection is obtained from a shapefile, but not if its from a WFS. Jerry. -Original Message- From: Jody Garnett [mailto:[EMAIL PROTECTED] Sent: 25 April 2007 00:49 To: Sw

[Geotools-gt2-users] Modifying Feature geometry in a FeatureCollection

2007-04-24 Thread Swan Jerry
Dear Geotoolers, I'm iterating through a FeatureCollection and setting the geometry of each of its Features. AFAIK, I'm making all the necessary calls to geometryChanged(), setDefaultGeometry() etc. Immediately after the transformation, getDefaultGeometry() yields the expected value. A short time

[Geotools-gt2-users] Invalid XML Characters with WFSClient example?

2007-04-23 Thread Swan Jerry
Using the WFSClient example pretty much as given, generates the following console output for a particular (Geoserver hosted) dataset: 3-Apr-2007 11:52:40 org.geotools.xml.XMLSAXHandler fatalError SEVERE: FATAL Character reference "�" is an invalid XML character. 23-Apr-2007 1

Re: [Geotools-gt2-users] Running WFSClient example under Tomcat

2007-04-19 Thread Swan Jerry
lls are obvious to those with more WFS experience... ;-) Thanks, Jerry. -Original Message- From: Jody Garnett [mailto:[EMAIL PROTECTED] Sent: 18 April 2007 20:40 To: Swan Jerry Cc: geotools-gt2-users@lists.sourceforge.net Subject: Re: [Geotools-gt2-users] Running WFSClient example under T

Re: [Geotools-gt2-users] Running WFSClient example under Tomcat (Swan Jerry)

2007-04-18 Thread Swan Jerry
Not wanting to hassle anyone, but I'd really appreciate some direction on the issue below ;-) Jerry. -- Message: 2 Date: Mon, 16 Apr 2007 11:12:00 +0100 From: "Swan Jerry" <[EMAIL PROTECTED]> Subject: Re: [Geotools-gt2-users] Running WF

Re: [Geotools-gt2-users] Running WFSClient example under Tomcat

2007-04-16 Thread Swan Jerry
transformer to avoid this error? And thanks again, Jerry. -Original Message- From: Andrea Aime [mailto:[EMAIL PROTECTED] Sent: 13 April 2007 18:45 To: Swan Jerry Cc: geotools-gt2-users@lists.sourceforge.net Subject: Re: [Geotools-gt2-users] Running WFSClient example under Tomcat Swan J

[Geotools-gt2-users] Running WFSClient example under Tomcat

2007-04-12 Thread Swan Jerry
First, thanks for all the help I've received so far - I'm actually starting to make some genuine progress ;-) I'm currently trying to run the WFSClient demo example (using Geoserver as the feature source). It works fine as a standalone application and yields the log output below: [Swan additio

[Geotools-gt2-users] Deep copy on graph

2007-04-11 Thread Swan Jerry
in Deoliveira [mailto:[EMAIL PROTECTED] Sent: 11 April 2007 17:20 To: Swan Jerry Cc: geotools-gt2-users@lists.sourceforge.net Subject: Re: [Geotools-gt2-users] Simple graph question Hi Jerry, The process is similar, just use a BasicLineGraphGenerator. I have updated the page with an example.

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

2007-04-11 Thread Swan Jerry
D] Sent: 05 April 2007 15:52 To: Swan Jerry Cc: geotools-gt2-users@lists.sourceforge.net Subject: Re: [Geotools-gt2-users] Simple graph question Hi Jerry, Once the graph is built each, edge#getObject() will hold the original feature used to built it. So something like for ( Iterator e = graph.

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

2007-04-05 Thread Swan Jerry
raph.getEdges() ), gives a ClassCastException from BasicNode to Feature. Jerry. -Original Message- From: Justin Deoliveira [mailto:[EMAIL PROTECTED] Sent: 04 April 2007 19:40 To: Swan Jerry Cc: geotools-gt2-users@lists.sourceforge.net Subject: Re: [Geotools-gt2-users] Simple graph quest

[Geotools-gt2-users] Simple graph question

2007-04-04 Thread Swan Jerry
Given a FeatureCollection, I'd like to build an (undirected) graph directly corresponding to its feature geometry, i.e. having a node for each point. Would someone kindly recommend the simplest graph building strategy for this? In particular, the example at http://docs.codehaus.org/display/GEOTOO

Re: [Geotools-gt2-users] Build error involving JTS jar

2007-03-14 Thread Swan Jerry
17:30 To: Swan Jerry Cc: geotools-gt2-users@lists.sourceforge.net Subject: Re: [Geotools-gt2-users] Build error involving JTS jar Swan Jerry ha scritto: > Hi all, > > I'm still trying to build gt2-2.3.0-src. > > If you'd care to take a look at the following output, Mave

[Geotools-gt2-users] Build error involving JTS jar

2007-03-08 Thread Swan Jerry
Hi all, I'm still trying to build gt2-2.3.0-src. If you'd care to take a look at the following output, Maven 2.0.4 seems to be complaining about the absence of classes from jts-1.7.0.jar, despite never seeming to have tried to download this file. Obviously I could find and manually install this

[Geotools-gt2-users] "Transforming" WFS

2007-03-02 Thread Swan Jerry
(Appoligies to those who I've already inadvertantly spammed with the following on WFS-dev): I'm seeking to implement a "transforming WFS adaptor", i.e. a service that sits between an external WFS client and server and allows custom transformations to be performed on the geometry (the specific tran

[Geotools-gt2-users] Maven download problem

2007-02-14 Thread Swan Jerry
As indicated below, Maven2 can't download: org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8 In particular, http://www.ibiblio.org/maven2 appears not to exist. Should I be looking to edit the build scripts and provide an alternative repository? Thanks, Jerry.