how can I define the CRS for a memory layer from the qgis project settings
vpoi = QgsVectorLayer("Point", "vectpoi", "memory") feature = QgsFeature() feature.setGeometry(QgsGeometry.fromPoint(QgsPoint(10,10))) provider = vpoly.dataProvider() ... and how can I define the CRS from another loaded layer?
thanks a lot
أكثر...
vpoi = QgsVectorLayer("Point", "vectpoi", "memory") feature = QgsFeature() feature.setGeometry(QgsGeometry.fromPoint(QgsPoint(10,10))) provider = vpoly.dataProvider() ... and how can I define the CRS from another loaded layer?
thanks a lot
أكثر...