Earth Explorer 3D Map supports GTFS – General Transit Feed Specification Catalog item

GTFS is split into a schedule component that contains schedule, fare, and geographic transit information and a real-time component that contains arrival predictions, vehicle positions and service advisories.

More GTFS background

https://gtfs.org/

"type": "gtfs"

GtfsCatalogItemTraits

TraitTypeDefaultDescription
headersHeadersTraits[]Extra headers to attach to queries to the GTFS endpoint
imagestringUrl for the image to use to represent a vehicle. Recommended size 32×32 pixels.
scaleImageByDistanceScaleByDistanceTraitsDescribes how marker images are scaled by distance from the viewer.
modelGtfsModelTraits3D model to use to represent a vehicle.
AttributionTraits
attributionstringThe attribution to display with the data.
AutoRefreshingTraits
refreshIntervalnumberHow often the data in this model is refreshed, in seconds
refreshEnabledbooleantrueToggle for enabling auto refresh.
CatalogMemberTraits
namestringThe name of the catalog item.
descriptionstringThe description of the catalog item. Markdown and HTML may be used.
nameInCatalogstringThe name of the item to be displayed in the catalog, if it is different from the one to display in the workbench.
infoInfoSectionTraits[]Human-readable information about this dataset.
infoSectionOrderstring[]An array of section titles defining the display order of info sections. If this property is not defined, {@link DataPreviewSections}’s DEFAULT_SECTION_ORDER is used
isOpenInWorkbenchbooleantrueWhether the item in the workbench open or collapsed.
shortReportstringA short report to show on the now viewing tab.
shortReportSectionsShortReportTraits[]A list of collapsible sections of the short report
isExperiencingIssuesbooleanWhether the catalog item is experiencing issues which may cause its data to be unavailable
hideSourcebooleanIndicates that the source of this data should be hidden from the UI (obviously this isn’t super-secure as you can just look at the network requests).
metadataUrlsMetadataUrlTraits[]Metadata URLs to show in data catalog.
dataUrlsDataUrlTraits[]Data URLs to show in data catalog.
dataCustodianstringGets or sets a description of the custodian of this data item.
modelDimensionsEnumDimensionTraits[]This provides ability to set model JSON through SelectableDimensions (a dropdown). When an option is selected, the value property will be used to call updateModelFromJson(). All string properties support Mustache templates (with the catalog member as context)
disableAboutDatabooleanDisables the ‘About Data’ button in the workbench.
LayerOrderingTraits
keepOnTopbooleanKeeps the layer on top of all other imagery layers.
supportsReorderingbooleantrueDoes this layer support reordering in the workbench.
LegendOwnerTraits
legendsLegendTraits[]The legends to display on the workbench.
legendBackgroundColorstringApply background color to all legends. This can be useful if legends are transparent and clash with Terria colours
hideLegendInWorkbenchbooleanWhether the legend is hidden in the workbench for this catalog member.
MappableTraits
rectangleRectangleTraitsThe bounding box rectangle that contains all the data in this catalog item.
idealZoomIdealZoomTraitsOverride default ideal zoom if the given values are valid.
disablePreviewbooleanDisables the preview on the Add Data panel. This is useful when the preview will be very slow to load.
disableZoomTobooleanDisables the zoom to (aka ‘Ideal Zoom’) button in the workbench.
zoomOnAddToWorkbenchbooleanZoom to dataset when added to workbench. Doesn’t work if disableZoomTo is true.
showbooleantrueShow or hide a workbench item. When show is false, a mappable item is removed from the map and a chartable item is removed from the chart panel.
initialMessageInitialMessageTraitsA message to show when the user adds the catalog item to the workbench. Useful for showing disclaimers.
featureInfoTemplateFeatureInfoTemplateTraitsA template object for formatting content in feature info panel
showStringIfPropertyValueIsNullstringIf the value of a property is null or undefined, show the specified string as the value of the property. Otherwise, the property name will not be listed at all.
maximumShownFeatureInfosnumberThe maximum number of “feature infos” that can be displayed in feature info panel.
OpacityTraits
opacitynumber0.8The opacity of the item.
disableOpacityControlbooleanWhen true, the user will be unable to change the opacity of the item
UrlTraits
urlstringThe base URL of the file or service.
forceProxybooleanForce the default proxy to be used for all network requests.
cacheDurationstringThe cache duration to use for proxied URLs for this catalog member. If undefined, proxied URLs are effectively cachable forever. The duration is expressed as a Varnish-like duration string, such as ‘1d’ (one day) or ‘10000s’ (ten thousand seconds).

