|
void | SetProject (PrjDefMemManage *prj) |
|
virtual bool | Open (const wxString &filename, bool bReadWrite=FALSE) |
| Generic open code.
|
|
virtual tmRealRect | GetMinimalBoundingRectangle () |
|
virtual TM_GIS_SPATIAL_TYPES | GetSpatialType () |
| Getting Data Spatial type.
|
|
virtual bool | SetSpatialFilter (tmRealRect filter, int type) |
| Set a spatial filter for geometric data.
|
|
virtual wxRealPoint * | GetNextDataLine (int &nbvertex, long &oid, bool &isOver) |
|
virtual wxRealPoint * | GetNextDataPoint (long &oid, bool &isOver) |
|
OGRPoint * | GetNextDataPointWithAttrib (long &oid, wxArrayString &values) |
|
virtual OGRLineString * | GetNextDataLine (long &oid) |
|
virtual OGRPoint * | GetOGRNextDataPoint (long &oid) |
|
virtual OGRFeature * | GetFeatureByOID (long oid) |
| Get the geometry for specified oid.
|
|
virtual long | AddGeometry (OGRGeometry *Geom, const long &oid, int layertype=wxNOT_FOUND) |
| Add geometry into database.
|
|
virtual bool | UpdateGeometry (OGRGeometry *geom, const long &oid) |
| Update the geometry for specified OID.
|
|
virtual OGRGeometryCollection * | GetGeometryColByOID (wxArrayLong *OIDs) |
| Get all geometries passed as array.
|
|
virtual OGRGeometry * | GetNextGeometry (bool restart, long &oid) |
|
virtual wxString | GetMetaDataAsHtml () |
| Get Metadata information well formated.
|
|
virtual wxString | GetDataSizeAsHtml (int iPrecision=2) |
| Getting Database size.
|
|
virtual int | GetFieldsCount () |
|
virtual bool | GetFieldsName (wxArrayString &Fields, long oid=wxNOT_FOUND) |
|
virtual bool | GetFieldsValue (wxArrayString &values, long oid) |
|
virtual int | GetCount () |
| Getting number of features.
|
|
virtual wxArrayLong * | SearchData (const tmRealRect &rect, int type) |
| Search spatial data.
|
|
virtual wxArrayLong * | GetAllData () |
| Get All OID back from the MySQL layer.
|
|
virtual wxArrayLong * | SearchIntersectingGeometry (OGRGeometry *intersectinggeom) |
| Search data for intersection.
|
|
virtual bool | GetSnapCoord (const wxRealPoint &clickpt, double buffersize, wxArrayRealPoints &snapppts, int snaptype) |
| Get snapping coordinate.
|
|
virtual bool | IsPointSnapped (const wxRealPoint &point, int snaptype, long excludeoid=wxNOT_FOUND) |
|
OGRLineString * | InsertVertex (OGRGeometry *pointbuffer, wxRealPoint ptclicked, OGRLineString *line, int &inseredvertex) |
| Insert a vertex in a passed line.
|
|
OGRLineString * | InsertVertexMultiple (OGRLineString *line, OGRMultiPoint *vertex, const wxArrayInt &point_pos) |
| Insert multiple vertex into line.
|
|
virtual bool | SetAttributeFilter (const wxString &query) |
|
virtual OGRFeature * | GetNextFeature () |
|
virtual bool | ResetReading () |
|
virtual int | GetNextDataPolygonInfo (long &oid) |
|
virtual wxRealPoint * | GetNextDataPolygon (int currentring, int &nbvertex) |
|
virtual bool | SplitGeometry (OGRGeometryCollection *gCol, const long &oid, wxArrayLong &AddedIds, int layertype) |
| Save splitted geometry to file.
|
|
virtual void | CloseGeometry () |
|
virtual bool | DeleteFile (const wxString &layername) |
|
wxString | GetFieldsMetadata () |
| Formating fields info into html string.
|
|
bool | CutLineAtVertex (long oid, const wxRealPoint &clickedpt, int searchRadius, int layertype) |
| Cut line in two at specified point.
|
|
bool | CutLineGeometry (OGRLineString *line1, OGRLineString *line2, OGRMultiLineString &res1, OGRMultiLineString &res2) |
| Cut two lines where they intesects.
|
|
bool | CutLineMultiple (OGRLineString *linetocut, OGRMultiLineString *cutlines, OGRMultiLineString &results) |
| Cut one line with multiple line.
|
|
bool | LinesMerge (OGRMultiLineString *linetomerge, OGRGeometry **linemerged) |
| Merge lines.
|
|
virtual int | IsRaster () |
|
| tmGISData () |
| Constructor.
|
|
| ~tmGISData () |
| Destructor.
|
|
int | GetDataType () |
|
void | SetCoordConvert (tmCoordConvert *coordconvert) |
|
tmCoordConvert * | GetCoordConvert () |
|
virtual bool | Close () |
|
wxString | GetShortFileName () |
|
wxString | GetFullFileName () |
|
virtual bool | CreateSpatialIndex (GDALProgressFunc progress, void *pfProgressData) |
|
|
bool | CheckGeometryFields (const wxString &tablename) |
|
OGRGeometry * | CreateDataBaseGeometry (MYSQL_ROW &row, const tmArrayULong &row_lengths, int geometry_col=0) |
|
long | GetOid (MYSQL_ROW &row, const int &col) |
| Get object ID from MYSQL row results.
|
|
virtual wxString | GetTableName (TOC_GENERIC_NAME type) |
|
bool | CheckGEOSIntersection (GEOSGeom *rect, GEOSGeom *object) |
| Compute real GEOS intersection (not bounding box)
|
|
bool | CheckGEOSCrosses (GEOSGeom *g1, GEOSGeom *g2) |
| Check for crossing (not bounding box)
|
|
GEOSGeom | CreateGEOSGeometry (OGRGeometry *geom) |
| Create a GEOS geometry.
|
|
GEOSGeom | CreateGEOSGeometry (const tmRealRect &rect) |
| Create a GEOS geometry.
|
|
bool | GetVertexIntersection (OGRGeometry *geometry, OGRGeometry *buffer, wxArrayRealPoints &points) |
| Search if a vertex intersect the passed geometry.
|
|
bool | GetBeginEndInterseciton (OGRGeometry *geometry, OGRGeometry *buffer, wxArrayRealPoints &points) |
| Search if a Begin/End vertex intersect the passed geometry.
|
|
wxString | GetMinimalBoundingRectangleAsHtml (int iprecision=2) |
| Get Minimal bounding rectangle as html.
|
|