[GRASS-dev] Inclusion of additional files with add-on

Helmut Kudrnovsky hellik at web.de
Wed Aug 16 01:36:24 PDT 2017


Moritz Lennert wrote
> On 16/08/17 00:48, Steven Pawley wrote:
>> This seems to be an issue on windows that is related to r.tileset not 
>> r.terrain.texture. Infact on windows I can't get r.tileset to function 
>> at all on a windows system, but it works on linux:
>> 
>> r.tileset sourceproj="+proj=tmerc +lat_0=0 +lon_0=-115 +k=0.9992 
>> +x_0=500000 +y_0=0 +no_defs +a=6378137 +rf=298.257222101 
>> +towgs84=0.000,0.000,0.000 +to_meter=1"
>> 
>> Traceback (most recent call last):
>>    File
>> "C:\OSGEO4~1\apps\grass\grass-7.3.svn/scripts/m.proj.py
>> <http://m.proj.py>",
>> line 308, in 
> <module>
>>      main()
>>    File
>> "C:\OSGEO4~1\apps\grass\grass-7.3.svn/scripts/m.proj.py
>> <http://m.proj.py>",
>> line 243, in main
>>      inf = file(infile)
>> IOError: [Errno 13] Permission denied: 'c:\\users\\cb2dd\\ap
>> pdata\\local\\temp\\grass7-cb2dd-10432\\tmpovmbzm'
>> ERROR: cs2cs failed
> 
> IIUC, this means that the call to m.proj in r.tileset has failed:
> 
> Could someone try if m.proj works on Windows ?

C:\>v.out.ascii bridges | m.proj -o input=-

and

m.proj -o input=D:\wd\testepsg\coor.txt                                         
81d37'10.19915"W|36d35'10.7323"N|1.000
81d37'47.06273"W|36d35'1.19866"N|2.000
81d33'45.90899"W|36d34'47.26688"N|3.000

works here with

System Info                                                                     
GRASS version: 7.3.svn                                                          
GRASS SVN revision: r71384                                                      
Build date: 2017-08-11                                                          
Build platform: x86_64-w64-mingw32                                              
GDAL: 2.2.1                                                                     
PROJ.4: 4.9.3                                                                   
GEOS: 3.5.0                                                                     
SQLite: 3.17.0                                                                  
Python: 2.7.5                                                                   
wxPython: 2.8.12.1                                                              
Platform: Windows-8-6.2.9200 (OSGeo4W) 

> IOError: [Errno 13] Permission denied: 'c:\\users\\cb2dd\\ap
> pdata\\local\\temp\\grass7-cb2dd-10432\\tmpovmbzm'

maybe there is some issue with the temporary file as input for cs2cs, but I
can't find where ...



-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Inclusion-of-additional-files-with-add-on-tp5331342p5331585.html
Sent from the Grass - Dev mailing list archive at Nabble.com.


More information about the grass-dev mailing list