Tabnine Logo
WKTWriter.appendGeometryTaggedText
Code IndexAdd Tabnine to your IDE (free)

How to use
appendGeometryTaggedText
method
in
com.vividsolutions.jts.io.WKTWriter

Best Java code snippets using com.vividsolutions.jts.io.WKTWriter.appendGeometryTaggedText (Showing top 4 results out of 315)

origin: com.vividsolutions/jts

/**
 *  Converts a <code>Geometry</code> to its Well-known Text representation.
 *
 *@param  geometry  a <code>Geometry</code> to process
 */
private void writeFormatted(Geometry geometry, boolean useFormatting, Writer writer)
 throws IOException
{
 this.useFormatting = useFormatting;
 formatter = createFormatter(geometry.getPrecisionModel());
 appendGeometryTaggedText(geometry, 0, writer);
}
origin: com.vividsolutions/jts

/**
 *  Converts a <code>GeometryCollection</code> to &lt;GeometryCollectionText&gt;
 *  format, then appends it to the writer.
 *
 *@param  geometryCollection  the <code>GeometryCollection</code> to process
 *@param  writer              the output writer to append to
 */
private void appendGeometryCollectionText(GeometryCollection geometryCollection, int level,
  Writer writer)
 throws IOException
{
 if (geometryCollection.isEmpty()) {
  writer.write("EMPTY");
 }
 else {
  int level2 = level;
  writer.write("(");
  for (int i = 0; i < geometryCollection.getNumGeometries(); i++) {
   if (i > 0) {
    writer.write(", ");
    level2 = level + 1;
   }
   appendGeometryTaggedText(geometryCollection.getGeometryN(i), level2, writer);
  }
  writer.write(")");
 }
}
origin: com.vividsolutions/jts-core

/**
 *  Converts a <code>Geometry</code> to its Well-known Text representation.
 *
 *@param  geometry  a <code>Geometry</code> to process
 */
private void writeFormatted(Geometry geometry, boolean useFormatting, Writer writer)
 throws IOException
{
 this.useFormatting = useFormatting;
 formatter = createFormatter(geometry.getPrecisionModel());
 appendGeometryTaggedText(geometry, 0, writer);
}
origin: com.vividsolutions/jts-core

/**
 *  Converts a <code>GeometryCollection</code> to &lt;GeometryCollectionText&gt;
 *  format, then appends it to the writer.
 *
 *@param  geometryCollection  the <code>GeometryCollection</code> to process
 *@param  writer              the output writer to append to
 */
private void appendGeometryCollectionText(GeometryCollection geometryCollection, int level,
  Writer writer)
 throws IOException
{
 if (geometryCollection.isEmpty()) {
  writer.write("EMPTY");
 }
 else {
  int level2 = level;
  writer.write("(");
  for (int i = 0; i < geometryCollection.getNumGeometries(); i++) {
   if (i > 0) {
    writer.write(", ");
    level2 = level + 1;
   }
   appendGeometryTaggedText(geometryCollection.getGeometryN(i), level2, writer);
  }
  writer.write(")");
 }
}
com.vividsolutions.jts.ioWKTWriterappendGeometryTaggedText

Javadoc

Converts a Geometry to <Geometry Tagged Text> format, then appends it to the writer.

Popular methods of WKTWriter

  • write
    Converts a Geometry to its Well-known Text representation.
  • <init>
    Creates a writer that writes Geometrys with the given output dimension (2 or 3). If the specified ou
  • writeFormatted
    Converts a Geometry to its Well-known Text representation.
  • appendCoordinate
    Appends the i'th coordinate from the sequence to the writer
  • appendGeometryCollectionTaggedText
    Converts a GeometryCollection to format, then appends it to the wri
  • appendGeometryCollectionText
    Converts a GeometryCollection to format, then appends it to the writer.
  • appendLineStringTaggedText
    Converts a LineString to format, then appends it to the writer.
  • appendLineStringText
    Converts a LineString to format, then appends it to the writer.
  • appendLinearRingTaggedText
    Converts a LinearRing to format, then appends it to the writer.
  • appendMultiLineStringTaggedText
    Converts a MultiLineString to format, then appends it to the writer.
  • appendMultiLineStringText
    Converts a MultiLineString to format, then appends it to the writer.
  • appendMultiPointTaggedText
    Converts a MultiPoint to format, then appends it to the writer.
  • appendMultiLineStringText,
  • appendMultiPointTaggedText,
  • appendMultiPointText,
  • appendMultiPolygonTaggedText,
  • appendMultiPolygonText,
  • appendPointTaggedText,
  • appendPointText,
  • appendPolygonTaggedText,
  • appendPolygonText

Popular in Java

  • Finding current android device location
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getSupportFragmentManager (FragmentActivity)
  • getApplicationContext (Context)
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Option (scala)
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now