[GRASS-user] Copy raster map from one unprojected location to another

Johannes Radinger johannesradinger at gmail.com
Thu Mar 19 04:31:35 PDT 2015


Doesn't work either with the -o flag:

r.unpack --o
input=/media/grassgis_data/tmp/tmp_Cele_raster_pack/my_raster.pack
output=my_raster
Traceback (most recent call last):
  File "/usr/local/grass-7.0.1svn/scripts/r.unpack", line 146, in <module>
    sys.exit(main())
  File "/usr/local/grass-7.0.1svn/scripts/r.unpack", line 104, in main
    proj=True):
  File "/usr/local/grass-7.0.1svn/etc/python/grass/script/core.py", line
863, in compare_key_value_text_files
    checkunits=units)
  File "/usr/local/grass-7.0.1svn/etc/python/grass/script/core.py", line
790, in _text_to_key_value_dict
    text = open(filename, "r").readlines()
IOError: [Errno 2] No such file or directory: 'PROJ_INFO'


On Thu, Mar 19, 2015 at 12:26 PM, Nikos Alexandris <nik at nikosalexandris.net>
wrote:

> On 19.03.2015 13:15, Johannes Radinger wrote:
>
>  Thanks for your ideas.
>> I tried the pack-unpack approach. However, it seems that I can unpack and
>> import the raster map,
>> as there is no PROJ-file associated with that map. Here the error when
>> unpacking the *.pack that
>> was created in an unprojected location.
>>
>
>  r.unpack --overwrite
>> input=/media/grassgis_data/tmp/tmp_Cele_raster_pack/my_raster.pack
>> output=my_raster
>>
>
> Try to use the "-o   Override projection check (use current location's
> projection)" flag.
>
> Nikos
>
> [rest deleted]
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20150319/a14f53a6/attachment.html>


More information about the grass-user mailing list