congrats Icon
New! Announcing our next generation AI code completions
Read here
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

  • Start an intent from android
  • putExtra (Intent)
  • setScale (BigDecimal)
  • notifyDataSetChanged (ArrayAdapter)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • Table (org.hibernate.mapping)
    A relational table
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Top 17 PhpStorm 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