Tabnine Logo
CRS.getGeographicBoundingBox
Code IndexAdd Tabnine to your IDE (free)

How to use
getGeographicBoundingBox
method
in
org.geotools.referencing.CRS

Best Java code snippets using org.geotools.referencing.CRS.getGeographicBoundingBox (Showing top 7 results out of 315)

origin: geotools/geotools

final GeographicBoundingBox sourceBox = CRS.getGeographicBoundingBox(sourceCRS);
final GeographicBoundingBox targetBox = CRS.getGeographicBoundingBox(targetCRS);
final GeographicBoundingBox validArea;
if (sourceBox == null) {
origin: geotools/geotools

GeographicBoundingBox bbox = CRS.getGeographicBoundingBox(targetCRS);
if (bbox != null) {
  ReferencedEnvelope restriction =
origin: geotools/geotools

final GeographicBoundingBox bounds = getGeographicBoundingBox(crs);
if (bounds != null && !Boolean.FALSE.equals(bounds.getInclusion())) {
  envelope =
origin: org.geoserver.web/gs-web-demo

private Geometry getGeographicBoundingBox(CoordinateReferenceSystem crs) {
  GeographicBoundingBox envelope = CRS.getGeographicBoundingBox(crs);
  if (envelope == null) {
    return null;
origin: org.geoserver.web/gs-web-demo

GeographicBoundingBox box = CRS.getGeographicBoundingBox(crs);
origin: org.geoserver/gwc

if (envelope.getSpan(0) < tolerance || envelope.getSpan(1) < tolerance) {
  GeographicBoundingBox latLonBBox = CRS.getGeographicBoundingBox(targetCrs);
  ReferencedEnvelope bbox = new ReferencedEnvelope(new GeneralEnvelope(latLonBBox));
  Polygon geometry = JTS.toGeometry(bbox);
origin: org.geoserver/gs-gwc

if (envelope.getSpan(0) < tolerance || envelope.getSpan(1) < tolerance) {
  GeographicBoundingBox latLonBBox = CRS.getGeographicBoundingBox(targetCrs);
  ReferencedEnvelope bbox = new ReferencedEnvelope(new GeneralEnvelope(latLonBBox));
  Polygon geometry = JTS.toGeometry(bbox);
org.geotools.referencingCRSgetGeographicBoundingBox

Javadoc

Returns the valid geographic area for the specified coordinate reference system, or null if unknown.

This method fetchs the CoordinateReferenceSystem#getDomainOfValidity associated with the given CRS. Only GeographicExtent of kind GeographicBoundingBox are taken in account.

Popular methods of CRS

  • decode
  • findMathTransform
  • equalsIgnoreMetadata
  • parseWKT
  • lookupEpsgCode
  • transform
    Implementation of #transform(MathTransform,Envelope) with the opportunity to save the projected cent
  • getAxisOrder
  • lookupIdentifier
  • toSRS
  • getHorizontalCRS
  • getEnvelope
  • getCoordinateOperationFactory
  • getEnvelope,
  • getCoordinateOperationFactory,
  • getAuthorityFactory,
  • getMapProjection,
  • getSupportedCodes,
  • reset,
  • getEllipsoid,
  • getProjectedCRS,
  • getTemporalCRS

Popular in Java

  • Making http post requests using okhttp
  • addToBackStack (FragmentTransaction)
  • getResourceAsStream (ClassLoader)
  • scheduleAtFixedRate (Timer)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Runner (org.openjdk.jmh.runner)
  • Github Copilot alternatives
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