Skip to content

Execute Strabo from Command Line

Yao-Yi Chiang edited this page May 25, 2017 · 1 revision

Strabo Command API

Strabo.core.exe (double X, Double Y, string LayerName, string intermediateFilePath, string outputFilePath, int numThreads)

  • Strabo.core.exe -> the Strabo command line executable file

  • Input X: x1 in the above image (in meters)

  • Input Y: y1 in the above image (in meters)

  • LayerName: the target layer name for text recognition

  • intermediateFilePath: the path to an intermediate folder for storing temporary files

  • outputFilePath: the path to the output folder

  • numThreads: maximum number of threads allowed for this recognition task

Example: Strabo.core.exe 598300 194200 nls-cs-1920 D:\Strabo.Core\bin\Debug\Imagestest D:\Strabo.Core\bin\Debug\Imagestest\Data 4

Output In the output folder, there are two output files: GeoJsonByPixel.txt (output in image coordinates) and GeoJsonByRef.txt (output in geocoordnates). These files can be viewed in QGIS version 2.6 plus.

Change WMS Address *Open Strabo.Core.exe.config *Edit the value of key URL to use your own WMS address

Tutorial Video

Clone this wiki locally