thanks, when implements function createArc with 3 point (center, point1,
point2), i send you the function and it's up to you insert example in guide.
But, one cuestion: I create geometry whit library jst, I render geometry as
follows:
- Create Geometry with GeometryFactory.
- Create Featuretype:
FeatureType polyType =
FeatureTypes.newFeatureType(typesNew, "circlefeature");
Feature polyFeature = polyType.create(new Object[] {
polygon});
- Render: Create MapLayer with FeatureCollection and style.
MapLayer layer = new
DefaultMapLayer(featureCollectionLine,style);
this is my way of creating and painting figures.
I crate CurveImpl of the package
org.geotools.geometry.iso.primitive.CurveImpl (gt2-geometry)
How render CurveImpl in MapLayer?
thanks.
Jody Garnett wrote:
>
> I have added a bit to the page on creating a JTS Geometry explaining
> that you need to do work to represent a curve; including this circle
> example. Thanks for your question. If you do produce a good
> "createCurve" method please send it to the user list here and I can add
> it to the user guide.
>
> Link:
> - http://docs.codehaus.org/display/GEOTDOC/01+How+to+Create+a+Geometry
>
> One good idea would be to make a series of JTS.createCircle( x, y,
> radius ) functions which stored a bit of information in the
> Geometry.getUserData() method, that way our JTS.transform functions (at
> least) could be made to handle these "higher order" constructs.
>
> Cheers,
> Jody
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>
>
--
View this message in context:
http://www.nabble.com/Geometry-Arc-tp17226907p17247362.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users