I asked a question here:
https://stackoverflow.com/questions/14790463/qgis-copy-layer-in-c-plugin
and I was suggested to find the library which provides QgsOgrProvider::createEmptyLayer()
function.
Can anyone help me with this?
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It only takes a minute to sign up.
Sign up to join this communityI asked a question here:
https://stackoverflow.com/questions/14790463/qgis-copy-layer-in-c-plugin
and I was suggested to find the library which provides QgsOgrProvider::createEmptyLayer()
function.
Can anyone help me with this?
Try to find libogrprovider.so
and link against it:
g++ code_out.o -o yourapp -L/path/to/qgis/PlugIns/qgis/ -logrprovider