Manipulate shapefile attribute table using R

后端 未结 2 858
日久生厌
日久生厌 2021-02-03 13:09

I\'ve posted this question on the GIS stack exchange, but it\'s not seeing much traffic.

I\'m a GIS user who\'s been using R for stats for a few years, and I\'m excited

2条回答
  •  孤独总比滥情好
    2021-02-03 13:53

    Iam using R for GIS suff for several years now, usually in combination with QGIS. For manipulating attribute tables I usually save my shapes as CSV with the geometry as WKT (you will find the options in the QGIS save-dialog). In the next step I read all my csv(shapes) in R and do my statistics, joining, etc. Finally I write them back to the HDD and load them back into QGIS (no import-dialog needed just drag & drop) and save them as shapefiles.

    HTH, Jo

提交回复
热议问题