{ "X3D": {
    "encoding":"UTF-8",
    "@profile":"Immersive",
    "@version":"3.0",
    "@xsd:noNamespaceSchemaLocation":"https://www.web3d.org/specifications/x3d-3.0.xsd",
    "JSON schema":"https://www.web3d.org/specifications/x3d-4.0-JSONSchema.autogenerated.json",
    "head": {
        "meta": [
          {
            "@name":"title",
            "@content":"GeoLocation3.x3d"
          },
          {
            "@name":"description",
            "@content":"GeoLocation node that can automatically determine elevation and orientation to place object on terrain"
          },
          {
            "@name":"creator",
            "@content":"Brian Hittner, CPT, U.S.A."
          },
          {
            "@name":"translator",
            "@content":"Xeena VRML importer with significant manual corrections"
          },
          {
            "@name":"created",
            "@content":"7 October 2003"
          },
          {
            "@name":"translated",
            "@content":"7 October 2003"
          },
          {
            "@name":"modified",
            "@content":"28 November 2019"
          },
          {
            "@name":"generator",
            "@content":"X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit"
          },
          {
            "@name":"generator",
            "@content":"Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html"
          },
          {
            "@name":"identifier",
            "@content":"https://www.web3d.org/x3d/content/examples/Savage/Tools/Terrain/GeoLocation3.x3d"
          },
          {
            "@name":"license",
            "@content":"../../license.html"
          },
          {
            "@name":"translated",
            "@content":"26 March 2026"
          },
          {
            "@name":"generator",
            "@content":"X3dToJson.xslt, https://www.web3d.org/x3d/stylesheets/X3dToJson.html"
          },
          {
            "@name":"reference",
            "@content":"X3D JSON encoding: https://www.web3d.org/wiki/index.php/X3D_JSON_Encoding"
          }
        ]
    },
    "Scene": {
        "-children":[
          { "WorldInfo":
            {
              "@title":"GeoLocation3.x3d"
            }
          },
          { "ProtoDeclare":
            {
              "@name":"GeoLocation3",
              "ProtoInterface": {
                  "field": [
                    {
                      "@name":"geoOrigin",
                      "@accessType":"initializeOnly",
                      "@type":"SFNode",
                      "-children":[
                        {
                          "#comment":"NULL"
                        }
                      ]
                    },
                    {
                      "@name":"geoSystem",
                      "@accessType":"initializeOnly",
                      "@type":"MFString",
                      "@value":["GD","WE"]
                    },
                    {
                      "@name":"geoCoords",
                      "@accessType":"initializeOnly",
                      "@type":"SFString"
                    },
                    {
                      "@name":"children",
                      "@accessType":"initializeOnly",
                      "@type":"MFNode"
                    },
                    {
                      "@name":"autoElevation",
                      "@accessType":"initializeOnly",
                      "@type":"SFBool",
                      "@value":false
                    },
                    {
                      "@name":"autoSurfaceOrientation",
                      "@accessType":"initializeOnly",
                      "@type":"SFBool",
                      "@value":false
                    },
                    {
                      "@name":"debug",
                      "@accessType":"initializeOnly",
                      "@type":"SFBool",
                      "@value":false
                    },
                    {
                      "@name":"set_geoCoords",
                      "@accessType":"inputOnly",
                      "@type":"SFString"
                    },
                    {
                      "@name":"geoCoords_changed",
                      "@accessType":"outputOnly",
                      "@type":"SFString"
                    },
                    {
                      "@name":"set_autoElevation",
                      "@accessType":"inputOnly",
                      "@type":"SFBool"
                    },
                    {
                      "@name":"autoElevation_changed",
                      "@accessType":"outputOnly",
                      "@type":"SFBool"
                    },
                    {
                      "@name":"set_autoSurfaceOrientation",
                      "@accessType":"inputOnly",
                      "@type":"SFBool"
                    },
                    {
                      "@name":"autoSurfaceOrientation_changed",
                      "@accessType":"outputOnly",
                      "@type":"SFBool"
                    }
                  ]
              },
              "ProtoBody": {
                  "-children":[
                    { "Transform":
                      {
                        "@DEF":"GEOLOC_NODE",
                        "IS": {
                            "connect": [
                              {
                                "@nodeField":"children",
                                "@protoField":"children"
                              }
                            ]
                        }
                      }
                    },
                    { "Script":
                      {
                        "@DEF":"GEOLOC_SCRIPT",
                        "@directOutput":true,
                        "@url":["GeoLocation3.class","https://www.web3d.org/x3d/content/examples/Savage/Tools/Terrain/GeoLocation3.class"],
                        "field": [
                          {
                            "@name":"geoOrigin",
                            "@accessType":"initializeOnly",
                            "@type":"SFNode",
                            "-children":[
                              {
                                "#comment":"initialization node (if any) goes here"
                              }
                            ]
                          },
                          {
                            "@name":"geoSystem",
                            "@accessType":"initializeOnly",
                            "@type":"MFString"
                          },
                          {
                            "@name":"geoCoords",
                            "@accessType":"initializeOnly",
                            "@type":"SFString"
                          },
                          {
                            "@name":"transform",
                            "@accessType":"initializeOnly",
                            "@type":"SFNode",
                            "-children":[
                              { "Transform":
                                {
                                  "@USE":"GEOLOC_NODE"
                                }
                              }
                            ]
                          },
                          {
                            "@name":"autoElevation",
                            "@accessType":"initializeOnly",
                            "@type":"SFBool"
                          },
                          {
                            "@name":"autoSurfaceOrientation",
                            "@accessType":"initializeOnly",
                            "@type":"SFBool"
                          },
                          {
                            "@name":"debug",
                            "@accessType":"initializeOnly",
                            "@type":"SFBool"
                          },
                          {
                            "@name":"set_geoCoords",
                            "@accessType":"inputOnly",
                            "@type":"SFString"
                          },
                          {
                            "@name":"geoCoords_changed",
                            "@accessType":"outputOnly",
                            "@type":"SFString"
                          },
                          {
                            "@name":"set_autoElevation",
                            "@accessType":"inputOnly",
                            "@type":"SFBool"
                          },
                          {
                            "@name":"autoElevation_changed",
                            "@accessType":"outputOnly",
                            "@type":"SFBool"
                          },
                          {
                            "@name":"set_autoSurfaceOrientation",
                            "@accessType":"inputOnly",
                            "@type":"SFBool"
                          },
                          {
                            "@name":"autoSurfaceOrientation_changed",
                            "@accessType":"outputOnly",
                            "@type":"SFBool"
                          }
                        ],
                        "IS": {
                            "connect": [
                              {
                                "@nodeField":"geoOrigin",
                                "@protoField":"geoOrigin"
                              },
                              {
                                "@nodeField":"geoSystem",
                                "@protoField":"geoSystem"
                              },
                              {
                                "@nodeField":"geoCoords",
                                "@protoField":"geoCoords"
                              },
                              {
                                "@nodeField":"autoElevation",
                                "@protoField":"autoElevation"
                              },
                              {
                                "@nodeField":"autoSurfaceOrientation",
                                "@protoField":"autoSurfaceOrientation"
                              },
                              {
                                "@nodeField":"debug",
                                "@protoField":"debug"
                              },
                              {
                                "@nodeField":"set_geoCoords",
                                "@protoField":"set_geoCoords"
                              },
                              {
                                "@nodeField":"geoCoords_changed",
                                "@protoField":"geoCoords_changed"
                              },
                              {
                                "@nodeField":"set_autoElevation",
                                "@protoField":"set_autoElevation"
                              },
                              {
                                "@nodeField":"autoElevation_changed",
                                "@protoField":"autoElevation_changed"
                              },
                              {
                                "@nodeField":"set_autoSurfaceOrientation",
                                "@protoField":"set_autoSurfaceOrientation"
                              },
                              {
                                "@nodeField":"autoSurfaceOrientation_changed",
                                "@protoField":"autoSurfaceOrientation_changed"
                              }
                            ]
                        }
                      }
                    }
                  ]
              }
            }
          }
        ]
    }
  }
}