A string of text that acts as a command, typed at an interface prompt.

learn more… | top users | synonyms

0
votes
0answers
4 views

Ossim-orthoigen command line program crashing upon opening W7

I have installed OSSIM via the windows installer (ossim-osgeo_x64_1_8_12-4.exe) found at http://download.osgeo.org/ossim/installers/windows/ I ran the installer on a 64 bit , 8 GB Ram, W7 machine. ...
1
vote
0answers
38 views

Unable to call GDAL functionalities from Python

I am trying to call GDAL functionalities from the following script I made in the past. import os, fnmatch from subprocess import call call("dir", shell=True) # define the variables inFolder= ...
3
votes
1answer
79 views

ogr2ogr window closes after termination

I'm using ogr2ogr for export from PostGIS to FileGDB. It works fine, but after termination the command window closes immediately. Is there a way to keep it open and get some kind of message or report ...
1
vote
1answer
31 views

ArcGIS 10.2.2 Mxdperfstat

I'm trying to test an mxd with mxdperfstat. I want to test several scales, but as soon as I provide a scale over 500, the program simply quits. No Error warning. It just stops working. If I provide ...
1
vote
1answer
19 views

How to add grass64 to PATH variable

I recently installed GRASS 6.4 in a Unix environment. The application opens fine, but I would like to also be able to run the GUI from the command line. The tutorials says that the grass64 command ...
2
votes
1answer
120 views

Convert GeoPDF with GDAL

I'm attempting to convert a USGS US Topo GeoPDF in Windows. I'm using GDAL 1.11.1. My initial attempts were with this Python script, which automates the process by feeding a command to the Windows ...
1
vote
1answer
100 views

Need to quickly know (CLI) whether point lies inside polygon

in my app I am parsing an XML from the web which gives me such coordinate info: I am able to use my app to get a pair of float values like 14.871381 and 50.065968. I do not want any complicate ...
2
votes
2answers
70 views

Adding dynamic text to ArcGIS map documents

I've been making some map layouts and just noticed this command: < dyn type="document" property="name"/>.mxd It make possible to change automatically my current file name: ...
1
vote
0answers
37 views

How to run cmd prompt in the background and show progress bar

I am warping files using gdal. Since I have numerous files to warp how will I run the cmd in background and just have a progress bar to indicate the percentage in warping the files? Because when I ...
1
vote
1answer
110 views

How to interact with GRASS GIS vector map topology “level/layers” from terminal/command line?

Is there anybody out there that can maybe assist in the most simplest form of code to call on command line to "export topology" (which is level 2 information in GRASS) as separate spatial data, as ...
0
votes
0answers
16 views

Running ILWIS commands from DOS (cmd) prompt?

ILWIS commands from DOS (cmd) prompt I am able to run MapDrainageNetworkExtraction from ILWIS's command prompt interface. However, I now want to run it from a DOS (cmd) prompt like this: C:\Program ...
1
vote
0answers
38 views

Contour command in Spatial Ecology's GME

Has anyone been successful using the contour command from GME (Geospatial Modelling Environment)? I'm trying to create contours out of a DEM. I know you can do it in ArcGIS with 3D or Spatial Analyst ...
1
vote
0answers
39 views

Command-line tool for writing a print-composer to file?

I'm looking for a command-line tool, to write a previously generated print-composer to an image-file. The following resources I already saw: Related questions (1, 2) A gist Nevertheless, all them ...
1
vote
2answers
64 views

GRASS GIS: auto-completion fails in commande line

I'm running GRASS GIS 6.4.3. on Win 7, SP1, 64 bit. The path to my grass-DB is: D:\grassdb Within the GRASS GIS Commande Line, if I press the tab-key to auto-complete only folders, files and ...
0
votes
1answer
45 views

How can i store shape file in postgress database as a table using php?

I want to create a table from a shape file in Postgres. To do that, I can run this command in cmd: shp2pgsql -s 4326 -W LATIN1 E:\Any\THA_adm public.test123 | psql -h localhost -d DATA -U postgres -w ...
1
vote
2answers
56 views

