A shell is a command-line interpreter that provides a traditional user interface for the Unix-like operating systems or environments such as BSD, Linux, Mac OSX and Cygwin.

learn more… | top users | synonyms

0
votes
0answers
25 views

How to merge two rasters when are on the same place

I have two rasters in GRASS GIS. first : raster of DMR, raster picture of relief - created from high values second : raster of buildings where pixels of every building have value of high of this ...
3
votes
1answer
56 views

GDAL can i try to create a workflow?

When i try to compose a workflow im confused to the funcionality of that. I want to create a workflow to execute commands gdal. what syntax I can use if I wanted to create a .bat file? For example ...
1
vote
1answer
44 views

How to create shadows of buildings with r.sunmask?

I need to create image-raster with shadow of relief and shadow of buildings in one. I know how to create shadow of relief but how i can create shadow of buildings with r.sunmask? I dont know how from ...
0
votes
2answers
43 views

Shell/GRASS: Exit loop upon raster value

I am running a loop from a shell script in GRASS GIS 7. Basically, values are subtracted from a raster in each step. I want the script to stop/exit if any of the raster values is 0 or less. Is there a ...
0
votes
1answer
66 views

How to convert SPOT NDVI hdf file to tiff file using gdal_translate command

I have SPOT NDVI images. I want to convert NDVI hdf to tiff. I have used the following code to get the information of hdf file: gdalinfo 20060501_NDVI.HDF I get the following output Driver: ...
2
votes
1answer
106 views

Run OTB commands in OSGeo4W Shell scripts

I am trying to run shell scripts with Orfeo-toolbox commands, and I'm new to all this.... (I'm working in Windows 7). I can type otbcli_ComputeImagesStatistics -il Imagery/P1_10cm1.tif ...
3
votes
2answers
162 views

QGIS GRASS shell commands not working in Yosemite

First time asking a question here. Running GRASS 6.4.3 within QGIS 2.4.0 on Mac OS 10.10 Yosemite. I'm trying to run v.net.iso within the GRASS shell, but the following error is returned every time: ...
2
votes
2answers
91 views

shell script ogr2ogr export

I'm writing a simple script to export postgis data to geojson. The ogr2ogr command works well, but I'm having problems when I'm passing the parameters. #!/bin/bash echo 'enter country code' read ...
2
votes
1answer
65 views

repeating steps in GRASS r.mapcalc

I simply cannot find out the following: I want to repeat a calculation in GRASS GIS several times. Is there a command for r.mapcalc to repeat a calculation x times (similar to this possibility in ...
1
vote
1answer
19 views

Is my code for changing the resolution correct?

I have a raster files of daily minimum temperature (tmin) for the period 1962-2011 at a resolution of 1.125. I need to convert each single day raster file into 0.5 using inverse distance ...
0
votes
0answers
74 views

Run this module in GRASS 6.4.3 command line in Windows 7 or QGIS Grass Module

I have GRASS 6.4.3 running and working in windows. I would like to use this script (http://grasswiki.osgeo.org/wiki/AVHRR) Scroll down to Import to see the code. I have the correct EPSG set but ...
1
vote
0answers
31 views

GRASS 6.4.2 define Geographic boundaries using MSYS

I am working with daily gridded rainfall data of 50 years. The initial data had the extension .nc.gz.tar which I have unzipped using MSYS in GRASS 6.4.2. Now I have 365*50 days of daily data. My ...
1
vote
1answer
110 views

Calling GRASS 6 in GRASS 7 (shell)?

I am running a shell script for batch processing in GRASS 7 (calling it with sh [...sh] in the command line window), which creates a series of rasters through classifications, raster calculator and ...
0
votes
0answers
24 views

Possible to automate Buffer Wizard in ArcGis 10.x by working in the Shell? [duplicate]

I'm trying to automate the Buffer Wizard since I have several large sets of the data that I need to buffer at multiple distances. Doing it by hand will take a long time and be quite tedious, but I've ...
4
votes
1answer
727 views

Converting WMS getmap request to Geotiff

I'm accessing a WMS server that doesn't provide geotiff as one of the format capabilities, but does provide PNG and KMZ. ...
0
votes
2answers
60 views

Making development patterns more efficient with ZSH

A common pattern I find myself encountering is converting a CSV to a projected GeoJSON as described here. That entails 3 steps, and I'd like to get it down to the following: GEOIFY {file} ...
0
votes
1answer
96 views

GRASS has broken my terminal

I'm using GRASS on OS X. After installing GRASS I can no longer open my terminal to a prompt. On opening the terminal, the following line runs by itselt ...
3
votes
1answer
287 views

How to get started with GRASS shell?

I'm a beginner in programming but i have to work with GRASS at work, and do it quickly. I'm completely lost with all the variety of tutorials that are existing and to me, don't look the same...and ...
2
votes
1answer
2k views

How to use QGIS from command line on Windows

I have QGIS running on a windows operating system. I am willing to use QGIS from command line to follow this procedure. Unfortunately, i cannot manage to have qgis declared in the command windows. I ...
3
votes
1answer
258 views

st_clip and gdal_translate: “Error browsing database for PostGIS Raster properties” - Why?

Im using shell-script, postgis2.0 and gdal for trying to clip raster apart, using an overlapping raster and a the_geom-object. At first I create a view to clip the overlapping part of the raster. It ...
4
votes
1answer
323 views

Personal shell launcher for PyQGIS

I have changed a shell launcher found at http://inasafe.linfiniti.com/html/id/developer-docs/platform_windows.html as to fit my wish: setting the system environment variables to be able to use PyQGIS ...
3
votes
1answer
489 views

How to run OSgo4W shell script on Windows?

I have a lot of DEMs that I want to use to create hillshades, slopes and color relief from and would like to automate the processes using a shell script within OSgeo4W shell. Here is the code I used ...
1
vote
1answer
2k views

ImportError: 'No module named pyproj'

im running mac os X with native python 2.6.1 install . Later today installed GDAL complete pkg, and added the program to the shell path on the terminal with the folowing cmd : ~: echo "export ...
1
vote
1answer
353 views

Shell script commands

I have this shell script: #!/bin/sh r.mapcalc water = 120 d.rast water i=1 while [ $i != 100 ] do n=1 while [ $n != 10 ] do r.mapcalc < water.mapcalc d.rast ...