https://github.com/minorua/Qgis2threejs
Revision e3a629998bdbb21fa1ef4e0ae9f167cc8b4c922a authored by Minoru Akagi on 19 January 2015, 06:24:05 UTC, committed by Minoru Akagi on 19 January 2015, 06:24:05 UTC
save:
 qgis.utils.plugins["Qgis2threejs"].saveProperties(json_filepath)

load:
 qgis.utils.plugins["Qgis2threejs"].loadProperties(json_filepath)
1 parent 5f10361
Raw File
Tip revision: e3a629998bdbb21fa1ef4e0ae9f167cc8b4c922a authored by Minoru Akagi on 19 January 2015, 06:24:05 UTC
add load/saveProperties() for restoring export settings for test
Tip revision: e3a6299
__init__.py
# -*- coding: utf-8 -*-
"""
/***************************************************************************
 Qgis2threejs
                                 A QGIS plugin
 export terrain data, map canvas image and vector data to web browser
                             -------------------
        begin                : 2013-12-21
        copyright            : (C) 2013 Minoru Akagi
        email                : akaginch@gmail.com
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/
 This script initializes the plugin, making it known to QGIS.
"""

def classFactory(iface):
    # load Qgis2threejs class from file Qgis2threejs
    from qgis2threejs import Qgis2threejs
    return Qgis2threejs(iface)
back to top