GIS buffer value degree to meters with spatiallite

前端 未结 2 415
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-16 00:43

I am new to Spatialite. I have following query:

select A.* 
from linka as A, pointa as B 
where Contains(Buffer(B.Geometry, 100), A.Geometry)
2条回答
  •  别那么骄傲
    2021-01-16 01:09

    temporary transform your geometry to a metric projection (eg UTM) if i assume your current projection is WGS84 try the following statment

     transform (buffer (transform (B.geometry, #projection), #dist), 4326))
    

    -in #projection: your new projection, eg: 32631 for WGS 84 / UTM zone 31N (choose the projection that fits your Zone)

    -in #dist: distance in meters

    (4326 for WGS84)

提交回复
热议问题