26. Figure produced with QGIS 3.10 using Open Street Map (a, b) and google (c, d). Full size image Measurement sites Measurements were conducted at the main festival site, see Figs. 5c and 6a, and at the Soviet War Memorial in Treptower Park, an urban park in Berlin. The Treptower ...
da.setEllipsoid( s.value("/qgis/measure/ellipsoid","WGS84").toString() );doublemeasure = da.measureLine( QgsPoint( composerMapRect.xMinimum(), composerMapRect.yMaximum() ), QgsPoint( composerMapRect.xMaximum(), composerMapRect.yMinimum() ) );if( mUnits == Feet ) { measure /=0.3048; ...
# 需要导入模块: from qgis.core import QgsProcessingModelAlgorithm [as 别名]# 或者: from qgis.core.QgsProcessingModelAlgorithm importsetGroup[as 别名]#...这里部分代码省略...self.hasChanged =Truedefupdate_variables_gui(self):variables_scope = QgsExpressionContextScope(self.tr('Model Variables'))for...
# 需要导入模块: from qgis.gui import QgsMessageBar [as 别名]# 或者: from qgis.gui.QgsMessageBar importpushMessage[as 别名]classSaveQueryDialog(QDialog, Ui_ui_save_query):# Signal new querysignal_new_query_successful = pyqtSignal( name='signal_new_query_successful')def__init__( self, pa...
fieldScale, rotation, renderContext.rasterScaleFactor(), opacity );if( !oldName.isNull() ) { symbol->setNamedPointSymbol( oldName ); } }// Line, polygonelseif( mGeometryType != QGis::Point ) {if( !selected ) { QPen pen = symbol->pen(); ...
开发者ID:Bo33o,项目名称:QGIS,代码行数:101,代码来源:qgsrasterrendererregistry.cpp 示例4: identifyMessage ▲点赞 1▼ QList<QgsMapToolIdentify::IdentifyResult> QgsMapToolIdentify::identify(intx,inty, IdentifyMode mode, QList<QgsMapLayer*> layerList, LayerType layerType ) ...
connect( treeView->selectionModel(), &QItemSelectionModel::currentRowChanged,this, &QgsArcGisServiceSourceSelect::treeWidgetCurrentRowChanged ); } 开发者ID:CS-SI,项目名称:QGIS,代码行数:59,代码来源:qgsarcgisservicesourceselect.cpp 示例14: QStringLiteral ...
# 需要导入模块: from qgis.gui import QgsMapCanvas [as 别名]# 或者: from qgis.gui.QgsMapCanvas importsetRenderFlag[as 别名]classMirrorMap(QWidget):def__init__(self, parent, iface):QWidget.__init__(self, parent) self.setAttribute(Qt.WA_DeleteOnClose) ...
QGIS_APP.initQgis()globalPARENTifPARENTisNone: PARENT = QWidget()globalCANVASifCANVASisNone: CANVAS =QgsMapCanvas(PARENT) CANVAS.resize(QSize(400,400))returnQGIS_APP, CANVAS, PARENT 开发者ID:gltn,项目名称:stdm,代码行数:28,代码来源:utils.py ...
r.scale( scaleFactor, center ); setExtent( r ); refresh(); } 开发者ID:stevenmizuno,项目名称:QGIS,代码行数:7,代码来源:qgsmapcanvas.cpp 示例2: layoutReleaseEvent ▲点赞 5▼ voidQgsLayoutViewToolZoom::layoutReleaseEvent( QgsLayoutViewMouseEvent *event ) ...