OpenSiv3D  v0.6.5
C++20 framework for creative coding
s3d::GeoJSONFeatureCollection Class Reference

GeoJSON FeatureCollection オブジェクト More...

#include <GeoJSON.hpp>

Inherits s3d::GeoJSONBase.

Public Member Functions

SIV3D_NODISCARD_CXX20 GeoJSONFeatureCollection (const JSON &object, FlipY flipY=FlipY::Yes)
 FeatureCollection オブジェクトを作成します。 More...
 
const Array< GeoJSONFeature > & getFeatures () const noexcept
 GeoJSON Feature の一覧を返します。 More...
 
- Public Member Functions inherited from s3d::GeoJSONBase
SIV3D_NODISCARD_CXX20 GeoJSONBase ()=default
 デフォルトコンストラクタ More...
 
SIV3D_NODISCARD_CXX20 GeoJSONBase (const JSON &object)
 GeoJSON オブジェクトを作成します。 More...
 
const Array< double > & getBBox () const noexcept
 バウンディングボックスデータを返します。 More...
 
GeoJSONType getType () const noexcept
 GeoJSON type を返します。 More...
 

Friends

void Formatter (FormatData &formatData, const GeoJSONFeatureCollection &featureCollection)
 

Additional Inherited Members

- Protected Attributes inherited from s3d::GeoJSONBase
Array< double > m_bbox
 バウンディングボックス More...
 
GeoJSONType m_type = GeoJSONType::Feature
 GeoJSON type. More...
 

Detailed Description

GeoJSON FeatureCollection オブジェクト

https://tools.ietf.org/html/rfc7946#section-3.3

Constructor & Destructor Documentation

◆ GeoJSONFeatureCollection()

SIV3D_NODISCARD_CXX20 s3d::GeoJSONFeatureCollection::GeoJSONFeatureCollection ( const JSON object,
FlipY  flipY = FlipY::Yes 
)

FeatureCollection オブジェクトを作成します。

Parameters
objectJSON データ

Member Function Documentation

◆ getFeatures()

const Array<GeoJSONFeature>& s3d::GeoJSONFeatureCollection::getFeatures ( ) const
noexcept

GeoJSON Feature の一覧を返します。

Returns
GeoJSON Feature の一覧

Friends And Related Function Documentation

◆ Formatter

void Formatter ( FormatData formatData,
const GeoJSONFeatureCollection featureCollection 
)
friend

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