Ohh I am sorry man i don't use Point, Polygon and MultiLineString so I thought that this method was inherited from Geometry :D Glad you got the answer :D

On Thu, Mar 31, 2011 at 2:58 PM, mravojed <antelakos@gmail.com> wrote:

figured it out.
sure Geometry does not have getCoordinates() method but Point,
MultiLineString and Polygon do.
as you said "you could replace geometry with point, multilinestring...). it
should've been "you should replace...". ;)

thanks again


View this message in context: http://osgeo-org.1803224.n2.nabble.com/Retrieving-SimpleFeature-s-coordinates-tp6224860p6226833.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.

Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself;
WebMatrix provides all the features you need to develop and
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
Geotools-gt2-users mailing list