HeadersTraits

TraitTypeDefaultDescription
namestringThe header name
valuestringThe header value

ScaleByDistanceTraits

TraitTypeDefaultDescription
nearnumberThe lower bound of the camera distance range.
nearValuenumber1The scale value to use when the camera is at the Near distance (or closer). A value greater than 1.0 enlarges the image while a scale less than 1.0 shrinks it.
farnumber1The upper bound of the camera distance range.
farValuenumber1The scale value to use when the camera is at the Far distance (or farther). A value greater than 1.0 enlarges the image while a scale less than 1.0 shrinks it.

GtfsModelTraits

TraitTypeDefaultDescription
maximumDistancenumberThe farthest distance from the camera that the model will still be drawn
maximumScalenumberThe maximum scale size of a model. This property is used as an upper limit for scaling due to minimumPixelSize
minimumPixelSizenumberThe minimum pixel size of the model regardless of zoom. This can be used to ensure that a model is visible even when the viewer zooms out. When 0.0, no minimum size is enforced
colorModelsByPropertyColorModelsByPropertyTraitsColor entity models by reguler expression match of a property of an entity
AttributionTraits
attributionstringThe attribution to display with the data.
CatalogMemberTraits
namestringThe name of the catalog item.
descriptionstringThe description of the catalog item. Markdown and HTML may be used.
nameInCatalogstringThe name of the item to be displayed in the catalog, if it is different from the one to display in the workbench.
infoInfoSectionTraits[]Human-readable information about this dataset.
infoSectionOrderstring[]An array of section titles defining the display order of info sections. If this property is not defined, {@link DataPreviewSections}’s DEFAULT_SECTION_ORDER is used
isOpenInWorkbenchbooleantrueWhether the item in the workbench open or collapsed.
shortReportstringA short report to show on the now viewing tab.
shortReportSectionsShortReportTraits[]A list of collapsible sections of the short report
isExperiencingIssuesbooleanWhether the catalog item is experiencing issues which may cause its data to be unavailable
hideSourcebooleanIndicates that the source of this data should be hidden from the UI (obviously this isn’t super-secure as you can just look at the network requests).
metadataUrlsMetadataUrlTraits[]Metadata URLs to show in data catalog.
dataUrlsDataUrlTraits[]Data URLs to show in data catalog.
dataCustodianstringGets or sets a description of the custodian of this data item.
modelDimensionsEnumDimensionTraits[]This provides ability to set model JSON through SelectableDimensions (a dropdown). When an option is selected, the value property will be used to call updateModelFromJson(). All string properties support Mustache templates (with the catalog member as context)
disableAboutDatabooleanDisables the ‘About Data’ button in the workbench.
GltfTraits
upAxisstringThe model’s up-axis. By default models are y-up according to the glTF spec, however geo-referenced models will typically be z-up. Valid values are ‘X’, ‘Y’, or ‘Z’.
forwardAxisstringThe model’s forward axis. By default, glTF 2.0 models are Z-forward according to the glTF spec, however older glTF (1.0, 0.8) models used X-forward. Valid values are ‘X’ or ‘Z’.
heightReferencestringNONEPosition relative to the ground. Accepted values are NONE, CLAMP_TO_GROUND & RELATIVE_TO_GROUND as described in the cesium doc – https://cesium.com/docs/cesiumjs-ref-doc/global.html#HeightReference
LegendOwnerTraits
legendsLegendTraits[]The legends to display on the workbench.
legendBackgroundColorstringApply background color to all legends. This can be useful if legends are transparent and clash with Terria colours
hideLegendInWorkbenchbooleanWhether the legend is hidden in the workbench for this catalog member.
MappableTraits
rectangleRectangleTraitsThe bounding box rectangle that contains all the data in this catalog item.
idealZoomIdealZoomTraitsOverride default ideal zoom if the given values are valid.
disablePreviewbooleanDisables the preview on the Add Data panel. This is useful when the preview will be very slow to load.
disableZoomTobooleanDisables the zoom to (aka ‘Ideal Zoom’) button in the workbench.
zoomOnAddToWorkbenchbooleanZoom to dataset when added to workbench. Doesn’t work if disableZoomTo is true.
showbooleantrueShow or hide a workbench item. When show is false, a mappable item is removed from the map and a chartable item is removed from the chart panel.
initialMessageInitialMessageTraitsA message to show when the user adds the catalog item to the workbench. Useful for showing disclaimers.
featureInfoTemplateFeatureInfoTemplateTraitsA template object for formatting content in feature info panel
showStringIfPropertyValueIsNullstringIf the value of a property is null or undefined, show the specified string as the value of the property. Otherwise, the property name will not be listed at all.
maximumShownFeatureInfosnumberThe maximum number of “feature infos” that can be displayed in feature info panel.
ShadowTraits
shadowsstringNONEDetermines whether the tileset casts or receives shadows from each light source.
showShadowUibooleantrueDetermines whether the shadow UI component will be shown on the workbench item
TransformationTraits
originLatLonHeightTraitsThe origin of the model, expressed as a longitude and latitude in degrees and a height in meters. If this property is specified, the model’s axes will have X pointing East, Y pointing North, and Z pointing Up. If not specified, the model is located in the Earth-Centered Earth-Fixed frame.
rotationHeadingPitchRollTraitsThe rotation of the model expressed as heading, pitch and roll in the local frame of reference. Defaults to zero rotation.
scalenumberThe scale factor to apply to the model
UrlTraits
urlstringThe base URL of the file or service.
forceProxybooleanForce the default proxy to be used for all network requests.
cacheDurationstringThe cache duration to use for proxied URLs for this catalog member. If undefined, proxied URLs are effectively cachable forever. The duration is expressed as a Varnish-like duration string, such as ‘1d’ (one day) or ‘10000s’ (ten thousand seconds).

