Tabnine Logo
WKTUtilities.toType
Code IndexAdd Tabnine to your IDE (free)

How to use
toType
method
in
org.apache.sis.internal.referencing.WKTUtilities

Best Java code snippets using org.apache.sis.internal.referencing.WKTUtilities.toType (Showing top 5 results out of 315)

origin: apache/sis

  /**
   * Tests {@link WKTUtilities#toType(Class, Class)}.
   *
   * @see ReferencingUtilitiesTest#testToPropertyName()
   */
  @Test
  public void testToType() {
    assertNull  (                         toType(CoordinateSystem.class, CoordinateSystem.class));
    assertEquals(WKTKeywords.affine,      toType(CoordinateSystem.class, AffineCS        .class));
    assertEquals(WKTKeywords.Cartesian,   toType(CoordinateSystem.class, CartesianCS     .class));
    assertEquals(WKTKeywords.cylindrical, toType(CoordinateSystem.class, CylindricalCS   .class));
    assertEquals(WKTKeywords.ellipsoidal, toType(CoordinateSystem.class, EllipsoidalCS   .class));
    assertEquals(WKTKeywords.linear,      toType(CoordinateSystem.class, LinearCS        .class));
//      assertEquals(WKTKeywords.parametric,  toType(CoordinateSystem.class, ParametricCS    .class));
    assertEquals(WKTKeywords.polar,       toType(CoordinateSystem.class, PolarCS         .class));
    assertEquals(WKTKeywords.spherical,   toType(CoordinateSystem.class, SphericalCS     .class));
    assertEquals(WKTKeywords.temporal,    toType(CoordinateSystem.class, TimeCS          .class));
    assertEquals(WKTKeywords.vertical,    toType(CoordinateSystem.class, VerticalCS      .class));
  }

origin: apache/sis

final String type = WKTUtilities.toType(CoordinateSystem.class, getInterface());
if (type == null) {
  formatter.setInvalidWKT(this, null);
origin: org.apache.sis.core/sis-referencing

final String type = WKTUtilities.toType(CoordinateSystem.class, getInterface());
if (type == null) {
  formatter.setInvalidWKT(this, null);
origin: apache/sis

WKTUtilities.toType(CoordinateSystem.class, source.getClass()),
WKTUtilities.toType(CoordinateSystem.class, target.getClass())), cause);
origin: org.apache.sis.core/sis-referencing

WKTUtilities.toType(CoordinateSystem.class, source.getClass()),
WKTUtilities.toType(CoordinateSystem.class, target.getClass())), cause);
org.apache.sis.internal.referencingWKTUtilitiestoType

Javadoc

Returns the WKT type of the given interface. For CoordinateSystem base type, the returned value shall be one of affine, Cartesian, cylindrical, ellipsoidal, linear, parametric, polar, spherical, temporal or vertical.

Popular methods of WKTUtilities

  • appendName
    Appends the name of the given object to the formatter.
  • appendParamMT
    Appends a ParameterValueGroup in a Param_MT[…] element.
  • suggestFractionDigits
    Suggests an amount of fraction digits to use for formatting numbers in each column of the given sequ
  • append
    Appends a ParameterValue in a PARAMETER[…] element. If the supplied parameter is actually a Paramete
  • isEPSG
    Returns true if the given parameter is defined in the EPSG code space. We handle EPSG parameters in
  • toFormattable
    Returns the given prime meridian as a formattable object.

Popular in Java

  • Updating database using SQL prepared statement
  • scheduleAtFixedRate (ScheduledExecutorService)
  • runOnUiThread (Activity)
  • getSharedPreferences (Context)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • BoxLayout (javax.swing)
  • Join (org.hibernate.mapping)
  • Top 17 Free Sublime Text Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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