rgdal

install rgdal on ubuntu 18.04

醉酒当歌 提交于 2020-12-12 04:00:26
问题 I am trying to install rgdal on Ubuntu 18.04. The error message I am having now is: configure: R_HOME: /usr/lib/R configure: CC: gcc -std=gnu99 configure: CXX: g++ -std=gnu++11 configure: C++11 support available configure: rgdal: 1.4-4 checking for /usr/bin/svnversion... no configure: svn revision: 833 checking for gdal-config... /home/kchen/anaconda3/bin/gdal-config checking gdal-config usability... yes configure: GDAL: 2.3.3 checking C++11 support for GDAL >= 2.3.0... yes checking GDAL

Install rgdal library in rstudio - GDALAllRegister not found in libgdal

浪子不回头ぞ 提交于 2020-12-08 15:41:07
问题 I'm trying to install rgdal library in Rstudio (0.97.332), using Ubuntu 12.10 (quantal) and R 2.15.1 (Roasted Marshmallows). I have the following installed regarding gdal in Ubuntu: $ apt-cache search gdal dans-gdal-scripts - GDAL contributed tools by Geographic Information Network of Alaska gdal-bin - Geospatial Data Abstraction Library - Utility programs libgdal-dev - Geospatial Data Abstraction Library - Development files libgdal-doc - Documentation for the Geospatial Data Abstraction

Install rgdal library in rstudio - GDALAllRegister not found in libgdal

懵懂的女人 提交于 2020-12-08 15:31:23
问题 I'm trying to install rgdal library in Rstudio (0.97.332), using Ubuntu 12.10 (quantal) and R 2.15.1 (Roasted Marshmallows). I have the following installed regarding gdal in Ubuntu: $ apt-cache search gdal dans-gdal-scripts - GDAL contributed tools by Geographic Information Network of Alaska gdal-bin - Geospatial Data Abstraction Library - Utility programs libgdal-dev - Geospatial Data Abstraction Library - Development files libgdal-doc - Documentation for the Geospatial Data Abstraction

Install rgdal library in rstudio - GDALAllRegister not found in libgdal

倖福魔咒の 提交于 2020-12-08 15:30:33
问题 I'm trying to install rgdal library in Rstudio (0.97.332), using Ubuntu 12.10 (quantal) and R 2.15.1 (Roasted Marshmallows). I have the following installed regarding gdal in Ubuntu: $ apt-cache search gdal dans-gdal-scripts - GDAL contributed tools by Geographic Information Network of Alaska gdal-bin - Geospatial Data Abstraction Library - Utility programs libgdal-dev - Geospatial Data Abstraction Library - Development files libgdal-doc - Documentation for the Geospatial Data Abstraction

Configure error in rgdal “gdal-config”

瘦欲@ 提交于 2020-06-27 17:10:26
问题 I am currently running some species distribution modelling and richness mapping in R on a linux cluster. In order to run my analyses I need to install rgdal so that the raster function in my modelling package works correctly. I have installed proj4 and gdal already. However when I attempt to install rgdal I get an error message: checking for gdal-config... no no configure: error: gdal-config not found or not executable. ERROR: configuration failed for package 'rgdal' This is the command I

How keep information from shapefile after fortify()

。_饼干妹妹 提交于 2020-06-24 08:23:34
问题 How can I keep polygons's information after shapefile? Let me try to explain: I have a shapefile with this data: > head(mapa@data) ID CD_GEOCODI TIPO CD_GEOCODB NM_BAIRRO CD_GEOCODS NM_SUBDIST CD_GEOCODD NM_DISTRIT CD_GEOCODM NM_MUNICIP NM_MICRO NM_MESO 12228 33679 431490205000133 URBANO 431490205003 Cidade Baixa 43149020500 <NA> 431490205 PORTO ALEGRE 4314902 PORTO ALEGRE PORTO ALEGRE METROPOLITANA DE PORTO ALEGRE 12229 33680 431490205000134 URBANO 431490205003 Cidade Baixa 43149020500 <NA>

How keep information from shapefile after fortify()

浪尽此生 提交于 2020-06-24 08:19:32
问题 How can I keep polygons's information after shapefile? Let me try to explain: I have a shapefile with this data: > head(mapa@data) ID CD_GEOCODI TIPO CD_GEOCODB NM_BAIRRO CD_GEOCODS NM_SUBDIST CD_GEOCODD NM_DISTRIT CD_GEOCODM NM_MUNICIP NM_MICRO NM_MESO 12228 33679 431490205000133 URBANO 431490205003 Cidade Baixa 43149020500 <NA> 431490205 PORTO ALEGRE 4314902 PORTO ALEGRE PORTO ALEGRE METROPOLITANA DE PORTO ALEGRE 12229 33680 431490205000134 URBANO 431490205003 Cidade Baixa 43149020500 <NA>