OpenCPN Partial API docs
Loading...
Searching...
No Matches
shapefile_basemap.h File Reference

Shapefile basemap. More...

#include <functional>
#include <future>
#include <map>
#include <thread>
#include <vector>
#include "gl_headers.h"
#include <wx/gdicmn.h>
#include "ShapefileReader.hpp"
#include "poly_math.h"
#include "ocpndc.h"
#include "std_filesystem.h"

Go to the source code of this file.

Classes

class  LatLonKey
 A latitude/longitude key for 1x1 or 10x10 degree grid tiles. More...
 
struct  std::hash< LatLonKey >
 
class  ShapeBaseChart
 Represents a basemap chart based on shapefile data. More...
 
class  ShapeBaseChartSet
 Manages a set of ShapeBaseChart objects at different resolutions. More...
 

Typedefs

typedef std::vector< wxRealPoint > contour
 
typedef std::vector< contour > contour_list
 

Enumerations

enum  Quality {
  crude , low , medium , high ,
  full
}
 Basemap quality. More...
 

Variables

ShapeBaseChartSet gShapeBasemap
 Global instance.
 

Detailed Description

Shapefile basemap.

Definition in file shapefile_basemap.h.

Typedef Documentation

◆ contour

typedef std::vector<wxRealPoint> contour

Definition at line 42 of file shapefile_basemap.h.

◆ contour_list

typedef std::vector<contour> contour_list

Definition at line 43 of file shapefile_basemap.h.

Enumeration Type Documentation

◆ Quality

enum Quality

Basemap quality.

Enumerator
crude 

Planetary scale dataset.

low 

Low resolution.

medium 

Medium resolution.

high 

High resolution.

full 

Full resolution of the OSM dataset.

Huge dataset, the performance on slow machines is low

Definition at line 106 of file shapefile_basemap.h.

Variable Documentation

◆ gShapeBasemap

ShapeBaseChartSet gShapeBasemap
extern

Global instance.

global instance

Global instance.

Definition at line 407 of file shapefile_basemap.h.