Hi,
I exported the geometry to geojson as:

OGRMultiPolygon * poOGRMultiPolygon= (OGRMultiPolygon * ) unionCascaded;
    //
 char * pszJSon= poOGRMultiPolygon->exportToJson();

this generates:
 "type": "MultiPolygon", "coordinates": ....

But.  I need geometrycollection.
How can I do that?

regards

-- 
Ahmet Temiz
Jeoloji Müh.
Afet ve Acil Durum Yönetimi Başkanlığı
Deprem  Dairesi Başkanlığı


________________________

Ahmet Temiz
Geological Eng.

Disaster and Emergency Management
of Presidency
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to