Rueben Schulz ha scritto:
To Sun,
The short answer is no, geotools does not support NTV2 (or 1). If it
did, the math transform would be in the referencing module, beside the
NADCON transform (a similar NAD27 to NAD83 datum shift method used in
the USA).
Hello All,
Is anybody aware of a method to convert a SimpleFeature which has a Type of
MulitlineString to LineString? Is there a convenient mechanism to extract all
Point in a mulitlinestring as java double, then create new linestring using
factory?
Thanks in advance
Rob
Hi Robert
MultiLineString mls = ...
int N = mls.getNumGeometries();
LineString lines[] = new LineString[ N ];
for ( int i = 0; i N; i++ ) {
lines[ i ] = mls.getGeometryN( i );
}
Hope this helps,
Michael
--
Let
Hi
I am using 2.6.x branch from svn. Yesterday i used a different dataset with my
application and now i get a strange NPEs while asking isEmpty() on an empty
FeatureCollection coming from a Layer that has a Filter set:
java.lang.NullPointerException
at