Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release Formats ecschema #280

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion SchemaInventory.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
"name": "Formats",
"path": "Standard\\Formats.ecschema.xml",
"released": false,
"version": "01.00.00",
"version": "01.00.02",
"comment": "Working Copy",
"sha1": "",
"author": "",
Expand All @@ -151,6 +151,20 @@
"date": "11/27/2018",
"dynamic": "No",
"approved": "Yes"
},
{
"name": "Formats",
"path": "Standard\\Released\\Formats.01.00.01.ecschema.xml",
"released": true,
"version": "01.00.01",
"comment": "Added AngleDM format",
"verifier": "Colin.Kerr",
"sha1": "36242706831cde590170b41fb72a2328a8432526",
"verified": "Yes",
"author": "Monmohan.Bordoloi",
"date": "2/28/2024",
"dynamic": "No",
"approved": "Yes"
}
],
"SchemaLocalizationCustomAttributes": [
Expand Down
10 changes: 5 additions & 5 deletions Standard/Formats.ecschema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
| * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
| * See LICENSE.md in the project root for license terms and full copyright notice.
======================================================================================= -->
<ECSchema schemaName="Formats" alias="f" version="01.00.00" description="Standard Set of Format definitions" xmlns="http://www.bentley.com/schemas/Bentley.ECXML.3.2">
<ECSchema schemaName="Formats" alias="f" version="01.00.02" description="Standard Set of Format definitions" xmlns="http://www.bentley.com/schemas/Bentley.ECXML.3.2">
<ECSchemaReference name="Units" version="01.00.00" alias="u"/>

<Format typeName="DefaultReal" displayLabel="real" type="decimal" precision="6" formatTraits="keepSingleZero|keepDecimalPoint"/>
Expand All @@ -22,12 +22,12 @@
<Unit label="&quot;">u:ARC_SECOND</Unit>
</Composite>
</Format>

<Format typeName="AngleDM" displayLabel="DegreesMinutes" type="decimal" precision="4" uomSeparator="" formatTraits="keepSingleZero|keepDecimalPoint|showUnitLabel">
<Composite spacer="">
<Unit label="&#176;">u:ARC_DEG</Unit>
<Unit label="'">u:ARC_MINUTE</Unit>
</Composite>
<Unit label="&#176;">u:ARC_DEG</Unit>
<Unit label="'">u:ARC_MINUTE</Unit>
</Composite>
</Format>

<Format typeName="AmerFI" displayLabel="FeetInches" type="fractional" precision="8" uomSeparator="" formatTraits="keepSingleZero|keepDecimalPoint|showUnitLabel">
Expand Down
53 changes: 53 additions & 0 deletions Standard/Released/Formats.01.00.01.ecschema.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- ==================================================================================
| * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
| * See LICENSE.md in the project root for license terms and full copyright notice.
======================================================================================= -->
<ECSchema schemaName="Formats" alias="f" version="01.00.01" description="Standard Set of Format definitions" xmlns="http://www.bentley.com/schemas/Bentley.ECXML.3.2">
<ECSchemaReference name="Units" version="01.00.00" alias="u"/>

<Format typeName="DefaultReal" displayLabel="real" type="decimal" precision="6" formatTraits="keepSingleZero|keepDecimalPoint"/>
<Format typeName="DefaultRealU" displayLabel="realu" type="decimal" precision="6" formatTraits="keepSingleZero|keepDecimalPoint|showUnitLabel"/>
<Format typeName="DefaultRealUNS" type="decimal" precision="6" uomSeparator="" formatTraits="keepSingleZero|keepDecimalPoint|showUnitLabel"/>

<Format typeName="Fractional" displayLabel="fract" type="fractional" precision="64" formatTraits="keepSingleZero|keepDecimalPoint"/>

<Format typeName="StationZ_100_2" type="station" precision="2" stationOffsetSize="2" minWidth="2" formatTraits="keepSingleZero|keepDecimalPoint|trailZeroes"/>
<Format typeName="StationZ_1000_3" type="station" precision="2" stationOffsetSize="3" minWidth="3" formatTraits="keepSingleZero|keepDecimalPoint|trailZeroes"/>

<Format typeName="AngleDMS" displayLabel="DegreesMinutesSeconds" type="decimal" precision="4" uomSeparator="" formatTraits="keepSingleZero|keepDecimalPoint|showUnitLabel">
<Composite spacer="">
<Unit label="&#176;">u:ARC_DEG</Unit>
<Unit label="'">u:ARC_MINUTE</Unit>
<Unit label="&quot;">u:ARC_SECOND</Unit>
</Composite>
</Format>

<Format typeName="AngleDM" displayLabel="DegreesMinutes" type="decimal" precision="4" uomSeparator="" formatTraits="keepSingleZero|keepDecimalPoint|showUnitLabel">
<Composite spacer="">
<Unit label="&#176;">u:ARC_DEG</Unit>
<Unit label="'">u:ARC_MINUTE</Unit>
</Composite>
</Format>ß

<Format typeName="AmerFI" displayLabel="FeetInches" type="fractional" precision="8" uomSeparator="" formatTraits="keepSingleZero|keepDecimalPoint|showUnitLabel">
<Composite spacer="">
<Unit label="'">u:FT</Unit>
<Unit label="&quot;">u:IN</Unit>
</Composite>
</Format>

<Format typeName="AmerI" displayLabel="Inches" type="fractional" precision="8" uomSeparator="" formatTraits="keepSingleZero|showUnitLabel">
<Composite spacer="">
<Unit label="&quot;">u:IN</Unit>
</Composite>
</Format>

<Format typeName="HMS" displayLabel="HoursMinutesSeconds" type="decimal" precision="2" formatTraits="keepSingleZero|keepDecimalPoint|showUnitLabel">
<Composite>
<Unit label="hour(s)">u:HR</Unit>
<Unit label="min">u:MIN</Unit>
<Unit label="sec">u:S</Unit>
</Composite>
</Format>
</ECSchema>
Loading