Package com.vividsolutions.jts.densify

Examples of com.vividsolutions.jts.densify.Densifier


            Envelope env = geometry.getEnvelopeInternal();
            if(env.getWidth() > SOLR_DISTANCE_TOLERANCE){
                if(LOGGER.isLoggable(Level.FINE)){
                    LOGGER.fine("Split segment exceeds the 180 degree longitude limit to conform to SOLR WKT manager specification");
                }
                Densifier densifier = new Densifier(geometry);
                densifier.setDistanceTolerance(SOLR_DISTANCE_TOLERANCE);
                if(LOGGER.isLoggable(Level.FINE)){
                    LOGGER.fine("Original geometry: " + geometry.toText());
                }
                geometry = densifier.getResultGeometry();
                if(LOGGER.isLoggable(Level.FINE)){
                    LOGGER.fine("Densified geometry: " + geometry.toText());
                }              
            }
            WKTWriter writer = new WKTWriter();
View Full Code Here

TOP

Related Classes of com.vividsolutions.jts.densify.Densifier

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.