<div dir="ltr"><div><div><div>Holger, I tend to agree but I think it is an unfortunate, perhaps unintended consequence of introducing the UNIT statement which needs to be addressed.<br><br></div>There is a little bit of wiggle room. The UNIT statement and Table 4.2 talk about angle _standard_ units while section 25.2.4 talks about angle _base_ units. So angle _base_ units may be different from angle _standard_ units. I am not sure if such a distinction was intentional when the spec. language was authored but it may have been and then not fully followed through.<br><br></div>v 3.2 of the spec. just prescribes units of degrees while Table 4.2 has radians as standard angle unit. We should just go back to that.<br><br></div>Andreas<br><div><br><a href="http://www.web3d.org/documents/specifications/19775-1/V3.2/Part01/components/geodata.html#Specifyinggeospatialcoords">http://www.web3d.org/documents/specifications/19775-1/V3.2/Part01/components/geodata.html#Specifyinggeospatialcoords</a><br><a href="http://www.web3d.org/documents/specifications/19775-1/V3.2/Part01/concepts.html#t-Standardunits">http://www.web3d.org/documents/specifications/19775-1/V3.2/Part01/concepts.html#t-Standardunits</a><br><br><div><br><br><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 13, 2016 at 10:51 AM, Holger Seelig <span dir="ltr"><<a href="mailto:holger.seelig@yahoo.de" target="_blank">holger.seelig@yahoo.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The specification in 3.3 is absolutely exact at this point.  The assumption that the base unit is in degree refers to to the range values specified. If the assumption would be radians then the corresponding values would be given. That mean in 3.3 the default angle unit for long/lat are radians.<br>
<br>
<br>
25.2.4 Specifying geospatial coordinates<br>
<br>
Latitude and longitude are given in units of angle base units. The following assumes an angle base unit of degrees. If a UNIT statement for angle base units has been provided, the following values for latitude and/or longitude should be suitable converted to that angle base units. Latitude is in the range −90..+90, and longitude can be in the range −180..+180 or 0..360 (0 deg longitude is the same point in both cases).<br>
<br>
<br>
Holger<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
Am 13.04.2016 um 16:33 schrieb Roy Walmsley:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks for this great discussion. I can see that text modifications are<br>
likely to be required here.<br>
<br>
In addition, I would like to raise a related question. In 25.2.4<br>
Specifying geospatial coordinates, the ‘GD’ option allows either<br>
“latitude_first” or “longitude_first”, the order being controlled by the<br>
/geosystem/ field. There is no other specific mention of an option<br>
within the geosystem field to specify either of these. Should there be?<br>
Or is it automatically determined by the choice of ellipsoid from Table<br>
25.3?<br>
<br>
Under the UTM option the option of “easting_first” or “northing_first”<br>
is an analogous case. What is the answer for this case?<br>
<br>
Roy<br>
<br>
*From:*geospatial [mailto:<a href="mailto:geospatial-bounces@web3d.org" target="_blank">geospatial-bounces@web3d.org</a>] *On Behalf Of<br>
*Andreas Plesch<br>
*Sent:* 13 April 2016 14:30<br>
*To:* Holger Seelig<br>
*Cc:* geospatial@web3d org; X3D Graphics public mailing list<br>
*Subject:* Re: [geospatial] Latitude/Longitude units<br>
<br>
Good point. Section 25.2.4 could be read that way as it does point out<br>
that the angle unit is a choice.<br>
<br>
The problem with using angle standard units is that authors would want<br>
to use radians for orientations and rotations but at the same time<br>
degrees for latitude/longitude. In my experience radians is very rarely<br>
used as a unit for geodetic coordinates. The only example example I can<br>
think of is in equations.<br>
<br>
Some options:<br>
<br>
1) no changes to the spec., modify examples<br>
<br>
2) prescribe degrees as unit for geodetic coordinates in section 25.2.4<br>
<br>
3) add a standard unit for angular distance in Table 4.2<br>
(<a href="http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/concepts.html#t-Standardunits" rel="noreferrer" target="_blank">http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/concepts.html#t-Standardunits</a>)<br>
with a default of degrees and refer to that in 25.2.4<br>
<br>
My preference would be option 2), followed by 3).<br>
<br>
Therefore I propose that in section 25.2.4, second paragraph:<br>
<br>
" Latitude and longitude are given in units of angle base units. The<br>
following assumes an angle base unit of degrees. If a UNIT statement for<br>
angle base units has been provided, the following values for latitude<br>
and/or longitude should be suitable converted to that angle base units."<br>
<br>
shall be replaced by:<br>
<br>
" Latitude and longitude are given in units of degrees."<br>
<br>
<br>
for simplicity.<br>
<br>
Andreas<br>
<br>
On Wed, Apr 13, 2016 at 6:21 AM, Holger Seelig <<a href="mailto:holger.seelig@yahoo.de" target="_blank">holger.seelig@yahoo.de</a><br>
<mailto:<a href="mailto:holger.seelig@yahoo.de" target="_blank">holger.seelig@yahoo.de</a>>> wrote:<br>
<br>
My interpretation was that with version 3.3 the UNIT statement defines<br>
what unit a angle value has. And therefore on default the angles of<br>
geodetic coordinates should be in radians. The author has then with the<br>
UNIT statement the choice to define its preferred angle unit.<br>
<br>
Holger<br>
<br>
</blockquote>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Am 13.04.2016 um 06:16 schrieb Andreas Plesch:<br>
<br>
<a href="http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/geodata.html#Specifyinggeospatialcoords" rel="noreferrer" target="_blank">http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/geodata.html#Specifyinggeospatialcoords</a><br>
<br>
defines that coordinates in the GD geoSystem are given in angular base<br>
units.<br>
<br>
<a href="http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/concepts.html#t-Standardunits" rel="noreferrer" target="_blank">http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/concepts.html#t-Standardunits</a><br>
<br>
defines the standard angle unit to be radians.<br>
<br>
Cobweb interpretes this to mean latitude/longitude in geoCoords are<br>
given in radians which I think should not be the intention of the spec.<br>
All geospatial example scenes use degrees. So I hope this is a<br>
misinterpretation.<br>
<br>
Although section 25.2.4 as linked goes on to assume that the base<br>
angular unit is degrees, it is a bit unclear what unit is really expected.<br>
<br>
If more precise language is needed, I suggest simply to add "angular<br>
base units of degrees" to section 25.2.4 .<br>
<br>
Andreas<br>
<br>
<br>
<br>
--<br>
Holger Seelig<br>
Mediengestalter Digital – Digital Media Designer<br>
<br>
Scheffelstraße 31a<br>
04277 Leipzig<br>
Germany<br>
<br>
Cellular: <a href="tel:%2B49%201577%20147%2026%2011" value="+4915771472611" target="_blank">+49 1577 147 26 11</a> <tel:%2B49%201577%20147%2026%2011><br>
E-Mail: <a href="mailto:holger.seelig@create3000.de" target="_blank">holger.seelig@create3000.de</a> <mailto:<a href="mailto:holger.seelig@create3000.de" target="_blank">holger.seelig@create3000.de</a>><br>
Web: <a href="http://titania.create3000.de" rel="noreferrer" target="_blank">http://titania.create3000.de</a><br>
<br>
Future to the fantasy ★ ★<br>
<br>
<br>
<br>
<br>
--<br>
<br>
Andreas Plesch<br>
39 Barbara Rd.<br>
Waltham, MA 02453<br>
<br>
</blockquote>
<br>
<br>
-- <br>
Holger Seelig<br>
Mediengestalter Digital – Digital Media Designer<br>
<br>
Scheffelstraße 31a<br>
04277 Leipzig<br>
Germany<br>
<br>
Cellular: <a href="tel:%2B49%201577%20147%2026%2011" value="+4915771472611" target="_blank">+49 1577 147 26 11</a><br>
E-Mail:   <a href="mailto:holger.seelig@create3000.de" target="_blank">holger.seelig@create3000.de</a><br>
Web:      <a href="http://titania.create3000.de" rel="noreferrer" target="_blank">http://titania.create3000.de</a><br>
<br>
Future to the fantasy ★ ★<br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">Andreas Plesch<br>39 Barbara Rd.<br>Waltham, MA 02453</div>
</div>