Hallo,

I faced a strange problem when using the FeatureSource.getBounds() method. I
have a class (class1.java) with a "main" method and a "method1" method.
method1 gets a File (Shapefile) as input argument and returns e.g. the
Bounding coordinates. Calling method1 from within the main method works
perfectly for any kind of shapefile. Having a new class (class2.java) and
calling method1 from class1 the extent is wrong for polygon and line
featuretypes, whereby longitudes and latitudes are just swapped. Is this a
known problem?

Thank you for your help.

-- 
View this message in context: 
http://www.nabble.com/Problem-with-getBounds%28%29-in-featureSource-tp18733897p18733897.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-gt2-users mailing list
Geotools-gt2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to