[Geotools-gt2-users] always get null when using DijkstraShortestPathFinder to find shortest path via a shapefile

2009-02-10 Thread ruan.tong
hi, I want to try DijkstraShortestPathFinder, I construct the graphic via a Esri shape file. unfortunately I found the return of the pathfinder is always "null", when i debug the code, I found the calulate()function always return very quickly, since the DijkstraIterator.DijkstraNode.cost==

[Geotools-gt2-users] KNN k-nearest neighbor-resending

2008-11-19 Thread ruan.tong
Can any one help me? Thanks a lot. 在2008-11-17,"ruan.tong" <[EMAIL PROTECTED]> 写道: hi, I want to cacluate the KNN (K-nearest neighor). I look for WFS filter document ,and it seems there are no such operators. Thus it may not be in geoserver, what should I do, should I imp

[Geotools-gt2-users] how to get KNN (K-nearest neighor)

2008-11-16 Thread ruan.tong
hi, I want to cacluate the KNN (K-nearest neighor). I look for WFS filter document ,and it seems there are no such operators. Should I implement it myself via geotools API? Can anyone help me? Vicky- This SF.Net e

[Geotools-gt2-users] How to create a new feturetype -----message resend

2008-10-09 Thread ruan.tong
hi, Traditionally, I use FeatureTypeFactory.newFeatureType( ) to create a featuretype,but I found the abstract class is deprecated in Getools 2.4.5 and 2.5. I want to use : FeatureTypeFactory.createFeatureType(...), but in new version FeatureTypeFactory is an interface,