ColorModelsByPropertyTraits

TraitTypeDefaultDescription
propertystringPath to the property used to choose the color
colorGroupsColorGroupTraits[]

ColorGroupTraits

TraitTypeDefaultDescription
colorstringCSS color string
regExpstringRegular expression to match on the specified property

InfoSectionTraits

TraitTypeDefaultDescription
namestringThe name of the section.
contentstringThe content of the section, in Markdown and HTML format. Set this property to null to remove this section entirely.
contentAsObjectanyThe content of the section which is a JSON object. Set this property to null to remove this section entirely.
showbooleantrueIndicates if this info section showing (not collapsed).

ShortReportTraits

TraitTypeDefaultDescription
namestringThe name of the section.
contentstringThe content of the section.
showbooleantrueIndicates if this short report section showing.

MetadataUrlTraits

TraitTypeDefaultDescription
urlstringThe metadata URL of the file or service.
titlestringTitle used for metadata URL button.

DataUrlTraits

TraitTypeDefaultDescription
typestringType of data URL. This value will be used to provide context or instruction on how to use the data URL. For example wcs will provide a link to WCS docs. Current supported values are: – wfs = A Web Feature Service (WFS) base URL – wcs = A Web Coverage Service (WCS) base URL – wfs-complete = A complete, ready-to-use link to download features from a WCS server – wcs-complete = A complete, ready-to-use link to download features from a WFS server – direct = Direct URL to dataset (this is the default if no type is specified) – none = Hide data URL
MetadataUrlTraits
urlstringThe metadata URL of the file or service.
titlestringTitle used for metadata URL button.

EnumDimensionTraits

TraitTypeDefaultDescription
idstringDimension ID
namestringDimension name (human-readable)
optionsDimensionOptionTraits[]Dimension options
selectedIdstringSelected Option’s ID
allowUndefinedbooleanAllow dimension to be undefined
disablebooleanHides dimension

DimensionOptionTraits

TraitTypeDefaultDescription
idstringOption ID
namestringOption name (human-readable)
valueanyValue (if this is undefined, id will be used)

LegendTraits

TraitTypeDefaultDescription
titlestringA title to be displayed above the legend.
urlstringThe URL of the legend image. If the URL suffix isn’t one of the following png|jpg|jpeg|gif|svg, then urlMimeType must be defined – otherwise a hyperlink will be shown.
imageScalingnumber1Scaling of the legend. For example, a high DPI legend may have scaling = 0.5, so it will be scaled down 50%
urlMimeTypestringThe MIME type of the URL legend image. For example "image/png"
itemsLegendItemTraits[]
backgroundColorstringApply background color to entire legend. This can be useful if legend is transparent and clashes with Terria colours. This will override legendBackgroundColor.

LegendItemTraits

