Mapbender 3.0.6.3 API documenation
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download

Namespaces

  • FOM
    • CoreBundle
      • Component
      • DependencyInjection
      • Doctrine
        • Types
      • Form
        • DataTransformer
        • Type
    • ManagerBundle
      • Component
      • Configuration
      • Controller
      • DependencyInjection
        • Compiler
      • Form
        • Type
      • Routing
    • UserBundle
      • Command
      • Component
      • Controller
      • DependencyInjection
        • Factory
      • Entity
      • EventListener
      • Form
        • DataTransformer
        • EventListener
        • Type
      • Security
        • Authentication
          • Provider
          • Token
        • Authorization
          • Voter
        • Firewall
  • Mapbender
    • Component
    • CoreBundle
      • Asset
      • Command
      • Component
        • Exception
      • Controller
      • DataFixtures
        • ORM
          • Application
      • DependencyInjection
        • Compiler
      • Element
        • DataTransformer
        • EventListener
        • Type
      • Entity
      • EventListener
      • Extension
      • Form
        • DataTransformer
        • EventListener
        • Type
      • Security
      • Template
      • Tests
        • Controller
      • Utils
      • Validator
        • Constraints
    • DataSourceBundle
      • Component
        • Drivers
          • Interfaces
      • Controller
      • DependencyInjection
      • Element
        • Type
      • Entity
      • Extension
      • Tests
    • DigitizerBundle
      • Component
      • Element
        • Type
      • Entity
      • Utils
    • DrupalIntegrationBundle
      • DependencyInjection
      • Security
        • Authentication
          • Provider
          • Token
        • Authorization
          • Voter
        • Factory
        • Firewall
        • User
      • Session
    • KmlBundle
      • Element
    • ManagerBundle
      • Component
        • Exception
      • Controller
      • Form
        • DataTransformer
        • Type
      • Template
    • MobileBundle
      • DependencyInjection
      • Template
    • PrintBundle
      • Component
      • Element
        • Type
    • WmcBundle
      • Component
        • Exception
      • Element
        • Type
      • Entity
      • Form
        • Type
      • Tests
        • Component
    • WmsBundle
      • Component
        • Exception
      • Controller
      • DependencyInjection
      • Element
        • DataTransformer
        • EventListener
        • Type
      • Entity
      • Event
      • Form
        • DataTransformer
        • EventListener
        • Type
  • None
  • OwsProxy3
    • CoreBundle
      • Component
        • Exception
      • Controller
      • DependencyInjection
      • Entity
      • Event
      • EventListener
      • Worker
  • PHP

Classes

  • Clipping
  • CommonProxy
  • ProxyQuery
  • SrsPoint
  • Utils
  • WfsProxy
  • WmsProxy

Class Clipping

Clipping class

Namespace: OwsProxy3\CoreBundle\Component
Author: Paul Schmidt
Located at OwsProxy3/CoreBundle/Component/Clipping.php

Methods summary

public
# getPixelNumber( )
public
# getColorNumber( )
public boolean
# getContains( )

Returns the contains

Returns the contains

Returns

boolean
the contains
public boolean
# getIntersects( )

Returns the intersects.

Returns the intersects.

Returns

boolean
the intersects
public string
# getWktGeometry( )

Returns the geometry as wkt

Returns the geometry as wkt

Returns

string
string
public
# findSvgGeometry( type $conn, array $MultiPointBbox, string $database, string $geomColumn, string $whereCol, array $whereColValues, integer $width, integer $height )

Queries the svgEnvelope and the svgGeometry from the database

Queries the svgEnvelope and the svgGeometry from the database

Parameters

$conn
the database connection
$MultiPointBbox
the bounding box as a collection of the SrsPoints
$database
the name of the database
$geomColumn
the name of the geometry column
$whereCol
the name of the column at the where clause
$whereColValues
the values for the column at the where clause
$width
the width of the image
$height
the height of the image
public
# findWktGeometry( type $conn, array $MultiPointBbox, string $database, string $geomColumn, string $whereCol, array $whereColValues, integer $width, integer $height )

Queries the svgEnvelope and the svgGeometry from the database

Queries the svgEnvelope and the svgGeometry from the database

Parameters

$conn
the database connection
$MultiPointBbox
the bounding box as a collection of the SrsPoints
$database
the name of the database
$geomColumn
the name of the geometry column
$whereCol
the name of the column at the where clause
$whereColValues
the values for the column at the where clause
$width
the width of the image
$height
the height of the image
public string
# getSVG( type $width, stdClass $height )

Creates SVG for svgEnvelope and svgGeometry

Creates SVG for svgEnvelope and svgGeometry

Parameters

$width
$geometry
$height
$viewbox viewbox from $this->getViewBox($envelope)

Returns

string
svg as string
public Imagick
# clipImage( type $sourceImage, type $maskImage, string $format )

Clips the svgGeometry from the image

Clips the svgGeometry from the image

Parameters

$sourceImage
$maskImage
$format
the image format

Returns

Imagick
the clipped image
public Imagick
# createImage( integer $width, integer $height, string $format )

Creates the graphical image

Creates the graphical image

Parameters

$width
the image widht
$height
the image height
$format
the image format

Returns

Imagick
the image
public boolean
# checkFeatureInfo( type $conn, string $database, string $whereCol, array $whereColValues, string $geomCol, OwsProxy3\CoreBundle\Component\SrsPoint $point )

Checks if

Checks if

Parameters

$conn
the database connection
$database
the name of the database
$whereCol
the name of the column at the where clause
$whereColValues
the values for the column at the where clause
$geomCol
$geomColumn the name of the geometry column
$point
the world coordinate of the GetFeatureInfo click

Returns

boolean
true if

Magic methods summary

Mapbender 3.0.6.3 API documenation API documentation generated by ApiGen 2.8.0