<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Möri,
<blockquote
 cite="mid:H00002e403a84684.1225816539.srsofaioi6145.ktso.ch@MHS"
 type="cite">
  <meta http-equiv="Content-Type" content="text/html;">
  <title>Scalix message content</title>
  <style type="text/css">
<!--
.Normal {  text-align: left; text-indent:0pt; margin-top:0pt; margin-bottom:0pt; font-family: Arial; font-size: 12pt; }
.Default_Paragraph_Font {font-family: Arial; color: Black; background-color: white ; font-size: 12pt; font-weight: normal;  font-style: normal; font-variant: normal; vertical-align: normal; text-decoration: none;}
div.ltTOCtitle { font-family: Verdana; font-size: 8pt; font-weight: bold; text-align: center;}
div.ltTOCl1 { font-family: Verdana; font-size: 8pt; font-weight: bold; margin-left:32pt; text-indent:-32pt;}
div.ltTOCl2 { font-family: Verdana; font-size: 8pt; font-weight: bold; margin-left:40pt; text-indent:-32pt;}
div.ltTOCl3 {  font-family: Verdana; font-size: 8pt; font-weight: bold; margin-left:48pt; text-indent:-32pt;}
div.ltTOCl4 { font-family: Verdana; font-size: 8pt; font-weight: bold; margin-left:56pt; text-indent:-32pt;}
div.ltTOCl5 { font-family: Verdana; font-size: 8pt; font-weight: bold; margin-left:64pt; text-indent:-32pt;}
div.ltTOCl6 { font-family: Verdana; font-size: 8pt; font-weight: bold; margin-left:72pt; text-indent:-32pt;}
--></style>
  <div class="Normal"><span style="font-size: 10pt;">First: I'd like to
have a
possibility to move a vertex numerical to a coordinate. Something like
a dialog
showing the coordinates of the vertex and let me change
them.</span><br>
  </div>
</blockquote>
Although it's not a plugin, the following commented code in the python
interpreter will work:<br>
<br>
def move_point():<br>
# need this to create the dialog<br>
  from PyQt4.QtGui import *<br>
# this is the currently selected layer<br>
  layer = iface.mapCanvas().currentLayer()<br>
# this is the currently selected feature, if more than one is selected,
only the first is used<br>
  feature = layer.selectedFeatures()[0]<br>
# this is used to get the point coordinates<br>
  point = feature.geometry().asPoint()<br>
# this is the input dialog<br>
  input = QInputDialog.getText( iface.mainWindow(), "Move Point
Feature", "Enter New Coordinates as 'xcoord,ycoord'", <br>
  QLineEdit.Normal, str( point.x() ) + "," + str( point.y() ))<br>
# now we translate the later by the distance between the original
point, and the user specified point<br>
  layer.translateFeature( feature.featureId(), input[0].split( "," )[ 0
].toDouble()[ 0 ] - point.x(), input[ 0 ].split( "," )[ 1 ].toDouble()[
0 ] - point.y() )<br>
# we have to update the extents of the layer so it knows about the
change<br>
  layer.updateExtents()<br>
# don't know if this is required...<br>
  QgsMapLayerRegistry.instance().addMapLayer(layer)<br>
# now refresh the map canvas<br>
  iface.mapCanvas().refresh()<br>
<br>
All you have to do, is paste this code into the interpreter exactly as
is. Then, whenever you want to move a point, select the layer, and
point you want to move, toggle editing, and the type: move_point() into
the console. A simple dialog will come up with the current coordinates,
and you just have to replace these with your new coordinates, easy!<br>
<br>
There is absolutely no error checking, but if all is set up right, it
works like a charm! This is set up for preview1 API, but you could
alter it for use on trunk or older version if need be... It doesn't
move individual vertices (for lines or polygons) as is, but could
probably easily be altered to do so.<br>
<br>
<blockquote
 cite="mid:H00002e403a84684.1225816539.srsofaioi6145.ktso.ch@MHS"
 type="cite">
  <div class="Normal"><span style="font-size: 10pt;">2nd: It would be
great to have
something to add a new attribute column (at least for shapefiles)
inside qgis (I
guess these is quite complex for all possible formats).</span></div>
  <br>
</blockquote>
See Alex' answer<br>
<br>
Hope that helps,<br>
<br>
Carson<br>
<br>
<br>
</body>
</html>