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
2answers
27 views

GRASS iterate over multiple shape files using g.region

I have a shapefile called Ahmednagar. I have daily rainfall data from 1997 till 2008. I want to sum total rainfall from 152 till 273 day for each year for 1997 till 2008. This is how I do it. g....
1
vote
0answers
44 views

OS X Yosemite: copy / paste into shell GRASS 6.4.4. within QGIS 2.14.0

I want to know How to copy/paste into GRASS 6.4.4. shell within QGIS 2.14.0. I'm working with OS X Yosemite and the right mouse button doesn't work neither shortcut (cmd+c/cmd+v)
4
votes
1answer
36 views

How to resolve error when launching OSeo4W Shell: Windows cannot find .bat file?

I downloaded and installed OSGeo4W to use ogr2ogr, but the the program OSGeo4W will not run. On launching the shell, I receive an error stating the .bat file cannot be found in specified directory (...
0
votes
0answers
34 views

Is there an automated way of downloading the natural color .TIF images for Landsat 8?

I know that .jpg natural color images can be downloaded from AWS. But, .jpg doesn't contain the world metadata along with it.
1
vote
1answer
37 views

QGis's Geoferencer plugin isn't able to paste text that has been added to clipboard via mac's “pbcopy” terminal command [closed]

I recently wrote a little script that used mac's pbcopy shell command to dump some text into my clipboard for use in the QGis program. For some reason I'm not able to paste stuff that has been pbcopy'...
2
votes
1answer
43 views

GRASS PyWPS Create a new vector map from user selected polygon

My goal is to select a specific polygon in which the user clicked and make a new vector map that contains only the selected polygon. I see two ways: Convert XY coordinate from literal input to a ...
0
votes
2answers
1k views

What is OSGeo4W?

I have been using GIS for a few years now (ArcGIS and MapInfo) but only since I've started using QGIS have I come across OSGeo4W, as there is an option to download it on the QGIS website. I have tried ...
1
vote
0answers
90 views

TransCAD file format for matrix data

I've never used TransCAD before. I have what I believe to be a TransCAD matrix file called data.mtx which I would like to be able to convert to some other file formats. I would prefer to do this at ...
3
votes
1answer
78 views

Redirect remote shell command output to ArcMap geoprocessing tool display?

I have a Python script that runs a shell command on a remote server (using the Fabric module). When I run the tool in the debugger, I see all the output scrolling, as the command can take hours to ...
0
votes
0answers
124 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
74 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
207 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
58 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 ...
1
vote
1answer
287 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
419 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 Imagery/...
3
votes
2answers
339 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
258 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
118 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 r....
1
vote
1answer
24 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 interpolation....
1
vote
0answers
35 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
148 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
27 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 ...
6
votes
1answer
1k 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. http://tds.marine.rutgers.edu:8081/ncWMS/wms?SERVICE=WMS&REQUEST=...
0
votes
2answers
62 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
110 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 '/Applications/GRASS-6.4.app/Contents/MacOS/...
3
votes
1answer
460 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
4k 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
347 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
396 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 ...
5
votes
1answer
1k 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
3k 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 PATH=/...
1
vote
1answer
390 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 ...