[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [ubl] Defining Geograpic areas in UBL - How?
Ken,
Thanks for your prompt response to my request however, I think I didn't do a
very good job of explaining the Freightwise requirement to describe a
geographic area. It would be the area bounded by lines connecting points
(min of 3) together to form a polygon of sorts. It could be an even larger
number of points that may get connected together to form a circular area.
Or how about a circular area defined by a single point and a radius? I
really need to ask Freightwise for a real world example of how they intend
to use the area location in their expected reportes.
Thanks again and stay tuned.....
Andy
-----Original Message-----
From: G. Ken Holman [mailto:gkholman@CraneSoftwrights.com]
Sent: Friday, August 07, 2009 3:36 PM
To: 'TC UBL'; ubl-psc@lists.oasis-open.org; [email protected]
Subject: Re: [ubl] Defining Geograpic areas in UBL - How?
Here is my guess:
I'm assuming that you are referring to how to fill in cac:Location
... that in your UBL you've gotten down the structure to
cac:DeliveryLocation or cac:PhysicalLocation, or some other ASBIE
that has the object class described by cac:Location.
Looking at my HTML reports found here:
http://www.CraneSoftwrights.com/resources/ubl/index.htm#ubl2modelreport
... I find cac:Location at row 598 of the common library. I see
there is a child cac:Address. In address I see the last child is
zero or more cac:LocationCoordinate elements. and in
cac:LocationCoordinate I see the ability to enter in many values for
latitude, longitude, etc.
So, then, if I had to specify three lat/long values for a delivery
location, I would use:
<cac:DeliveryLocation>
<cac:Address>
<cac:LocationCoordinate>
<cac:LatitudeDegreesMeasure>yyy</cac:LatidudeDegreesMeasure>
<cac:LatitudeDirectionCode>North</cac:LatitudeDirectionCode>
<cac:LongitudeDegreesMeasure>xxx</cac:LongitudeDegreesMeasure>
<cac:LongitudeDirectionCode>North</cac:LongitudeDirectionCode>
</cac:LatitudeCoordinate>
<cac:LocationCoordinate>
<cac:LatitudeDegreesMeasure>yyy</cac:LatidudeDegreesMeasure>
<cac:LatitudeDirectionCode>North</cac:LatitudeDirectionCode>
<cac:LongitudeDegreesMeasure>xxx</cac:LongitudeDegreesMeasure>
<cac:LongitudeDirectionCode>North</cac:LongitudeDirectionCode>
</cac:LatitudeCoordinate>
<cac:LocationCoordinate>
<cac:LatitudeDegreesMeasure>yyy</cac:LatidudeDegreesMeasure>
<cac:LatitudeDirectionCode>North</cac:LatitudeDirectionCode>
<cac:LongitudeDegreesMeasure>xxx</cac:LongitudeDegreesMeasure>
<cac:LongitudeDirectionCode>North</cac:LongitudeDirectionCode>
</cac:LatitudeCoordinate>
</cac:Address>
</cac:DeliveryLocation>
And the way I actually found this was backwards: I looked up
Latitude and found where LatitudeDegreesMeasure is used, which is in
LocationCoordinate, then looking at LocationCoordinate I see it is
used in Address, then looking in address I see it is used as a
DeliveryAddress.
I hope this is what FreightWise is looking for. Please acknowledge
either way so that I can guess again if I am wrong above.
Thanks for the question, Andy!
. . . . . . . . . . ken
At 2009-08-07 15:15 -0400, Andrew Schoka wrote:
>Dear UBLers,
>The Freightwise project is moving to formulate their data models,
>and subsequently their documents, in UBL. They have requirements to
>define locations as either a point or a geographic area. I believe
>that Freightwise envisions defining a geographic area by listing 3
>or more points or coordinate locations.
>
>I am querying the UBL TC participants to ask if this has already
>been done in UBL, and if so, how; or, will an area location
>represent a new requirement? Whether it already exists or is a new
>requirement I am vitally interested in learning how this should be
>done within UBL. All comments or suggestions are enthusiastically welcome.
>Regards,
>Andy Schoka
>
--
Crane Softwrights Ltd. http://www.CraneSoftwrights.com/o/
Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video
Video lesson: http://www.youtube.com/watch?v=PrNjJCh7Ppg&fmt=18
Video overview: http://www.youtube.com/watch?v=VTiodiij6gE&fmt=18
G. Ken Holman mailto:gkholman@CraneSoftwrights.com
Male Cancer Awareness Nov'07 http://www.CraneSoftwrights.com/o/bc
Legal business disclaimers: http://www.CraneSoftwrights.com/legal
---------------------------------------------------------------------
To unsubscribe from this mail list, you must leave the OASIS TC that
generates this mail. Follow this link to all your TCs in OASIS at:
https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]