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

  • CsvResponse
  • ExportResponse
  • GeoConverterComponent
  • PathHelper

Class GeoConverterComponent

Class GeoConverterComponent

FOM\CoreBundle\Component\GeoConverterComponent implements Symfony\Component\DependencyInjection\ContainerAwareInterface
Namespace: FOM\CoreBundle\Component
Package: FOM\CoreBundle\Component
Copyright: 2014 by WhereGroup GmbH & Co. KG
Author: Andriy Oblivantsev <eslider@gmail.com>
Located at FOM/CoreBundle/Component/GeoConverterComponent.php

Methods summary

public
# setContainer( Symfony\Component\DependencyInjection\ContainerInterface $container = null )

Sets the Container.

Sets the Container.

Parameters

$container
A ContainerInterface instance or null

Api

public array
# wktsToGeoJson( array $rows, string $key = 'GEOM' )

Convert WKT results to GeoJSON

Convert WKT results to GeoJSON

Parameters

$rows
$key
WKT Key

Returns

array
array

Throws

exception
\exception
public array
# wktToGeoJson( mixed & $row, mixed $key = 'GEOM' )

Convert WKT row to GeoJSON

Convert WKT row to GeoJSON

Parameters

$row
$key

Returns

array
array

Throws

exception
\exception
public
# wktResultsToFeatureCollection( mixed & $rows, mixed $properties = array(), mixed $jsonEncode = false, mixed $key = "GEOM" )

Magic methods summary

Properties summary

protected Symfony\Component\DependencyInjection\ContainerInterface $container
#
Mapbender 3.0.6.3 API documenation API documentation generated by ApiGen 2.8.0