SET_OPT
Hello, i have a huge issue with SET_OPT command. I want to set the configuration of area unit from sqKM to be sq meters
Thia what i put in my script
SET_OPT AREA_UNITS="Square Meters"
And it always give me error warning unknown parameter "SET_OPT" and warning unknown parameter "AREA UNITS". It also happen in distance unit command too.
Please help me
Thia what i put in my script
SET_OPT AREA_UNITS="Square Meters"
And it always give me error warning unknown parameter "SET_OPT" and warning unknown parameter "AREA UNITS". It also happen in distance unit command too.
Please help me
Tagged:
Comments
-
Btw i am using gm17
-
Hello,
The fact that you are seeing a message that SET_OPT is an unknown parameter suggests that the line before your SET_OPT might end in a "\<new line>", which tells Global Mapper that the command is continued on the next line. As a result, Global Mapper thinks that your SET_OPT is a parameter in the previous command, not a separate command.
Cheers,
Bob -
Hello bob, thanks for the answer.
Can you give me example how to do this command and 2nd question i want to add measurement attribute to file AREA_CUT in sq M
So i wrote a script like this
ADD_MEASURE_ATTRS FILENAME=AREA_CUT AREA_UNITS="SQUARE METERS" and still give me error exactly like in that situation.
Is there any mistake in my script writing or else?
Thanks bob -
forticella said:Hello bob, thanks for the answer.
Can you give me example how to do this command and 2nd question i want to add measurement attribute to file AREA_CUT in sq M
So i wrote a script like this
ADD_MEASURE_ATTRS FILENAME=AREA_CUT AREA_UNITS="SQUARE METERS" and still give me error exactly like in that situation.
Is there any mistake in my script writing or else?
Thanks bobSET_OPT AREA_UNITS="Square Meters"
Note that the value of the FILENAME parameter must be either the name that you see in the Control Center, or the full path and file name used to import the file.
ADD_MEASURE_ATTRS FILENAME="AREA_CUT" AREA_UNITS="SQUARE METERS"
If you are still having trouble, please attach your entire script file (you will have to change the extension to .txt instead of .gms to be able to upload it to the forum.) It is difficult to determine what might be going wrong by looking at one line at a time.
Cheers,
Bob
Categories
- 12.7K All Categories
- 5.6K Features Discussion
- 342 Downloading Imagery
- 1.3K Elevation Data
- 380 Georeferencing Imagery Discussion
- 628 GM Script Language
- 53 User Scripts
- 113 GPS Features
- 414 Projection Questions
- 819 Raster Data
- 1.3K Vector Data
- 6.6K Support
- 177 Announcement and News
- 908 Bug Report
- 558 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 562 Other Discussion
- 129 GIS Data Sources
- 27 Global Mapper Showcase
- 233 How I use Global Mapper
- 107 Global Mapper Forum Website