I have coordinates and points from that coordinates. So what do I need to do to show point numbers on the map?
It's my second day with QGIS
labelingqgis
I have coordinates and points from that coordinates. So what do I need to do to show point numbers on the map?
It's my second day with QGIS
Best Answer
Making the ids:
Open the attributes table
from the pop-up menu.Open Field Calculator
button (last on the right - abacus icon)Create a new field
is checked (it should be by default). Call the field 'Id' (or something) - you can accept the defaults of Integer, width 10.Functions List
section, expandRecord
(little plus sign next to it) and double click on$rownum
. This will add $rownum to the Expressions section.You now have id's based on the row number - you can follow a similar procedure to make Ids based on something else or manually edit them etc.
Next you need to label the points. Right-click on the points layer and select
Properties
(or double-click on the layer). Go to the labels section and in the drop-down menu at the top, select Id. Explore the labeling options to see how to adjust the font, placement etc. You could also skip the step of making ids and just label using $rownum - I just like explicit ids.