D
D
Dmitry Krapivin2018-04-24 11:25:03
Java
Dmitry Krapivin, 2018-04-24 11:25:03

How to design a class and attributes to store multiple object coordinates?

Hello.
There is data that comes with the kml file.
Example:
<Temperature>
<56 78> < 103.777.0.8
104.8.0.567987 104.0.67878641 104.3, 0.677898 104.456.0.8 103.8.1.45678> Accordingly
, there is a class with attributes:
class " WEEATHER " I realized that it is better to put the coordinates in a separate table to store multiple coordinates. Class "GEO_COORDINATES" ..... Can you please tell me what attributes (and attribute type) should be in order to store a bunch of coordinates?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
anikavoi, 2018-04-25
@kiru

Sorry, I don't understand the question.
The coordinates are two numbers.
If the coordinates are given in the form <degrees'minutes''seconds.fractions_seconds> , then it is easier to immediately convert them to the form <degrees.decimal_degrees> - and this is a banal number with a long (or fixed - this is not so important) point. Transformation is elementary.
We forget tightly about the northern and southern latitudes, as well as about the western and eastern longitudes. enter negative and positive, or simply move the range only to positive.
In any case, when we did a GIS project, we made this decision at the beginning and never regretted it later.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question