OpendTect  7.0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
GeoJSONWriter Class Reference

XML Writer. More...

Inheritance diagram for GeoJSONWriter:
[legend]

Public Member Functions

 GeoJSONWriter ()
 
 ~GeoJSONWriter ()
 
bool close () override
 
uiString errMsg () const override
 
BufferString getExtension () override
 
void setElemName (const char *nm)
 
void setStream (const BufferString &) override
 
void setSurveyName (const char *nm)
 
bool writeLine (const RefObjectSet< const Pick::Set > &) override
 
bool writeLine (const TypeSet< Coord > &, const char *nm=0) override
 
bool writePoint (const Coord &, const char *nm=0) override
 
bool writePoint (const LatLong &, const char *nm=0) override
 
bool writePoint (const RefObjectSet< const Pick::Set > &) override
 
bool writePoints (const TypeSet< Coord > &, const BufferStringSet &nms) override
 
bool writePolygon (const RefObjectSet< const Pick::Set > &) override
 
bool writePolygon (const TypeSet< Coord > &, const char *nm=0) override
 
bool writePolygon (const TypeSet< Coord3 > &, const char *nm=0) override
 
- Public Member Functions inherited from GISWriter
virtual ~GISWriter ()
 
void coordConverter (TypeSet< Coord > &crdset)
 
void coordConverter (TypeSet< Coord3 > &crdset)
 
uiString errMsg ()
 
ConstRefMan< Coords::CoordSystemgetCoordSys ()
 
bool isOK () const
 
void setCoordSys (Coords::CoordSystem *crs)
 
void setProperties (const GISWriter::Property &)
 
od_ostreamstrm ()
 
const od_ostreamstrm () const
 
uiString successMsg ()
 

Protected Member Functions

bool open (const char *fnm)
 
bool writeGeometry (BufferString, const RefObjectSet< const Pick::Set > &)
 
bool writeGeometry (BufferString, const TypeSet< Coord > &, const BufferStringSet &)
 
bool writeGeometry (BufferString, const TypeSet< Coord3 > &, const BufferStringSet &)
 
- Protected Member Functions inherited from GISWriter
 GISWriter ()
 

Protected Attributes

BufferString elemnm_
 
uiString errmsg_
 
OD::GeoJsonTreegeojsontree_
 
BufferString survnm_
 
- Protected Attributes inherited from GISWriter
ConstRefMan< Coords::CoordSystemcoordsys_
 
ConstRefMan< Coords::CoordSysteminpcrs_
 
Property properties_
 
od_ostreamstrm_ = nullptr
 

Additional Inherited Members

- Public Attributes inherited from GISWriter
RefObjectSet< const Pick::Setpicks_
 

Detailed Description

XML Writer.

<>

Constructor & Destructor Documentation

◆ GeoJSONWriter()

GeoJSONWriter::GeoJSONWriter ( )

◆ ~GeoJSONWriter()

GeoJSONWriter::~GeoJSONWriter ( )

Member Function Documentation

◆ close()

bool GeoJSONWriter::close ( )
overridevirtual

Reimplemented from GISWriter.

◆ errMsg()

uiString GeoJSONWriter::errMsg ( ) const
inlineoverridevirtual

Implements GISWriter.

◆ getExtension()

BufferString GeoJSONWriter::getExtension ( )
inlineoverridevirtual

Implements GISWriter.

◆ open()

bool GeoJSONWriter::open ( const char *  fnm)
protected

◆ setElemName()

void GeoJSONWriter::setElemName ( const char *  nm)
inline
Parameters
nmbefore open()

◆ setStream()

void GeoJSONWriter::setStream ( const BufferString )
overridevirtual

Implements GISWriter.

◆ setSurveyName()

void GeoJSONWriter::setSurveyName ( const char *  nm)
inline
Parameters
nmbefore open()

◆ writeGeometry() [1/3]

bool GeoJSONWriter::writeGeometry ( BufferString  ,
const RefObjectSet< const Pick::Set > &   
)
protected

◆ writeGeometry() [2/3]

bool GeoJSONWriter::writeGeometry ( BufferString  ,
const TypeSet< Coord > &  ,
const BufferStringSet  
)
protected

◆ writeGeometry() [3/3]

bool GeoJSONWriter::writeGeometry ( BufferString  ,
const TypeSet< Coord3 > &  ,
const BufferStringSet  
)
protected

◆ writeLine() [1/2]

bool GeoJSONWriter::writeLine ( const RefObjectSet< const Pick::Set > &  )
overridevirtual

Implements GISWriter.

◆ writeLine() [2/2]

bool GeoJSONWriter::writeLine ( const TypeSet< Coord > &  ,
const char *  nm = 0 
)
overridevirtual

Implements GISWriter.

◆ writePoint() [1/3]

bool GeoJSONWriter::writePoint ( const Coord ,
const char *  nm = 0 
)
overridevirtual

Implements GISWriter.

◆ writePoint() [2/3]

bool GeoJSONWriter::writePoint ( const LatLong ,
const char *  nm = 0 
)
overridevirtual

Implements GISWriter.

◆ writePoint() [3/3]

bool GeoJSONWriter::writePoint ( const RefObjectSet< const Pick::Set > &  )
overridevirtual

Implements GISWriter.

◆ writePoints()

bool GeoJSONWriter::writePoints ( const TypeSet< Coord > &  ,
const BufferStringSet nms 
)
overridevirtual

Implements GISWriter.

◆ writePolygon() [1/3]

bool GeoJSONWriter::writePolygon ( const RefObjectSet< const Pick::Set > &  )
overridevirtual

Implements GISWriter.

◆ writePolygon() [2/3]

bool GeoJSONWriter::writePolygon ( const TypeSet< Coord > &  ,
const char *  nm = 0 
)
overridevirtual

Implements GISWriter.

◆ writePolygon() [3/3]

bool GeoJSONWriter::writePolygon ( const TypeSet< Coord3 > &  ,
const char *  nm = 0 
)
overridevirtual

Implements GISWriter.

Member Data Documentation

◆ elemnm_

BufferString GeoJSONWriter::elemnm_
protected

◆ errmsg_

uiString GeoJSONWriter::errmsg_
protected

◆ geojsontree_

OD::GeoJsonTree* GeoJSONWriter::geojsontree_
protected

◆ survnm_

BufferString GeoJSONWriter::survnm_
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024