Skip to content

Poco::PostgreSQL problem with PostGIS #949

@astlin

Description

@astlin

I'm using PostGIS extension to manage geospatial data and encounted problem calling PostGIS functions:

string sql = "SELECT ST_AsGeoJson(geom) FROM objects";
Poco::Data::RecordSet rs(*(_pSession), sql);

Throws exception "Data type not supported."

geom field is of text type so do ST_AsGeoJson returns. any help?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions