QGIS API Documentation 3.41.0-Master (fda2aa46e9a)
Loading...
Searching...
No Matches
Functions
qgsjsonutils.cpp File Reference
#include "qgsjsonutils.h"
#include "moc_qgsjsonutils.cpp"
#include "qgsfeatureiterator.h"
#include "qgsogrutils.h"
#include "qgsgeometry.h"
#include "qgsvectorlayer.h"
#include "qgsrelation.h"
#include "qgsrelationmanager.h"
#include "qgsproject.h"
#include "qgsexception.h"
#include "qgslogger.h"
#include "qgsfieldformatterregistry.h"
#include "qgsfieldformatter.h"
#include "qgsapplication.h"
#include "qgsfeatureid.h"
#include "qgslinestring.h"
#include "qgsmultipoint.h"
#include "qgsmultilinestring.h"
#include "qgspolygon.h"
#include "qgsmultipolygon.h"
#include <QJsonDocument>
#include <QJsonArray>
#include <QTextCodec>
#include <nlohmann/json.hpp>
Include dependency graph for qgsjsonutils.cpp:

Go to the source code of this file.

Functions

std::unique_ptr< QgsAbstractGeometryparseGeometryFromGeoJson (const json &geometry)
 
std::unique_ptr< QgsLineStringparseLineStringFromGeoJson (const json &coords)
 
std::unique_ptr< QgsPointparsePointFromGeoJson (const json &coords)
 
std::unique_ptr< QgsPolygonparsePolygonFromGeoJson (const json &coords)
 

Function Documentation

◆ parseGeometryFromGeoJson()

std::unique_ptr< QgsAbstractGeometry > parseGeometryFromGeoJson ( const json &  geometry)

Definition at line 519 of file qgsjsonutils.cpp.

◆ parseLineStringFromGeoJson()

std::unique_ptr< QgsLineString > parseLineStringFromGeoJson ( const json &  coords)

Definition at line 441 of file qgsjsonutils.cpp.

◆ parsePointFromGeoJson()

std::unique_ptr< QgsPoint > parsePointFromGeoJson ( const json &  coords)

Definition at line 420 of file qgsjsonutils.cpp.

◆ parsePolygonFromGeoJson()

std::unique_ptr< QgsPolygon > parsePolygonFromGeoJson ( const json &  coords)

Definition at line 491 of file qgsjsonutils.cpp.