I'm using qgis 3 and generate a lot of layers types, but in any case I don't find the lat lon values of the points. I have tried to use the attributes table calculator (added fields $x and $y but it showed me big value, I guess in meters and not the lat lon).
您可以使用图层的字段计算器创建虚拟字段并完成经度
x(transform($geometry, layer_property( 'CHEF_LIEU20160610124929878', 'crs'), 'EPSG:4326'))
Run Code Online (Sandbox Code Playgroud)
和纬度
y(transform($geometry, layer_property( 'CHEF_LIEU20160610124929878', 'crs'), 'EPSG:4326'))
Run Code Online (Sandbox Code Playgroud)
其中“CHEF_LIEU20160610124929878”是您的图层标识符
您将看到一个完整的演示来演示如何做到这一点
| 归档时间: |
|
| 查看次数: |
5907 次 |
| 最近记录: |