Questions tagged [geodesic-sphere]
44 questions
23
votes
4 answers
Math for a geodesic sphere
I'm trying to create a very specific geodesic tessellation, but I can't find anything online about it.
It is normal to subdivide the triangles of an icosahedron into triangle patches and project them onto the sphere. However, I noticed an animated…

Marcelo Cantos
- 181,030
- 38
- 327
- 365
9
votes
1 answer
Check if point is inside a circle
I have a point expressed in lat/long
Position louvreMuseum = new Position( 48.861622, 2.337474 );
and I have a radius value expressed in meters. I need to check if another point, also expressed in lat/long, is inside the circle.
If I were on a flat…

Lorenzo
- 29,081
- 49
- 125
- 222
6
votes
4 answers
Algorithm for a geodesic sphere
I have to make a sphere out of smaller uniformely distributed balls. I think the optimal way is to build a triangle-based geodesic sphere and use the vertices as the middle points of my balls. But I fail to write an algorithm generating the…

Kyle_the_hacker
- 1,394
- 1
- 11
- 27
4
votes
2 answers
New Xcode beta new problems: MKGeodesicPolyline
The brand new Xcode version, in addition to removing a wide nume of place where to add an empty function call, introduced a funny problem with an simple piece of code drawing a geodetic path:
func drawPolyline(from startLocation: CLLocation,…

Fabrizio Bartolomucci
- 4,948
- 8
- 43
- 75
4
votes
1 answer
Which one of these azimuth values is the right one? And why?
First of all, let's make clear that I want the Azimuth on the surface of the Earth, i.e. the angle between two locations, for example New York and Moscow.
I am testing some azimuth calculations with my JS functions (shown below). For the points…

joaorodr84
- 1,251
- 2
- 14
- 33
3
votes
1 answer
Geodesic distance between geometry shapes Python
Having a dfA with a column called geometry with the following geometrical shapes:
d = {'id': [1, 2], 'geometry': ['POINT (-70.66000 -33.45000)', 'POINT (-74.08000 4.60000)']}
dfA = pd.DataFrame(data=d)
dfA
| | id | geometry …

David Ordoñez
- 55
- 1
- 1
- 8
3
votes
0 answers
Google Static Maps Issue: Geodesic path having corners
I am having issues with geodesic path/polylines with Google Static Maps.
Buggy map with…

tobidude
- 480
- 1
- 7
- 11
3
votes
0 answers
Proj4j projection results wildly inaccurate
I'm trying to use EquidistantAzimuthalProjection to get the latitude/longitude of a new location based on its relative distance and bearing to a known location. Here is my source code:
import org.osgeo.proj4j.ProjCoordinate
import…

tribbloid
- 4,026
- 14
- 64
- 103
3
votes
1 answer
Is the Azimuth on the equator equal to the one not on the equator?
I am trying to fully understand the concept of Azimuth and I am encountering some inconsistencies (or maybe it is my error).
I show you some examples that do not match, hoping somebody can explain me how this really works.
I show the coordinates in…

joaorodr84
- 1,251
- 2
- 14
- 33
2
votes
1 answer
Calculate latitude longitude points of geodesic grid triangle points (preferable using python)
I would like to divide a sphere with a certain radius into a geodesic grid with the triangle edges of around a certain size. As a result I would like to have a list of latitude/longitudes of all the triangle edge points (or center points). My…

joosthoek
- 173
- 1
- 3
- 9
2
votes
0 answers
THREE.JS - Flatten a geodesic polyhedron
I'm working on a hex-tile based planet generator- think Civ5 terrain projected onto a geodesic sphere.
The image that follows is the top half of such a shape: Figure
I am looking to flatten these individual hexagons and pentagons into a plane,…

Lucas Young
- 21
- 1
2
votes
2 answers
Efficiently compute pairwise haversine distances between two datasets - NumPy / Python
I want to calculate the geo-distance between latitude-longitude.
I had checked this thread Vectorizing Haversine distance calculation in Python
but when I am using it for two different set of coordinates, I m getting an error.
df1 size can be in…

Rajat Gupta
- 72
- 1
- 13
2
votes
0 answers
How can I create a label that always stays near a polyline in Cesium.js?
I have a situation where I'm using Cesium.js entities to draw bearing lines from a point. In addition, I'd like to have a label attached to these bearing lines on the entity to show what it is. This is easy enough to do by attaching a label to the…

stix
- 1,140
- 13
- 36
2
votes
2 answers
Splitting a string containing a longitude or latitude expression in perl
I retrieve data from the net containing real geodesic expressions, by that I mean degrees, minutes and seconds with Unicode symbols: U+00B0, U+2032 and U+2033, named Degree, Prime and Double Prime. Example:
my $Lat = "48° 25′ 43″ N";
My objective…

perlboy
- 64
- 7
2
votes
2 answers
GeoDesic Buffers sample code does not work in my local IIS Server
I am new to use ArcGis Api for javascript, I am using JS Api 3.20.
I have been trying for 3 days but it does not work.
I have taken code from the following link
Geometry Engine - Geodesic buffers | ArcGIS API for JavaScript 3.20
I paste…
user7730840