Terrain painting - How to?

The ‘proper’ way would be to use a LandscapeLayerCoords node and set the mapping scale equal to your landscapes size, e.g. 505, 1009, 2017.