Fishnet 2.0.1
Framework for Graph-Based Analysis of GIS Vector Data
Loading...
Searching...
No Matches
fishnet Namespace Reference

Namespaces

namespace  geometry
 
namespace  graph
 
namespace  math
 
namespace  test
 
namespace  util
 
namespace  VectorIO
 

Classes

class  AbstractGISFile
 
class  AbstractRasterFile
 
class  AbstractVectorFile
 
class  BFSClustering
 
struct  ClusterResult
 
class  DBSC
 
class  DBSCAN
 
struct  DBSCBuilder
 
class  Either
 
class  Feature
 Feature implementation storing a geometry and associated attributes. More...
 
class  FieldCounter
 
class  FieldDefinition
 Field definition implementation. Defines name, id and data type of a field. More...
 
class  GDALInitializer
 Singleton to initialize GDAL. More...
 
class  GeoPackage
 GeoPackage handle. More...
 
class  GeoPackageReader
 
class  GeoPackageWriter
 
class  GeoTiff
 GeoTiff handle implementation. More...
 
class  GISConverter
 
class  GISFactory
 
class  OGRFieldAdapter
 Static Adaptor class for OGRFields. More...
 
class  OGRLayerAdapter
 Reads and writes a VectorLayer whose geometries are backed by the OGR data source. More...
 
class  Option
 
class  Shapefile
 Shapefile handle implementation. More...
 
class  ShapefileReader
 
class  ShapefileWriter
 
class  VectorLayer
 Stores the geometries, wrapped in features (which hold the field values / attributes) Keeps track of the fields available for the features Stores a SpatialReference. More...
 
class  WGS84Ellipsoid
 Utility class for computing distances and areas in metric units for GIS data using the WGS84 Spatial Reference System. More...
 

Concepts

concept  ClusterAlgorithm
 
concept  GISFile
 Interface for GISFile types. Implementation have to inherit from AbstractGISFile and have to printable to the console.
 
concept  VectorGISFile
 Interface for all Vector GISFile types.
 
concept  RasterGISFile
 Interface for all Raster GISFile types.
 
concept  VectorLayerReader
 Interface for reading a VectorLayer from a file.
 
concept  VectorLayerWriter
 
concept  IFieldDefinition
 Defines an Interface for FieldDefinitions, which can be used as generic parameter.
 
concept  FieldValueType
 

Typedefs

template<fishnet::graph::Graph G>
using ClusterAlgorithm_t = std::function< ClusterResult< typename G::node_type >(const G &)>
 
using FieldDefinitionVariant = fishnet::__impl::FieldDefinitionTypes< FieldType >::type
 
using FieldType = std::variant< double, float, int, long, size_t, long long, std::string, const char * >
 

Enumerations

enum class  GISFileType { SHAPEFILE , GEOTIFF , GEOPACKAGE , VECTOR }
 

Functions

template<typename T >
 Option (std::optional< T > opt) -> Option< T >
 
template<typename T >
 Option (T value) -> Option< T >
 
uint64_t normalizeToShpFileIntField (std::integral auto number) noexcept
 
static fishnet::Option< GISFileType > getGISFileType (const std::filesystem::path &path)
 
static const char * getExtension (GISFileType type)
 

Variables

static std::array< GISFileType, 4 > SUPPORTED_VECTOR_FORMATS {GISFileType::SHAPEFILE,GISFileType::GEOPACKAGE}
 
static std::array< GISFileType, 4 > SUPPORTED_RASTER_FORMATS {GISFileType::GEOTIFF}
 

Typedef Documentation

◆ ClusterAlgorithm_t

template<fishnet::graph::Graph G>
using fishnet::ClusterAlgorithm_t = typedef std::function<ClusterResult<typename G::node_type>(const G &)>

◆ FieldDefinitionVariant

using fishnet::FieldDefinitionVariant = typedef fishnet::__impl::FieldDefinitionTypes<FieldType>::type

◆ FieldType

using fishnet::FieldType = typedef std::variant<double,float,int,long,size_t,long long,std::string,const char *>

Enumeration Type Documentation

◆ GISFileType

enum class fishnet::GISFileType
strong
Enumerator
SHAPEFILE 
GEOTIFF 
GEOPACKAGE 
VECTOR 

Function Documentation

◆ getExtension()

static const char * fishnet::getExtension ( GISFileType  type)
static

◆ getGISFileType()

static fishnet::Option< GISFileType > fishnet::getGISFileType ( const std::filesystem::path &  path)
static

◆ normalizeToShpFileIntField()

uint64_t fishnet::normalizeToShpFileIntField ( std::integral auto  number)
noexcept

◆ Option() [1/2]

template<typename T >
fishnet::Option ( std::optional< T >  opt) -> Option< T >

◆ Option() [2/2]

template<typename T >
fishnet::Option ( T  value) -> Option< T >

Variable Documentation

◆ SUPPORTED_RASTER_FORMATS

std::array<GISFileType,4> fishnet::SUPPORTED_RASTER_FORMATS {GISFileType::GEOTIFF}
static

◆ SUPPORTED_VECTOR_FORMATS

std::array<GISFileType,4> fishnet::SUPPORTED_VECTOR_FORMATS {GISFileType::SHAPEFILE,GISFileType::GEOPACKAGE}
static