public function getById($id, $srid = null)
    {
        $rows = $this->getSelectQueryBuilder($srid)
            ->where($this->getUniqueId() . " = :id")
            ->setParameter('id', $id)
            ->execute()
            ->fetchAll();
        $this->prepareResults($rows, $srid);
        return reset($rows);
    }
public function getById($id, $srid = null)
    {
        $rows = $this->getSelectQueryBuilder($srid)
            ->where($this->getUniqueId() . " = :id")
            ->setParameter('id', $id)
            ->execute()
            ->fetchAll();
        $this->prepareResults($rows, $srid);
        return reset($rows);
    }
public function getById ( $ id , $ srid = null ) { $ rows = $ this -> getSelectQueryBuilder ( $ srid ) -> where ( $ this -> getUniqueId ( ) . " = :id" ) -> setParameter ( 'id' , $ id ) -> execute ( ) -> fetchAll ( ) ; $ this -> prepareResults ( $ rows , $ srid ) ; return reset ( $ rows ) ; }
Get feature by ID and SRID

@param int $id
@param int $srid SRID
@return Feature
Get feature by ID and SRID