Tag Info

New answers tagged

0

Thanks Jim! That was the problem. I went back and adjusted all the field names by removing the spaces between and was able to load the data without any problem :)


1

There are two options deppending on your .xyz datasets: 1) .xyz datasets are in grid structure - the easy way Since GDAL supports .xyz files - http://www.gdal.org/frmt_xyz.html you can use the: GDAL/OGR -> GDAL: Import Raster module. That module supports multifiles selection so it'll do the job. The target cellsize is automaticaly derived from ...


0

Are you sure that the original "initialDEM.adf" is indeed in the EPSG:31370 coordinate system? Instead of importing with the "-o" flag, try to first create a new region that matches the import DEM by running: r.in.gdal -c input="initialDEM.adf" location="belgium_lambert" Then rerun r.in.gdal without the "-o" flag. BTW, what are you trying to do in the ...


1

Tom Hengl told me this: Set the 'check.module.exists = FALSE' and 'warn=FALSE' -> this usually does the trick (http://www.rdocumentation.org/packages/RSAGA/functions/rsaga.geoprocessor). And Alexander Brenning told me that: did you notice the warning message, Warning message: In rsaga.geoprocessor(lib, module, param = list(h = ""), env = env, : This ...


1

I use this free software, Spatial Data Manager. I found that it is the only free software that can load spatial data directly between the major RDBMS. You can filter your data during the export operation. Cheers.


0

None of these functions return a colored image, black or otherwise. This library(raster) s <-raster("random.TIF") s Returns a RasterLayer object (or perhaps a RasterBrick if there are multiple layers in "random.TIF"). This class (type of object) is defined in the raster package. You can visualize it with plot(s) This library(rgdal) x <- ...


1

As @Jeffrey states, readOGR from the rgdal library imports a CRS if there is one embedded in the shapefile. You can check by (example using a shp I've been playing with): proj4string(india) # from the sp package # [1] "+proj=longlat +datum=WGS84 +no_defs +ellps=WGS84 +towgs84=0,0,0" If this returns NA you can specify a CRS with: proj4string(india) <- ...


2

I think that you have to configure postGIS library as extension in your database. Here an example.


2

I would suggest reading and plotting the data separately. Since you are likely reading different feature classes (points, lines, polys) it will be difficult to define the plotting symbology in a function. However, given your question here is an example that illustrates translating your workflow into a function. The example function does not limit the ...



Top 50 recent answers are included