Re: [Qgis-user] selecting a point that is using point displacement?

2014-04-13 Thread Andreas Neumann
Hi Ben,

You can select them at their original point location. In the symbology
setting you can display the original point. While editing, you should
enable this symbology setting to display the center point. If you need
to select an individual one, you can do so by using the attribute table
and the associated selection tools.

Andreas

Am 11.04.2014 12:46, schrieb benjamin.don...@kimitoon.fi:
 Hi all, if I have, say, 3 points that are shown using the point displacement 
 tool (i.e., they are not shown exactly where they actually are), how on earth 
 do I select them for editing / moving / deleting? Using the normal Select 
 single feature-tool does not work, probably because I am pressing the symbol 
 and not the (invisible) place where the point actually is.  I am going to 
 need to edit or move around 100 points individually, so I really need to be 
 able to select them.
 
 Regards Ben
 
 
 
 
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user
 

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] qgis 2.20 on win 8

2014-04-13 Thread Alessio Degioannini

Hello,
I've just installed qgis valmiera on windows 8,
it seems work OK, but the digitize toolbar doesn't appear (the other 
toolbars yes...).

I've disabled/enabled this toolbar in the settings, without success...
Someone can help me?
Thank you.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Cell Statistics in QGIS

2014-04-13 Thread Leo Kris Palao
Hi ALL QGIS users,

Good day!

I want to calculate the sum of the raster layers, but I want to ignore the
no data values in the calculation. This is similar to cell statistics
(spatial analyst) enable the *Ignore NoData in calculations (optional)* in
ArcGIS.

So far I am doing all my process in QGIS (batch processing is great in the
processing toolbox). This is the only step that I am using ArcGIS because I
cannot find the right tool in QGIS.

Thanks in advance for any help.

-Leo
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] argument 1 has unexpected type error when try parse xml

2014-04-13 Thread Suryo Miles
I try to parse xml from a string source, I make code to open xml from drive
and read it then parse it and show in QlineEdit

This code I use:

From PyQt4 import QtCore, QtGui
from ui_testparse import Ui_testparse
import xml.etree.ElementTree as ETree
# create the dialog for zoom to point


class testparseDialog(QtGui.QDialog):
def __init__(self):
QtGui.QDialog.__init__(self)
# Set up the user interface from Designer.
self.ui = Ui_testparse()
self.ui.setupUi(self)

opendata = self.ui.btnCari
QtCore.QObject.connect(opendata,
QtCore.SIGNAL('clicked()'),self.openxml)

def openxml(self, event=None):

#open dialog
openfile = QtGui.QFileDialog.getOpenFileName(self, 'Open File',
'*.xml')

self.ui.lineLokasi.setText(openfile)

#call XML data
self.isiData(openfile)

def isiData(self, nmsatu):
#open teks with read mode
openteks = open(nmsatu, 'r').read()

self.ui.textXml.setText(openteks)

#Parse XML from Above
self.parsenow(openteks)

def parsenow(self, parse):
element = ETree.fromstring(parse)
xml_obj = ETree.ElementTree(element)
for title_obj in xml_obj.findall('./{gmd#}dateStamp/{gco#}Date'):
print xml_obj
self.ui.lineSkala.setText(xml_obj)

But I get error message like this

Traceback (most recent call last):
  File
C:\Users\Mr.Pakde/.qgis2/python/plugins\testparse\testparsedialog.py,
line 47, in openxml
self.isiData(openfile)
  File
C:\Users\Mr.Pakde/.qgis2/python/plugins\testparse\testparsedialog.py,
line 56, in isiData
self.parsenow(openteks)
  File
C:\Users\Mr.Pakde/.qgis2/python/plugins\testparse\testparsedialog.py,
line 63, in parsenow
self.ui.lineSkala.setText(xml_obj)
TypeError: QLineEdit.setText(QString): argument 1 has unexpected type
'ElementTree'

Python version:
2.7.4 (default, Apr  6 2013, 19:54:46) [MSC v.1500 32 bit (Intel)]


Someone has say to me i must do something like xml_obj.text to get the
string but i dont know how

can someone help me??
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user