congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
Within.getGeometry
Code IndexAdd Tabnine to your IDE (free)

How to use
getGeometry
method
in
org.deegree.filter.spatial.Within

Best Java code snippets using org.deegree.filter.spatial.Within.getGeometry (Showing top 6 results out of 315)

origin: deegree/deegree3

  break;
case WITHIN:
  geometry = ( (Within) operator ).getGeometry();
  break;
default:
origin: deegree/deegree3

case WITHIN:
  propertyName = ( (Within) operator ).getPropName();
  geometry = ( (Within) operator ).getGeometry();
  break;
origin: deegree/deegree3

private static BBOX extractBBox( SpatialOperator oper ) {
  SubType type = oper.getSubType();
  switch ( type ) {
  case BBOX:
    return (BBOX) oper;
  case CONTAINS:
    // Oracle does not like zero-extent bboxes
    if ( !( ( (Contains) oper ).getGeometry() instanceof Point ) )
      return new BBOX( ( (Contains) oper ).getParam1(), ( (Contains) oper ).getGeometry().getEnvelope() );
    return null;
  case CROSSES:
    return new BBOX( ( (Crosses) oper ).getParam1(), ( (Crosses) oper ).getGeometry().getEnvelope() );
  case DWITHIN:
    // TOOD use enlarged bbox
    return null;
  case EQUALS:
    return new BBOX( ( (Equals) oper ).getParam1(), ( (Equals) oper ).getGeometry().getEnvelope() );
  case INTERSECTS:
    return new BBOX( ( (Intersects) oper ).getParam1(), ( (Intersects) oper ).getGeometry().getEnvelope() );
  case OVERLAPS:
    return new BBOX( ( (Overlaps) oper ).getParam1(), ( (Overlaps) oper ).getGeometry().getEnvelope() );
  case WITHIN:
    return new BBOX( ( (Within) oper ).getParam1(), ( (Within) oper ).getGeometry().getEnvelope() );
  default: {
    return null;
  }
  }
}
origin: deegree/deegree3

Within within = (Within) op;
builder.add( propNameExpr ).add( ".STWithin(" );
builder.add( toProtoSQL( within.getGeometry(), storageCRS, srid ) );
builder.add( ")=1" );
break;
origin: deegree/deegree3

builder.add( toProtoSQL( within.getGeometry(), storageCRS, srid ) );
builder.add( ")" );
break;
origin: deegree/deegree3

case WITHIN:
  Within within = (Within) op;
  return new Within( copy( within.getPropName() ), within.getGeometry() );
org.deegree.filter.spatialWithingetGeometry

Popular methods of Within

  • <init>
  • getPropName
  • checkGeometryOrNull
  • getCompatibleGeometry
  • getParam1

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getSystemService (Context)
  • getContentResolver (Context)
  • setRequestProperty (URLConnection)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • String (java.lang)
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Best IntelliJ plugins
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