X3D Model Documentation: newGeospatialScene.x3d

  1  <?xml version="1.0" encoding="UTF-8"?>
  2  <!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "https://www.web3d.org/specifications/x3d-3.3.dtd">
  3  <X3D profile='Immersive' version='3.3 xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.3.xsd'>
  4       <head>
  5            <component level='1name='Geospatial'/>
  6            <meta name='titlecontent='newGeospatialScene.x3d'/>
  7            <meta name='creatorcontent='Don Brutzman'/>
  8            <meta name='createdcontent='23 May 2000'/>
  9            <meta name='modifiedcontent='26 August 2023'/>
 10            <meta name='descriptioncontent='Sample default scene which shows syntax and provides default relationships among Geospatial nodes.'/>
 11            <meta name=' warning content=' Empty nodes are provided as informational exampls and fail various diagnostic tests '/>
 12            <meta name='identifiercontent='https://www.web3d.org/x3d/content/examples/Basic/Geospatial/newGeospatialScene.x3d'/>
 13            <meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
 14            <meta name='licensecontent='../license.html'/>
 15       </head>
<!--

<!-- -->

<!-- to top Index for DEF nodes: DefaultGeoOrigin, EmptyGeoElevationGrid, ExampleGeoSnippet1, ExampleGeoSnippet2, GeoInlineReplacedByInline
-->
 16       <Scene>
 17            <!-- ExternProtoDeclare statements for Geospatial nodes are no longer needed for backwards compatibility for VRML 97, since X3dToVrml97.xsl now handles that task. -->
 18            <!-- This scene shows example Geospatial node relationships in a scene graph. -->
 19            <WorldInfo info='"WorldInfo contains generic information or metadata about a model, not about the georeferenced information."title='newGeospatialScene.x3d'/>
 20            <GeoMetadata containerField='children'   url=' "https://exampleResource.com/ExternalMetadataDescription.x3d" '>
 21                 <!-- original GeoMetadata summary='"title" "example title" "description" "example description"' -->
 22                 <MetadataSet name='GeoMetadata.summaryreference='https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/components/geospatial.html#GeoMetadata'>
 23                      <MetadataString containerField='valuename='titlevalue='TODO'/>
 24                      <MetadataString containerField='valuename='descriptionvalue='TODO'/>
 25                      <MetadataString containerField='valuename='coordinateSystemvalue='TODO'/>
 26                      <MetadataString containerField='valuename='horizontalDatumvalue='TODO'/>
 27                      <MetadataString containerField='valuename='verticalDatumvalue='TODO'/>
 28                      <MetadataString containerField='valuename='ellipsoidvalue='TODO'/>
 29                      <MetadataString containerField='valuename='extentvalue='0'/>
 30                      <MetadataFloat containerField='valuename='resolutionvalue='0'/>
 31                      <MetadataString containerField='valuename='originatorvalue='TODO'/>
 32                      <MetadataString containerField='valuename='copyrightvalue='TODO'/>
 33                      <MetadataString containerField='valuename='datevalue='TODO'/>
 34                      <MetadataString containerField='valuename='metadataFormatvalue='TODO'/>
 35                      <MetadataString containerField='valuename='dataUrlvalue='TODO'/>
 36                      <MetadataString containerField='valuename='dataFormatvalue='TODO'/>
 37                 </MetadataSet>
 38            </GeoMetadata>
 39            <GeoViewpoint containerField='children'>
 40 
               <!-- GeoOrigin DefaultGeoOrigin is a DEF node that has 4 USE nodes: USE_1, USE_2, USE_3, USE_4 -->
               <GeoOrigin DEF='DefaultGeoOrigin'/>
 41            </GeoViewpoint>
 42            <!-- GeoInline replaced by Inline -->
 43            <Inline DEF='GeoInlineReplacedByInline'/>
 44            <GeoLocation containerField='children'>
 45                 <GeoOrigin USE='DefaultGeoOrigin'/>
 46            </GeoLocation>
 47            <GeoLOD center='10 10 1range='1000containerField='children'   child1Url=' "https://b" '   child2Url=' "https://c" '   child3Url=' "https://d" '   child4Url=' "https://e" '   rootUrl=' "https://a" '>
 48                 <GeoOrigin USE='DefaultGeoOrigincontainerField='rootNode'/>
 49                 <!-- Nodes loaded via the 'rootUrl' field appear under 'rootNode' for current GeoLOD level. -->
 50                 <!-- Defining both 'rootUrl' and 'rootNode' is erroneous, use either one or the other. -->
 51                 <!-- rootNode nodes are the default geometry to be shown at this level of detail -->
 52                 <WorldInfo containerField='rootNode'/>
 53                 <Shape containerField='rootNode'/>
 54            </GeoLOD>
 55            <Shape DEF='ExampleGeoSnippet1'>
 56                 <GeoElevationGrid DEF='EmptyGeoElevationGrid'>
 57                      <GeoOrigin USE='DefaultGeoOrigin'/>
 58                      <Color/>
 59                      <Normal/>
 60                      <TextureCoordinate/>
 61                 </GeoElevationGrid>
 62            </Shape>
 63            <Shape DEF='ExampleGeoSnippet2'>
 64                 <IndexedFaceSet>
 65                      <GeoCoordinate>
 66                           <GeoOrigin USE='DefaultGeoOrigin'/>
 67                      </GeoCoordinate>
 68                 </IndexedFaceSet>
 69            </Shape>
 70       </Scene>
 71  </X3D>
<!--

<!-- -->

<!-- to top Index for DEF nodes: DefaultGeoOrigin, EmptyGeoElevationGrid, ExampleGeoSnippet1, ExampleGeoSnippet2, GeoInlineReplacedByInline
-->
X3D Tooltips element index: Color, component, GeoCoordinate, GeoElevationGrid, GeoLocation, GeoLOD, GeoMetadata, GeoOrigin, GeoViewpoint, head, IndexedFaceSet, Inline, meta, MetadataFloat, MetadataSet, MetadataString, Normal, Scene, Shape, TextureCoordinate, WorldInfo, X3D, accessType and type, XML data types, field types

-->
<!-- Online at
https://www.web3d.org/x3d/content/examples/Basic/Geospatial/newGeospatialSceneIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Basic/Geospatial/newGeospatialScene.x3d -->

<!-- Color legend: X3D terminology <X3dNode DEF='idName' field='value'/> matches XML terminology <XmlElement DEF='idName' attribute='value'/>
(Light-blue background: event-based behavior node or statement) (Grey background inside box: inserted documentation) (Magenta background: X3D Extensibility)
-->

to top <!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->