[GRASS-dev] problem in detecting the projection information from the raster layers when using the batch import

I want to import raster layers from https://www.york.ac.uk/environment/research/kite/resources/ (latlon/WGS84) into a location/mapset (also latlon/WGS84). This is no problem when importing one by one (Source type = File), but when I try to import all raster layers in a directory (Source type = Directory), I am getting the message that "Projection of following layers do not match with projection of current location" (listing all layersin the directory). So there seems to be a problem in detecting the projection information from the raster layers when using the batch import.

On Fri, Jun 24, 2016 at 2:26 PM, Paulo van Breugel
<p.vanbreugel@gmail.com> wrote:

I want to import raster layers from
https://www.york.ac.uk/environment/research/kite/resources/ (latlon/WGS84)
into a location/mapset (also latlon/WGS84). This is no problem when
importing one by one (Source type = File), but when I try to import all
raster layers in a directory (Source type = Directory), I am getting the
message that "Projection of following layers do not match with projection of
current location" (listing all layersin the directory). So there seems to be
a problem in detecting the projection information from the raster layers
when using the batch import.

Do all of them come with the *identical* projection string?

Markus

--
Markus Neteler
http://www.mundialis.de - free data with free software
http://grass.osgeo.org
http://courses.neteler.org/blog

On 26-06-16 01:25, Markus Neteler wrote:

On Fri, Jun 24, 2016 at 2:26 PM, Paulo van Breugel
<p.vanbreugel@gmail.com> wrote:

I want to import raster layers from
https://www.york.ac.uk/environment/research/kite/resources/ (latlon/WGS84)
into a location/mapset (also latlon/WGS84). This is no problem when
importing one by one (Source type = File), but when I try to import all
raster layers in a directory (Source type = Directory), I am getting the
message that "Projection of following layers do not match with projection of
current location" (listing all layersin the directory). So there seems to be
a problem in detecting the projection information from the raster layers
when using the batch import.

Do all of them come with the *identical* projection string?

Yes, I think so, they are all latlon (wgs84) layers. From gdalinfo:

Size is 2049, 2123
Coordinate System is:
GEOGCS["WGS 84",
     DATUM["WGS_1984",
         SPHEROID["WGS 84",6378137,298.257223563,
             AUTHORITY["EPSG","7030"]],
         AUTHORITY["EPSG","6326"]],
     PRIMEM["Greenwich",0],
     UNIT["degree",0.0174532925199433],
     AUTHORITY["EPSG","4326"]]
Origin = (-24.859999999999999,42.460000000000001)
Pixel Size = (0.041659346022450,-0.041658031088083)

Markus