how to start qgis with --configpath option on windows

how can I start QGIS on Windows 7 with the --configpath option? I'm used to work with Linux where this procedure is very very simple (just write in a terminal qgis --configpath) with all the options. ...
0
votes
0answers
22 views

Is it possible to compile a grass addon into a commandline app?

As the title says, I'm wondering if it's possible to take the source of a grass add-on and compile it into a commandline app. Or, alternatively, use the add-on in a python program. Basically, I ...
1
vote
0answers
25 views

Can an external application start ArcCatalog.exe and immediately navigate to a specific folder?

I'm looking something similar to explorer's command line switches: explorer.exe /select,c:\examples\condensed\need\obtains\dispute\under\billion\floor or explorer.exe ...
2
votes
3answers
149 views

How to apply a specific Rendering to an Image and export to JPEG?

We have a specific process which generate an interpolated single band 32-bit Float Raster in Erdas Imagine (.IMG) format. This process generates an image every hour. We wish to apply a specific ...
1
vote
2answers
162 views

Osmconvert command-line window closes when I press Return

I am dealing with Open street map Data. I want to convert some of these .o5m files to .osm format so that I can process them in QGIS. So, I have downloaded Osmconvert to run on my Windows XP ...
0
votes
0answers
25 views

QGIS crashes on exit()

Here his my test code import os print("in qgis, quitting") os.sys.exit() When i execute it in QGIS2.0 with line qgis --nologo --code q.py it shows an error on line 3 os.sys.exit() Can you tell me ...
0
votes
1answer
246 views

d.rast problem in GRASS command line

Update#1: @gene, thank you for your reply and I type d.mon in command line, getting a popout GUI look like this: I choose the top three flags(-l, -L, -p), and I got this: And I don't know what to ...
1
vote
1answer
94 views

g.list problem in GRASS command line

I am using GRASS 6.4.3 (installed with osGeo4w), and I have this question: As I type g.list, a function window will pop out, and all functions and results are fine. But when I type g.list rast, I got ...
1
vote
1answer
115 views

libfreetype-6.dll lost when using GRASS command line

Update#1: Following the instruction of Sorin Călinică, I have installed libfreetype-6.dll using the OSGeo4W Network Installer, and the command d.rast can launch successfully. I am using GRASS ...
0
votes
1answer
42 views

grass on ubuntu cannot import globalvar

I installed GRASS GIS 6.4.3 on Ubuntu Precise 12.04 by sudo apt-get install grass grass-doc, as recommended by the Wiki. It runs with the wxpython GUI, but when I use any command (like r.in.gdal or ...
0
votes
0answers
53 views

Loading QGIS and files from Python's use of os.system?

I am trying to open QGIS and load two files using the following code in Python: os.system('qgis D:\data\vector.shp D:\data\raster.tif') However it returns this error message: 'qgis' is not ...
1
vote
0answers
53 views

Command Line FGDC/ISO 19115 Metadata Editor

Are there any metadata editors compliant with ISO 19115 and/or FGDC metadata standards which can work with XML formatted metadata and run solely on the command line? Often times I'm working remotely ...
1
vote
3answers
233 views

How to register as versioned using SDELayer?

This is the normal process using ArcCatalog : I want to automate this process using sdeLayer or any tools - does anybody have an idea as to how to do it? there is an application sdelayer ...
1
vote
1answer
112 views

How to set opacity for GRASS layers using command line?

In the process of learning GRASS, I am finding that I can learn many of the command-line methods that I need for scripting tasks from using the wxGUI, as it conveniently shows most of the underlying ...
3
votes
1answer
126 views

is it possible to project a shapefile to a raster's custom projection with command line gdal/ogr?

I have a raster with a user defined sinusoidal projection and a shapefile in lat/lng coordinates (I believe this is called 'unprojected'?). I'd like to use ogr/gdal's command line utilities to ...