6. Ruby

  • 6.1. Ruby tutorial

    Ruby is an open source server-side scripting language for object-oriented programming, designed and developed by Matsum...
    2025-10-25 13:33:58 UTC
  • 6.3. Ruby environment

    6.3.1. Local environment settings # If you want to set up the environment for the Ruby programming language, please r...
    2025-10-25 13:34:02 UTC
  • 6.4. Ruby installation-Linux

    The steps for installing Ruby on a Linux machine are listed below. Note: before installing, make sure you have root permis...
    2025-10-25 13:34:05 UTC
  • 6.5. Ruby installation-Windows

    The steps for installing Ruby on a Windows machine are listed below. Note: you may have different versions available durin...
    2025-10-25 13:33:59 UTC
  • 6.6. Ruby Chinese coding

    In the previous section, we have learned how to use Ruby to output “Hello, World!”. There is no problem with English, but if...
    2025-10-25 13:34:06 UTC
  • 6.7. Ruby command line options

    Ruby is typically run from the command line as follows: $ ruby [ options ] [.] [ programfile ] [ arguments ... ] The ...
    2025-10-25 13:34:03 UTC
  • 6.8. Ruby environment variable

    The Ruby interpreter uses the following environment variables to control its behavior. The ENV object contains a list of all...
    2025-10-25 13:34:03 UTC
  • 6.9. Ruby syntax

    Let’s write a simple Ruby program. All Ruby file extensions are .rb . so, put the following source code in test.rb i...
    2025-10-25 13:34:02 UTC
  • 6.10. Ruby data type

    In this section, we will introduce you to the basic data types of Ruby. The data types supported by Ruby include basic Num...
    2025-10-25 13:33:58 UTC
  • 6.11. Ruby classes and objects

    Ruby is a perfect object-oriented programming language. Features of an object-oriented programming language include: Dat...
    2025-10-25 13:34:04 UTC
  • 6.12. Ruby class case

    The following will create a file named Customer to declare two methods:the Ruby class: display_details :This met...
    2025-10-25 13:34:03 UTC
  • 6.13. Ruby variable

    A variable is a storage location that holds any data that can be used by anyprogram. Ruby supports five types of variables...
    2025-10-25 13:34:00 UTC
  • 6.14. Ruby operator

    Ruby supports a rich set of operators. Most operators are actually method calls. For example, a + b are interpreted ...
    2025-10-25 13:33:59 UTC
  • 6.15. Ruby comment

    Comments are comment lines within Ruby code that are ignored at run time. A single-line comment begins with the # character ...
    2025-10-25 13:34:05 UTC
  • 6.17. Ruby cycle

    Loops in Ruby are used to execute the same block of code several times. Thissection details all the loop statements supporte...
    2025-10-25 13:34:00 UTC
  • 6.18. Ruby method

    The Ruby method is similar to functions in other programming languages. The Ruby method is used to bundle one or more duplic...
    2025-10-25 13:34:04 UTC
《地理信息系统原理、技术与方法》  97

最近几年来,地理信息系统无论是在理论上还是应用上都处在一个飞速发展的阶段。 GIS被应用于多个领域的建模和决策支持,如城市管理、区划、环境整治等等,地理信息成为信息时代重要的组成部分之一; “数字地球”概念的提出,更进一步推动了作为其技术支撑的GIS的发展。 与此同时,一些学者致力于相关的理论研究,如空间感知、空间数据误差、空间关系的形式化等等。 这恰好说明了地理信息系统作为应用技术和学科的两个方面,并且这两个方面构成了相互促进的发展过程。