> So for example if getScaleX() returns 100 what that means, > 100 mm per pixel, 100 inches per pixel or 100 m per pixel?
It could be any of those :-) The distance unit used will be the one defined in the coordinate reference system of your shapefile or other feature source. For example, a UTM data set will be in metres while a WGS84 data set is in degrees. You can query the unit of measurement used by a feature type with: Unit<?> unit = featureType.getCoordinateReferenceSystem().getCoordinateSystem().getAxis(0),getUnit(); String unitName = unit.toString(); Hope that helps, Michael ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
