Codota Logo
WKBWriter.write
Code IndexAdd Codota to your IDE (free)

How to use
write
method
in
org.deegree.geometry.io.WKBWriter

Best Java code snippets using org.deegree.geometry.io.WKBWriter.write (Showing top 3 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
DateTime d =
  • Codota Iconnew DateTime()
  • Codota IconDateTimeFormatter formatter;String text;formatter.parseDateTime(text)
  • Codota IconObject instant;new DateTime(instant)
  • Smart code suggestions by Codota
}
origin: deegree/deegree3

@Override
public void setParticle( PreparedStatement stmt, Geometry particle, int paramIndex )
            throws SQLException {
  byte[] wkb = null;
  if ( particle != null ) {
    try {
      Geometry compatible = getCompatibleGeometry( particle );
      wkb = WKBWriter.write( compatible );
    } catch ( Throwable t ) {
      throw new IllegalArgumentException( t.getMessage(), t );
    }
  }
  stmt.setBytes( paramIndex, wkb );
}
origin: deegree/deegree3

@Override
public void setParticle( PreparedStatement stmt, Geometry particle, int paramIndex )
            throws SQLException {
  if ( particle == null ) {
    stmt.setObject( paramIndex, null );
    return;
  }
  particle = getCompatibleGeometry( particle );
  if ( is2d ) {
    try {
      stmt.setBytes( paramIndex, WKBWriter.write( particle ) );
    } catch ( Throwable e ) {
      throw new SQLException( e );
    }
  } else {
    stmt.setString( paramIndex, WKTWriter.write( particle ) );
  }
}
origin: deegree/deegree3

if ( geom != null ) {
  try {
    byte[] wkt = WKBWriter.write( geom );
    StringBuilder sb = new StringBuilder();
    if ( useLegacyPredicates ) {
org.deegree.geometry.ioWKBWriterwrite

Popular methods of WKBWriter

    Popular in Java

    • Making http requests using okhttp
    • notifyDataSetChanged (ArrayAdapter)
    • getSupportFragmentManager (FragmentActivity)
      Return the FragmentManager for interacting with fragments associated with this activity.
    • setContentView (Activity)
    • Table (com.google.common.collect)
      A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
    • VirtualMachine (com.sun.tools.attach)
      A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
    • IOException (java.io)
      Signals that an I/O exception of some sort has occurred. This class is the general class of exceptio
    • URL (java.net)
      A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
    • Queue (java.util)
      A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
    • ConcurrentHashMap (java.util.concurrent)
      A hash table supporting full concurrency of retrievals and adjustable expected concurrency for updat
    Codota Logo
    • Products

      Search for Java codeSearch for JavaScript codeEnterprise
    • IDE Plugins

      IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
    • Company

      About UsContact UsCareers
    • Resources

      FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
    Get Codota for your IDE now