Re: [Geotools-devel] How do I to add a simple geometry to a JMapFrame?

2010-04-28 Thread Jody Garnett
A geometry is a shape; to make it represent something you need to turn it in to a "Feature" (think a "feature" of the landscape). Have a look at the initial geotools tutorials; there is one there that walks through parsing a CSV file and turning it into features (the example saves the features o

[Geotools-devel] How do I to add a simple geometry to a JMapFrame?

2010-04-28 Thread Amador Antonio Cuenca
Hi, I'm new in GeoTools and I want to add an simple geometry ( point, circle, polyline, and so on) using JTS to a JMapFrame, but I don't know how to do it. This is my draw method: GeometryFactory gf = JTSFactoryFinder.getGeometryFactory(null); private Geometry crearPunto(int x, int y){