QGIS API Documentation 3.40.0-Bratislava (b56115d8743)
Loading...
Searching...
No Matches
Functions
qgsjsonutils.cpp File Reference
#include "qgsjsonutils.h"
#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 518 of file qgsjsonutils.cpp.

◆ parseLineStringFromGeoJson()

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

Definition at line 440 of file qgsjsonutils.cpp.

◆ parsePointFromGeoJson()

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

Definition at line 419 of file qgsjsonutils.cpp.

◆ parsePolygonFromGeoJson()

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

Definition at line 490 of file qgsjsonutils.cpp.