TraitTypeDefaultDescription
titlestringThe title to display next to this legend item.
multipleTitlesstringMultiple titles to display next to this legend item.
maxMultipleTitlesShowedstring10Maximum number of multiple titles to display next to this legend item. (Default is 10)
titleAbovestringThe title to display above this legend item, i.e. marking the top of a box on the legend.
titleBelowstringThe title to display below this legend item, i.e. marking the bottom of a box on the legend.
colorstringThe CSS color to display for this item. This property is ignored if Legend URL is specified.
outlineColorstringThe CSS color with which to outline this item.
outlineWidthnumberThe width of outline in pixels
multipleColorsstring[]Multiple colors to show with this item in a grid arrangement.
imageUrlstringThe URL of an image to display with this item.
markerstringMaki marker ID to display with this item (eg “circle”).
rotationnumberThe degrees to rotate legend item.
addSpacingAbovebooleanTrue to add a bit of extra spacing above this item in order to separate it visually from the rest of the legend.
imageHeightnumber20The height of the legend image.
imageWidthnumber20The width of the legend image.

RectangleTraits

TraitTypeDefaultDescription
westnumberThe westernmost longitude in degrees.
southnumberThe southernmost longitude in degrees.
eastnumberThe easternmost longitude in degrees.
northnumberThe northernmost longitude in degrees.
CameraTraits
positionVectorTraitsPosition of the camera in the Earth-centered Fixed frame in meters.
directionVectorTraitsThe look direction of the camera in the Earth-centered Fixed frame.
upVectorTraitsThe up vector direction of the camera in the Earth-centered Fixed frame.

VectorTraits

TraitTypeDefaultDescription
xnumberX component of vector in the Earth-centered Fixed frame.
ynumberY component of vector in the Earth-centered Fixed frame.
znumberZ component of vector in the Earth-centered Fixed frame.

IdealZoomTraits

TraitTypeDefaultDescription
lookAtLookAtTraitsParameters for camera to look at a target.
cameraCameraTraitsUse camera position, direction and up if fully defined. Otherwise use rectangle if fully defined.

LookAtTraits

TraitTypeDefaultDescription
targetLongitudenumberTarget longitude on the WGS84 ellipsoid in degrees
targetLatitudenumberTarget latitude on the WGS84 ellipsoid in degrees
targetHeightnumber100Target height in meters. Treat it as camera height. A positive value is above the WGS84 ellipsoid. Default to 100 meters.
headingnumberHeading in degrees. Treat it as camera bearing. North is 0. A positive value rotates clockwise, negative anti-clockwise. Default to 0.
pitchnumber45Pitch in degrees. Treat it as camera pitch. A positive value is to look down, negative up. Default to 45.
rangenumber500The range in meters. It is the distance between the target position and camera position projected onto the local plane. Not negative and default to 500.

CameraTraits

TraitTypeDefaultDescription
positionVectorTraitsPosition of the camera in the Earth-centered Fixed frame in meters.
directionVectorTraitsThe look direction of the camera in the Earth-centered Fixed frame.
upVectorTraitsThe up vector direction of the camera in the Earth-centered Fixed frame.
RectangleTraits
westnumberThe westernmost longitude in degrees.
southnumberThe southernmost longitude in degrees.
eastnumberThe easternmost longitude in degrees.
northnumberThe northernmost longitude in degrees.

InitialMessageTraits

TraitTypeDefaultDescription
titlestringThe title of the message.
contentstringThe content of the message.
keystringIdentifier. If multiple messages with the same key are triggered, only the first will be displayed.
confirmationbooleanWhether the message requires confirmation.
confirmTextstringIf confirmation is true, the text to put on the confirmation button.
widthnumberWidth of the message.
heightnumberHeight of the message.

FeatureInfoTemplateTraits

TraitTypeDefaultDescription
namestringA mustache template string for formatting name
templatestringA Mustache template string for formatting description
showFeatureInfoDownloadWithTemplatebooleanShow feature info download if a template has been provided. If no template is provided, then download will always show.
partialsanyAn object, mapping partial names to a template string. Defines the partials used in Template.
formatsanyAn object, mapping field names to formatting options.

LatLonHeightTraits

TraitTypeDefaultDescription
latitudenumberLatitude in degrees
longitudenumberLongitude in degrees
heightnumberHeight above ellipsoid in metres

HeadingPitchRollTraits

TraitTypeDefaultDescription
headingnumberHeading in degrees
pitchnumberPitch in degrees
rollnumberRoll in degrees
Translate »

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close