Tagged Questions

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

learn more… | top users | synonyms

1
vote
1answer
18 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
81 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
92 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
61 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
32 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
84 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
12 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
30 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
33 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
61 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
42 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
48 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
21 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
141 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
134 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
20 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
222 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
84 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
110 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
39 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
50 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
218 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
105 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
124 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 ...