Geo General  1
 All Classes Files Functions Variables Pages
Public Member Functions | Public Attributes | List of all members
GeoVector Class Reference

#include <GeoVector.h>

Public Member Functions

 GeoVector (std::string n_outputNameVector, GeoVector *templateVector)
 copy setup from existing GeoVector template More...
 
 GeoVector (std::string n_inputNameVector)
 from input file More...
 
 ~GeoVector ()
 
void getDriver ()
 get input drivers from file name ending More...
 
void setLayer (int layerNumber)
 get active layer More...
 
void setFeature (int featureNumber)
 set active feature More...
 
void copyFeature (GeoVector *templateVector)
 copy feature from another GeoVector object More...
 
OGRLayer * queryEngine (std::string query, GeoVector *templateVector)
 execute a sql query from template GeoVector and write results More...
 
void getEnvelope (double &minX, double &maxX, double &minY, double &maxY)
 get 4 double array of the geometry boundary More...
 

Public Attributes

OGRDataSource * vectorDataset
 
std::string vectorName
 
OGRSFDriver * vectorDriver
 
int vectorNumLayers
 
OGRLayer * vectorLayer
 
int layerNumFeatures
 
OGRFeature * layerFeature
 
OGRFeatureDefn * featureDef
 
OGRGeometry * featureGeometry
 
int featureNumber
 
OGRSpatialReference * projection
 
std::vector< std::string > attributeNames
 
std::vector< std::string > attributeValues
 

Constructor & Destructor Documentation

GeoVector::GeoVector ( std::string  n_outputNameVector,
GeoVector templateVector 
)

copy setup from existing GeoVector template

GeoVector::GeoVector ( std::string  n_inputNameVector)

from input file

GeoVector::~GeoVector ( )

Member Function Documentation

void GeoVector::copyFeature ( GeoVector templateVector)

copy feature from another GeoVector object

void GeoVector::getDriver ( )

get input drivers from file name ending

void GeoVector::getEnvelope ( double &  minX,
double &  maxX,
double &  minY,
double &  maxY 
)

get 4 double array of the geometry boundary

OGRLayer * GeoVector::queryEngine ( std::string  query,
GeoVector templateVector 
)

execute a sql query from template GeoVector and write results

void GeoVector::setFeature ( int  featureNumber)

set active feature

void GeoVector::setLayer ( int  layerNumber)

get active layer

Member Data Documentation

std::vector<std::string> GeoVector::attributeNames
std::vector<std::string> GeoVector::attributeValues
OGRFeatureDefn* GeoVector::featureDef
OGRGeometry* GeoVector::featureGeometry
int GeoVector::featureNumber
OGRFeature* GeoVector::layerFeature
int GeoVector::layerNumFeatures
OGRSpatialReference* GeoVector::projection
OGRDataSource* GeoVector::vectorDataset
OGRSFDriver* GeoVector::vectorDriver
OGRLayer* GeoVector::vectorLayer
std::string GeoVector::vectorName
int GeoVector::vectorNumLayers

The documentation for this class was generated from the following files:

Copyright 2014 Google Inc. All rights reserved.