Questions tagged [powershell]

Windows PowerShell is a task automation and configuration management framework from Microsoft, consisting of a command-line shell and associated scripting language built on the .NET Framework.

Filter by
Sorted by
Tagged with
0
votes
1answer
26 views

Batch conversion of .hgt files to .tif using Powershell returns filename.hgt.tif files

I have a folder which contains DEM in .hgt. I want to convert them via GDAL. So to convert a single file, it's gdal_translate -of 'GTiff' N16E122.hgt N16E122.tif. To do it in Powershell, I figured it'...
2
votes
1answer
51 views

Running proj/cs2cs command in Powershell

I'm reading a book where it says to run the following in the commandline, I think he used Linux. Therefore the command doesn't run in Windows Powershell cs2cs +proj=latlong +datum=NAD83 +to +proj=utm +...
0
votes
0answers
41 views

How to merge all raster files in a folder using gdal_merge?

I have DEMs in a folder like this If I run gdal_merge -o out.tif *.hgt, it says ERROR 4: `/*.hgt' does not exist in the file system, and is not recognized as a supported dataset name. A similar ...
1
vote
0answers
24 views

How to run topojson from Powershell?

I have already installed node.js and used it to install topojson via npm install topojson. But when I run command like topojson input.geojson -o output.topojson, I get the familiar error of topojson :...
0
votes
1answer
49 views

GDAL version different if called from Windows Powershell and shows "ERROR 1: Can't load requested DLL 193: %1 is not a valid Win32 application."

I have two GDAL installation, one from the OSGEO4W installer and one from Tamas Szekeres’ Windows binaries. I set the necessary variables according to the article. I open Powershell and ran gdalinfo --...
1
vote
0answers
13 views

Cannot provide inputs for saga:difference using qgis_process-qgis (command line qgis)

I'm using the following command to find the difference between two Sentinel 2 rasters using saga:difference tool in Powershell (works fine in standard QGIS3): ./qgis_process-qgis run saga:difference --...
2
votes
2answers
89 views

Executing standalone Python script for QGIS processing from within PowerShell script

Is there a way to execute either a python script or pyhton commands from within a powershell script to do some QGIS geoprocessing on a Windows 10 machine (64 bit)? I have a powershell script that ...
1
vote
1answer
750 views

Python setup to run ArcPy scripts

I am trying to set up Python so that I can execute ArcPy scripts outside of ArcMap. I'm new to Python, however I have previously been able to execute Pythons scripts from the cmd prompt (PowerShell), ...
0
votes
1answer
325 views

Invoking-command in powershell 2012 (remotely) for ArcPy errors but local cmd or python shell work

I've written a data update script that works really well, it deletes a target feature class and uses the feature class to feature class geoprocessing tool to copy data from SQL 2012 into it's ...