On Tue, Sep 11, 2012 at 3:20 PM, Matthias Lendholt <
[email protected]> wrote:
> Hi,
>
> In my uDig/Geotools based application I have to programmatically create
> circle geometries based on centre + radius. I assume it will only affect
> geotools + JTS functionalities.
>
> I found this:
>
> http://docs.codehaus.org/display/GEOTDOC/01+How+to+Create+a+Geometry#id-01HowtoCreateaGeometry-CreatingaCircle
>
> However, my center is a Point in WGS84 and the radius is given in
> [m]/[km]. I guess I have to convert at first my center into another CRS,
> create the circle geometry and then, convert the geometry back into WGS84.
>
> Could anyone provide me the details how to realize these transformations
> and which CRS I have to use?
>
Have a look at the PointBuffers process, also described here:
http://geo-solutions.blogspot.it/2010/11/fun-stuff-computing-circular-buffers-in.html
(back at the time it was in GeoServer, now it is in GeoTools process-vector
unsupported module)
Cheers
Andrea
--
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 962313
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users