Codota Logo
DirectPositionType.getSrsName
Code IndexAdd Codota to your IDE (free)

How to use
getSrsName
method
in
net.opengis.gml.DirectPositionType

Best Java code snippets using net.opengis.gml.DirectPositionType.getSrsName (Showing top 3 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Point p =
  • Codota Iconnew Point(x, y)
  • Codota Iconnew Point()
  • Codota IconMouseEvent e;e.getPoint()
  • Smart code suggestions by Codota
}
origin: citygml4j/citygml4j

public DirectPosition unmarshalDirectPosition(DirectPositionType src) {
  DirectPosition dest = new DirectPosition();
  if (src.isSetValue())
    dest.setValue(src.getValue());
  if (src.isSetSrsName())
    dest.setSrsName(src.getSrsName());
  if (src.isSetSrsDimension())
    dest.setSrsDimension(src.getSrsDimension().intValue());
  if (src.isSetAxisLabels())
    dest.setAxisLabels(src.getAxisLabels());
  if (src.isSetUomLabels())
    dest.setUomLabels(src.getUomLabels());
  return dest;
}
origin: org.n52.svalbard/svalbard-xmlbeans

if (srid == -1 && xbPos.getSrsName() != null) {
  srid = CRSHelper.parseSrsName(xbPos.getSrsName());
origin: org.n52.sensorweb.sos/coding-sensorML-v101

private Object parsePointType(PointType xbPointType) throws OwsExceptionReport {
  String geomWKT = null;
  int srid = -1;
  if (xbPointType.getSrsName() != null) {
    srid = SosHelper.parseSrsName(xbPointType.getSrsName());
  }
  if (xbPointType.getPos() != null) {
    DirectPositionType xbPos = xbPointType.getPos();
    if (srid == -1 && xbPos.getSrsName() != null) {
      srid = SosHelper.parseSrsName(xbPos.getSrsName());
    }
    String directPosition = getString4Pos(xbPos);
    geomWKT = JTSHelper.createWKTPointFromCoordinateString(directPosition);
  } else if (xbPointType.getCoordinates() != null) {
    CoordinatesType xbCoords = xbPointType.getCoordinates();
    String directPosition = getString4Coordinates(xbCoords);
    geomWKT = JTSHelper.createWKTPointFromCoordinateString(directPosition);
  } else {
    throw new NoApplicableCodeException().withMessage("For geometry type 'gml:Point' only elements "
        + "'gml:pos' and 'gml:coordinates' are allowed");
  }
  checkSrid(srid);
  if (srid == -1) {
    throw new NoApplicableCodeException().withMessage("No SrsName ist specified for geometry!");
  }
  return JTSHelper.createGeometryFromWKT(geomWKT, srid);
}
net.opengis.gmlDirectPositionTypegetSrsName

Javadoc

Ruft den Wert der srsName-Eigenschaft ab.

Popular methods of DirectPositionType

  • getStringValue
  • getValue
    Returns the value of the 'Value' attribute. If the meaning of the 'Value' attribute isn't clear, the
  • setSrsName
    Sets the "srsName" attribute
  • setStringValue
  • setValue
    Sets the value of the ' net.opengis.gml.DirectPositionType#getValue' attribute.
  • set
  • setDimension
    Sets the value of the ' net.opengis.gml.DirectPositionType#getDimension' attribute.
  • <init>
  • getAxisLabels
    Gets the "axisLabels" attribute
  • getDomNode
  • getListValue
  • getSrsDimension
    Gets the "srsDimension" attribute
  • getListValue,
  • getSrsDimension,
  • getUomLabels,
  • isSetAxisLabels,
  • isSetSrsDimension,
  • isSetSrsName,
  • isSetUomLabels,
  • isSetValue,
  • setAxisLabels

Popular in Java

  • Updating database using SQL prepared statement
  • getContentResolver (Context)
  • requestLocationUpdates (LocationManager)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • HashSet (java.util)
    This class implements the Set interface, backed by a hash table (actually a HashMap instance). It m
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • BoxLayout (javax.swing)
  • Runner (org.openjdk.jmh.runner)
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