On Tue, Feb 18, 2014 at 6:51 PM, serega_sh <[email protected]> wrote:

> Hi, I'm reading WKT file describing country regions. Reach region is a
> MultiPolygon and it has extremely high precision, each MultiPolygon has too
> many points.
>
> I don't need such huge precision for my task.
> Is there any possibility to lower precision for the MultiPolygon.
> Fo example I want twice less points. Is there any API for that? I can't
> find
> the right name for such operation.
>

You might want to use the TopologyPreservingSimplifier, from JTS

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 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to