← Prev in month ← Prev in thread

Circle and Polygon

From
Renato Iannella <>
Date
2005-06-08T05:41:19+00:00
ID
Thread
Circle and Polygon
The "Circle" element defines a substructure of "longitude, latitude 
radius".
The "Polygon" element defines a substructure of "longitude, latitude 
longitude, latitude..."

Q1: It would be useful to define a re-useable structure for longitude 
and latitude that is
used for both elements.
It would end up like this:
   <circle>
     <long>38.333</long> <lat>-122.333</lat>
     <radius>12</radius>
   </circle>
   <polygon>
     <long>38.333</long> <lat>-122.333</lat>
     <long>33.333</long> <lat>-13.333</lat>
     ...
   </polygon>

Q2: The "Polygon" element states that the first long/lat pair is 
repeated at the end of the list.
If this necessary? That is, we can assume that if it is a Polygon, the 
last long/lat pair will
have to join to the first?


Cheers...

Dr Renato Iannella
Project Leader, NICTA, Brisbane, QLD, AUSTRALIA
P: +61 7 3000 0484 F: +61 7 3000 0480 M: +61 4 1313 2206
E:  W: http://nicta.com.au


--------------------------------------------------------------------------
This email and any attachments may be confidential. They may contain legally
privileged information or copyright material. You should not read, copy,
use or disclose them without authorisation. If you are not an intended
recipient, please contact us at once by return email and then delete both
messages. We do not accept liability in connection with computer virus,
data corruption, delay, interruption, unauthorised access or unauthorised
amendment. This notice should not be removed.
← Prev in month ← Prev in thread