Sudo add-apt-repository ppa:marutter/c2d4uĪnother way (that did not work for me, but it might work on you). I googled it and this terminal command did work on my machine running Ubuntu 13.10. It has something to do with libgdal1-dev and libproj-dev files and their version which is corresponding to the Linux kernel version. Installing rgdal on UbuntuĪs I have said, installing rgdal on Linux was not as smooth as installing the other spatial packages, say maptools, geoR, or sp. After installation, call the package using In my case, the installation went well in Mac (running Snow Leopard) and also Windows 7, but it needed a workaround to install it on my Linux machine (Ubuntu 13.10). This is the basic R package that deals with spatial analysis. Now, to do a coordinate conversion, you would need rgdal package. I'll talk about this later, since I'm still figuring out how to use it to make variograms and trend maps. Many R packages in spatial section only read this projection system (correct me if I'm wrong). So If you do spatial analysis using R, you would need to set your coordinate into easting and northing system. But after several trial and errors, it's really not that hard. I am kind of (forced) to do the spatial analysis in R :-). This bit is part of my work in modeling the hydrology of Cikapundung Catchment. How to convert lat-long coordinates to UTM (easting-northing) How to convert lat-long coordinates to UTM (easting-northing) 1.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |