I was looking for a case to easily add points to a layer from coordinates. I my case I often want to quickly add one or a few points manually to an existing layer. I have seen an occasional reference that it would be possible to paste it directly into a layer. It would fit perfectly in my workflow to copy some coordinates in an external application e.g. google maps/osm to paste (ctrl-v) into an existing layer. So I tried pasting the syntax in the two CRS used in my current file:
- "point(571287,6799222)" (CRS: New Amersfoort)
- "point(48.0578195,7.2497044)" (CRS: WGS84)
Than QGIS prompts that features are pasted succesfully:
The problem is that indeed a extra row is added to the table, but no coordinates are actually added. Also when I 'extract' the coordinates in the table field calculator with the functions $x adn $y it appears as null instead of points added in a different way and which are showing or giving an output :
I guess there is something wrong in the syntax but I coul not find any references or guides on what syntax QGIS is expecting. Is there somebody who can provide more background on how this features is supposed to work?
P.s. I know there are different ways of getting points of exact coordinates into Qgis. My question is that apparantly this low-key workflow is supposed to work and I cannot figure out how or found any more info on this.