Commit 42b051eb authored by garciay's avatar garciay
Browse files

Re-organize Geopriv CivicAddress

parent 649ab870
Loading
Loading
Loading
Loading
+1000 −1221
Original line number Diff line number Diff line
/*******************************************************************************
* Copyright (c) 2000-2018 Ericsson Telecom AB
*
* XSD to TTCN-3 Translator version: CRL 113 200/6 R4B                       
* XSD to TTCN-3 Translator version: CRL 113 200/6 R4A                       
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html
* http://www.eclipse.org/legal/epl-v10.html
*******************************************************************************/
//
//  File:          XSD_Definitions.ttcn
//  File:          http_www_opengis_net_gml.ttcn
//  Description:
//  References:
//  Rev:
//  Prodnr:
//  Updated:       Tue Aug  7 08:05:37 2018
//  Updated:       Tue Jul  3 08:58:44 2018
//  Contact:       http://ttcn.ericsson.se
//
////////////////////////////////////////////////////////////////////////////////
//     Modification header(s):
//-----------------------------------------------------------------------------
//  Modified by:
//  Modification date:
//  Description:
//  Modification contact:
//------------------------------------------------------------------------------
////////////////////////////////////////////////////////////////////////////////


module XSD_Definitions {


import from XSD all;


////////////////////////////////////////////////////////////////////////////////
//	Generated from file(s):
//	- basicTypes.xsd
@@ -55,7 +38,17 @@ import from XSD all;
//			/* xml version = "1.0" */
//			/* targetnamespace = "http://www.opengis.net/gml" */
////////////////////////////////////////////////////////////////////////////////
group http_www_opengis_net_gml {
//     Modification header(s):
//-----------------------------------------------------------------------------
//  Modified by:
//  Modification date:
//  Description:
//  Modification contact:
//------------------------------------------------------------------------------
////////////////////////////////////////////////////////////////////////////////


module http_www_opengis_net_gml {


import from XSD all;
@@ -141,7 +134,7 @@ with {
  variant "name as uncapitalized";
  variant "attribute";
};

/*

type union Object_group
{
@@ -170,7 +163,7 @@ with {
  variant (geometry) "name as '_Geometry'";
};


*/
/* Copyright (c) 2007,2009 Open Geospatial Consortium.
            To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . */

@@ -197,7 +190,7 @@ type MeasureType AngleType;

/* Copyright (c) 2007,2009 Open Geospatial Consortium.
            To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . */

/*

type record GeometryPropertyType
{
@@ -208,6 +201,7 @@ with {
};



type record GeometryArrayPropertyType
{
	record of Geometry_group geometry_list
@@ -216,7 +210,7 @@ with {
  variant (geometry_list) "untagged";
  variant (geometry_list[-]) "name as '_Geometry'";
};

*/

type record AbstractGeometryType
{
@@ -402,6 +396,7 @@ with {
  variant (choice.pos_list[-]) "name as 'pos'";
};

/*

type union Geometry_group
{
@@ -438,7 +433,7 @@ with {
  variant (surface) "name as '_Surface'";
};


*/
type union Curve_group
{
	AbstractCurveType curve,
@@ -461,7 +456,7 @@ with {

type AbstractGeometricPrimitiveType AbstractSurfaceType;


/*
type SurfacePropertyType SurfaceProperty
with {
  variant "name as uncapitalized";
@@ -477,6 +472,8 @@ with {
  variant (surface) "name as '_Surface'";
};

*/


type PolygonType Polygon
with {
@@ -560,7 +557,7 @@ with {
  variant (choice.choice_list[-]) "untagged";
};


/*
type union Surface_group_1
{
	AbstractSurfaceType surface,
@@ -576,16 +573,13 @@ with {
  variant (surface) "form as qualified";
  variant (surface) "abstract";
  variant (arcBand) "name as capitalized";
  variant (arcBand) "namespace as 'http://www.opengis.net/pidflo/1.0' prefix 'gs'";
  variant (circle) "name as capitalized";
  variant (circle) "namespace as 'http://www.opengis.net/pidflo/1.0' prefix 'gs'";
  variant (ellipse) "name as capitalized";
  variant (ellipse) "namespace as 'http://www.opengis.net/pidflo/1.0' prefix 'gs'";
  variant (polygon) "name as capitalized";
  variant (surface_1) "name as 'Surface'";
};


*/
type union Ring_group
{
	AbstractRingType ring,
@@ -866,7 +860,7 @@ type SurfacePatchArrayPropertyType PolygonPatchArrayPropertyType;

type AbstractGeometricPrimitiveType AbstractSolidType;


/*
type SolidType Solid
with {
  variant "element";
@@ -892,7 +886,7 @@ with {
  variant (uomLabels) "attribute";
};


*/
type enumerated CurveInterpolationType
{
	circularArc3Points,
@@ -976,7 +970,7 @@ with {
  variant (patches) "form as qualified";
};


/*
type union Solid_group
{
	AbstractSolidType solid,
@@ -991,14 +985,11 @@ with {
  variant (solid) "form as qualified";
  variant (solid) "abstract";
  variant (ellipsoid) "name as capitalized";
  variant (ellipsoid) "namespace as 'http://www.opengis.net/pidflo/1.0' prefix 'gs'";
  variant (prism) "name as capitalized";
  variant (prism) "namespace as 'http://www.opengis.net/pidflo/1.0' prefix 'gs'";
  variant (solid_1) "name as 'Solid'";
  variant (sphere) "name as capitalized";
  variant (sphere) "namespace as 'http://www.opengis.net/pidflo/1.0' prefix 'gs'";
};

*/

}
with {
@@ -1007,215 +998,3 @@ with {
  variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
  variant "elementFormQualified";
}


////////////////////////////////////////////////////////////////////////////////
//	Generated from file(s):
//	- GML-pidf-lo-shape.xsd
//			/* xml version = "1.0" */
//			/* targetnamespace = "http://www.opengis.net/pidflo/1.0" */
////////////////////////////////////////////////////////////////////////////////
group http_www_opengis_net_pidflo_1_0 {


import from XSD all;


/* This document defines geodetic shape types for PIDF-LO.
            
            Copyright (c) 2007,2009 Open Geospatial Consortium.
            To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . */


type CircleType Circle
with {
  variant "element";
};


type record CircleType
{
	NCNameList axisLabels optional,
	XSD.String gid optional,
	Id id optional,
	XSD.PositiveInteger srsDimension optional,
	XSD.AnyURI srsName optional,
	NCNameList uomLabels optional,
	CenterGroup centerGroup,
	LengthType radius
}
with {
  variant (axisLabels) "attribute";
  variant (gid) "attribute";
  variant (id) "attribute";
  variant (srsDimension) "attribute";
  variant (srsName) "attribute";
  variant (uomLabels) "attribute";
};


type EllipseType Ellipse
with {
  variant "element";
};


type record EllipseType
{
	NCNameList axisLabels optional,
	XSD.String gid optional,
	Id id optional,
	XSD.PositiveInteger srsDimension optional,
	XSD.AnyURI srsName optional,
	NCNameList uomLabels optional,
	CenterGroup centerGroup,
	LengthType semiMajorAxis,
	LengthType semiMinorAxis,
	AngleType orientation
}
with {
  variant (axisLabels) "attribute";
  variant (gid) "attribute";
  variant (id) "attribute";
  variant (srsDimension) "attribute";
  variant (srsName) "attribute";
  variant (uomLabels) "attribute";
};


type ArcBandType ArcBand
with {
  variant "element";
};


type record ArcBandType
{
	NCNameList axisLabels optional,
	XSD.String gid optional,
	Id id optional,
	XSD.PositiveInteger srsDimension optional,
	XSD.AnyURI srsName optional,
	NCNameList uomLabels optional,
	CenterGroup centerGroup,
	LengthType innerRadius,
	LengthType outerRadius,
	AngleType startAngle,
	AngleType openingAngle
}
with {
  variant (axisLabels) "attribute";
  variant (gid) "attribute";
  variant (id) "attribute";
  variant (srsDimension) "attribute";
  variant (srsName) "attribute";
  variant (uomLabels) "attribute";
};


type PrismType Prism
with {
  variant "element";
};


type record PrismType
{
	NCNameList axisLabels optional,
	XSD.String gid optional,
	Id id optional,
	XSD.PositiveInteger srsDimension optional,
	XSD.AnyURI srsName optional,
	NCNameList uomLabels optional,
	SurfacePropertyType base,
	LengthType height
}
with {
  variant (axisLabels) "attribute";
  variant (gid) "attribute";
  variant (id) "attribute";
  variant (srsDimension) "attribute";
  variant (srsName) "attribute";
  variant (uomLabels) "attribute";
};


type SphereType Sphere
with {
  variant "element";
};


type record SphereType
{
	NCNameList axisLabels optional,
	XSD.String gid optional,
	Id id optional,
	XSD.PositiveInteger srsDimension optional,
	XSD.AnyURI srsName optional,
	NCNameList uomLabels optional,
	CenterGroup centerGroup,
	LengthType radius
}
with {
  variant (axisLabels) "attribute";
  variant (gid) "attribute";
  variant (id) "attribute";
  variant (srsDimension) "attribute";
  variant (srsName) "attribute";
  variant (uomLabels) "attribute";
};


type EllipsoidType Ellipsoid
with {
  variant "element";
};


type record EllipsoidType
{
	NCNameList axisLabels optional,
	XSD.String gid optional,
	Id id optional,
	XSD.PositiveInteger srsDimension optional,
	XSD.AnyURI srsName optional,
	NCNameList uomLabels optional,
	CenterGroup centerGroup,
	LengthType semiMajorAxis,
	LengthType semiMinorAxis,
	LengthType verticalAxis,
	AngleType orientation
}
with {
  variant (axisLabels) "attribute";
  variant (gid) "attribute";
  variant (id) "attribute";
  variant (srsDimension) "attribute";
  variant (srsName) "attribute";
  variant (uomLabels) "attribute";
};


type union CenterGroup
{
	Pos pos,
	PointProperty pointProperty
}
with {
  variant "untagged";
  variant (pos) "namespace as 'http://www.opengis.net/gml' prefix 'gml'";
  variant (pointProperty) "namespace as 'http://www.opengis.net/gml' prefix 'gml'";
};


}
with {
  encode "XML";
  variant "namespace as 'http://www.opengis.net/pidflo/1.0' prefix 'gs'";
  variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
  variant "elementFormQualified";
}


}
+407 −0
Original line number Diff line number Diff line
/*******************************************************************************
* Copyright (c) 2000-2018 Ericsson Telecom AB
*
* XSD to TTCN-3 Translator version: CRL 113 200/6 R4A                       
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*******************************************************************************/
//
//  File:          http_www_opengis_net_pidflo_1_0.ttcn
//  Description:
//  References:
//  Rev:
//  Prodnr:
//  Updated:       Tue Jul  3 08:58:44 2018
//  Contact:       http://ttcn.ericsson.se
//
////////////////////////////////////////////////////////////////////////////////
//	Generated from file(s):
//	- GML-pidf-lo-shape.xsd
//			/* xml version = "1.0" */
//			/* targetnamespace = "http://www.opengis.net/pidflo/1.0" */
////////////////////////////////////////////////////////////////////////////////
//     Modification header(s):
//-----------------------------------------------------------------------------
//  Modified by:
//  Modification date:
//  Description:
//  Modification contact:
//------------------------------------------------------------------------------
////////////////////////////////////////////////////////////////////////////////


module http_www_opengis_net_pidflo_1_0 {


import from XSD all;


import from http_www_opengis_net_gml all;


/* This document defines geodetic shape types for PIDF-LO.
            
            Copyright (c) 2007,2009 Open Geospatial Consortium.
            To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . */


type CircleType Circle
with {
  variant "element";
};


type record CircleType
{
	NCNameList axisLabels optional,
	XSD.String gid optional,
	Id id optional,
	XSD.PositiveInteger srsDimension optional,
	XSD.AnyURI srsName optional,
	NCNameList uomLabels optional,
	CenterGroup centerGroup,
	LengthType radius
}
with {
  variant (axisLabels) "attribute";
  variant (gid) "attribute";
  variant (id) "attribute";
  variant (srsDimension) "attribute";
  variant (srsName) "attribute";
  variant (uomLabels) "attribute";
};


type EllipseType Ellipse
with {
  variant "element";
};


type record EllipseType
{
	NCNameList axisLabels optional,
	XSD.String gid optional,
	Id id optional,
	XSD.PositiveInteger srsDimension optional,
	XSD.AnyURI srsName optional,
	NCNameList uomLabels optional,
	CenterGroup centerGroup,
	LengthType semiMajorAxis,
	LengthType semiMinorAxis,
	AngleType orientation
}
with {
  variant (axisLabels) "attribute";
  variant (gid) "attribute";
  variant (id) "attribute";
  variant (srsDimension) "attribute";
  variant (srsName) "attribute";
  variant (uomLabels) "attribute";
};


type ArcBandType ArcBand
with {
  variant "element";
};


type record ArcBandType
{
	NCNameList axisLabels optional,
	XSD.String gid optional,
	Id id optional,
	XSD.PositiveInteger srsDimension optional,
	XSD.AnyURI srsName optional,
	NCNameList uomLabels optional,
	CenterGroup centerGroup,
	LengthType innerRadius,
	LengthType outerRadius,
	AngleType startAngle,
	AngleType openingAngle
}
with {
  variant (axisLabels) "attribute";
  variant (gid) "attribute";
  variant (id) "attribute";
  variant (srsDimension) "attribute";
  variant (srsName) "attribute";
  variant (uomLabels) "attribute";
};


type PrismType Prism
with {
  variant "element";
};


type record PrismType
{
	NCNameList axisLabels optional,
	XSD.String gid optional,
	Id id optional,
	XSD.PositiveInteger srsDimension optional,
	XSD.AnyURI srsName optional,
	NCNameList uomLabels optional,
	SurfacePropertyType base,
	LengthType height
}
with {
  variant (axisLabels) "attribute";
  variant (gid) "attribute";
  variant (id) "attribute";
  variant (srsDimension) "attribute";
  variant (srsName) "attribute";
  variant (uomLabels) "attribute";
};


type SphereType Sphere
with {
  variant "element";
};


type record SphereType
{
	NCNameList axisLabels optional,
	XSD.String gid optional,
	Id id optional,
	XSD.PositiveInteger srsDimension optional,
	XSD.AnyURI srsName optional,
	NCNameList uomLabels optional,
	CenterGroup centerGroup,
	LengthType radius
}
with {
  variant (axisLabels) "attribute";
  variant (gid) "attribute";
  variant (id) "attribute";
  variant (srsDimension) "attribute";
  variant (srsName) "attribute";
  variant (uomLabels) "attribute";
};


type EllipsoidType Ellipsoid
with {
  variant "element";
};


type record EllipsoidType
{
	NCNameList axisLabels optional,
	XSD.String gid optional,
	Id id optional,
	XSD.PositiveInteger srsDimension optional,
	XSD.AnyURI srsName optional,
	NCNameList uomLabels optional,
	CenterGroup centerGroup,
	LengthType semiMajorAxis,
	LengthType semiMinorAxis,
	LengthType verticalAxis,
	AngleType orientation
}
with {
  variant (axisLabels) "attribute";
  variant (gid) "attribute";
  variant (id) "attribute";
  variant (srsDimension) "attribute";
  variant (srsName) "attribute";
  variant (uomLabels) "attribute";
};


type union CenterGroup
{
	Pos pos,
	PointProperty pointProperty
}
with {
  variant "untagged";
  variant (pos) "namespace as 'http://www.opengis.net/gml' prefix 'gml'";
  variant (pointProperty) "namespace as 'http://www.opengis.net/gml' prefix 'gml'";
};





type union Object_group
{
	XSD.AnyType object,
	GML_group gML
}
with {
  variant "untagged";
  variant (object) "name as '_Object'";
  variant (object) "form as qualified";
  variant (object) "abstract";
  variant (gML) "name as '_GML'";
};


type union GML_group
{
	AbstractGMLType gML,
	Geometry_group geometry
}
with {
  variant "untagged";
  variant (gML) "name as '_GML'";
  variant (gML) "form as qualified";
  variant (gML) "abstract";
  variant (geometry) "name as '_Geometry'";
};


type record GeometryPropertyType
{
	Geometry_group geometry
}
with {
  variant (geometry) "name as '_Geometry'";
};


type record GeometryArrayPropertyType
{
	record of Geometry_group geometry_list
}
with {
  variant (geometry_list) "untagged";
  variant (geometry_list[-]) "name as '_Geometry'";
};

type union Geometry_group
{
	AbstractGeometryType geometry,
	GeometricPrimitive_group geometricPrimitive,
	Ring_group ring
}
with {
  variant "untagged";
  variant (geometry) "name as '_Geometry'";
  variant (geometry) "form as qualified";
  variant (geometry) "abstract";
  variant (geometricPrimitive) "name as '_GeometricPrimitive'";
  variant (ring) "name as '_Ring'";
};


type union GeometricPrimitive_group
{
	AbstractGeometricPrimitiveType geometricPrimitive,
	Curve_group curve,
	Point point,
	Solid_group solid,
	Surface_group_1 surface
}
with {
  variant "untagged";
  variant (geometricPrimitive) "name as '_GeometricPrimitive'";
  variant (geometricPrimitive) "form as qualified";
  variant (geometricPrimitive) "abstract";
  variant (curve) "name as '_Curve'";
  variant (point) "name as capitalized";
  variant (solid) "name as '_Solid'";
  variant (surface) "name as '_Surface'";
};

type SolidType Solid
with {
  variant "element";
};


type record SolidType
{
	NCNameList axisLabels optional,
	XSD.String gid optional,
	Id id optional,
	XSD.PositiveInteger srsDimension optional,
	XSD.AnyURI srsName optional,
	NCNameList uomLabels optional,
	SurfacePropertyType exterior optional
}
with {
  variant (axisLabels) "attribute";
  variant (gid) "attribute";
  variant (id) "attribute";
  variant (srsDimension) "attribute";
  variant (srsName) "attribute";
  variant (uomLabels) "attribute";
};


type union Solid_group
{
	AbstractSolidType solid,
	Ellipsoid ellipsoid,
	Prism prism,
	Solid solid_1,
	Sphere sphere
}
with {
  variant "untagged";
  variant (solid) "name as '_Solid'";
  variant (solid) "form as qualified";
  variant (solid) "abstract";
  variant (ellipsoid) "name as capitalized";
  variant (prism) "name as capitalized";
  variant (solid_1) "name as 'Solid'";
  variant (sphere) "name as capitalized";
};


type SurfacePropertyType SurfaceProperty
with {
  variant "name as uncapitalized";
  variant "element";
};


type record SurfacePropertyType
{
	Surface_group_1 surface
}
with {
  variant (surface) "name as '_Surface'";
};


type union Surface_group_1
{
	AbstractSurfaceType surface,
	ArcBand arcBand,
	Circle circle,
	Ellipse ellipse,
	Polygon polygon,
	Surface_group surface_1
}
with {
  variant "untagged";
  variant (surface) "name as '_Surface'";
  variant (surface) "form as qualified";
  variant (surface) "abstract";
  variant (arcBand) "name as capitalized";
  variant (circle) "name as capitalized";
  variant (ellipse) "name as capitalized";
  variant (polygon) "name as capitalized";
  variant (surface_1) "name as 'Surface'";
};


}
with {
  encode "XML";
  variant "namespace as 'http://www.opengis.net/pidflo/1.0' prefix 'gs'";
  variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
  variant "elementFormQualified";
}
+1 −1
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@
//  References:
//  Rev:
//  Prodnr:
//  Updated:       Tue Aug  7 08:06:30 2018
//  Updated:       Tue Aug  7 08:36:53 2018
//  Contact:       http://ttcn.ericsson.se
//
////////////////////////////////////////////////////////////////////////////////
+1 −1
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@
//  References:
//  Rev:
//  Prodnr:
//  Updated:       Tue Aug  7 08:06:30 2018
//  Updated:       Tue Aug  7 08:36:53 2018
//  Contact:       http://ttcn.ericsson.se
//
////////////////////////////////////////////////////////////////////////////////
+1 −4
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@
//  References:
//  Rev:
//  Prodnr:
//  Updated:       Tue Aug  7 08:06:30 2018
//  Updated:       Tue Aug  7 08:36:53 2018
//  Contact:       http://ttcn.ericsson.se
//
////////////////////////////////////////////////////////////////////////////////
@@ -109,9 +109,6 @@ type record of enumerated
	locationURI
} LocationTypeList
with {
  variant ([-]) ;
  variant ([-]) ;
  variant ([-]) ;
  variant "name as uncapitalized";
  variant "list";
};
Loading