Questions tagged [coordinate-systems]
Coordinate systems use one or more numbers, or coordinates, to uniquely determine the position of a point or geometry in space.
937
questions
-1
votes
0
answers
7
views
Coordinate Reference System [closed]
Can anyone identify the CRS for this example:
-236319.841436661779881,6804828.887707516551018
which is located in Gloucestershire, in the SW of the UK.
I've tried every European CRS that I can find.
...
0
votes
1
answer
22
views
JSXGraph: Board without ability to zoom and pan
I don't have much experience with JSXGraph and I have a basic question.
How can I create a coordinate system that cannot be zoomed or panned?
I tried:
"var board=JXG.JSXGraph.initBoard(divid, { ...
0
votes
0
answers
29
views
Is there some iterative way to compute heading and GPS projection at the same time?
I have the following situation:
An off-road machine has a GPS antenna that is not at the center of the rear axle (this point is my path-tracking-control point). Let's say it's 3 meters from the rear ...
0
votes
0
answers
24
views
measuring with openlayers api does not give accurate value
my problem is that measured length or area with openlayers api has difference with the real one, for example a 55.30 meter length is 50.13 m in my web app. my data are in "projected UTM WGS84 ...
0
votes
0
answers
21
views
Reportlab Paragraph text offset with respect to Paragraph bounding box
I'm trying to use reportlab's Paragraph (reportlab.platypus.Paragraph) in a document with bottomup=0 (I'm using reportlab's canvas), and for some reason the text is starting at the end of the ...
0
votes
0
answers
74
views
Import and calculate camera orientation into open3d
I am trying to import a mesh generated by Reality Capture (with photogrammetry) as well as the camera positions and their orientation into open3d in python. My goal is to visualize the camera ...
0
votes
2
answers
95
views
How to calculate Apparent ecliptic Lat long and RA Dec in rust
I want to calculate ecliptic lat long and RA Dec in rust, previously I used to use python-skyfield library but now due to some reasons I have to write the entire code in rust. But I am unable to get ...
0
votes
0
answers
24
views
Making a map with excel data in R: How to convert north and east coordinate format to decimal degrees?
I am trying to make a map in R. The data gives me east coordinates in the column east_coord with the format: -18445. And the north coordinates in the column north_coord with the format: 6914633. They ...
0
votes
0
answers
20
views
Transforming coordinate system for 3D points
I have a set of 3D points (let's say 10 points created randomly with x,y,z values between 0-100) and I want to transform them to another coordinate system. I also have the rotation (R) and translation ...
0
votes
0
answers
77
views
Jetpack Compose. How to scroll to specific BasicTextField?
I'm trying to implement custom keyboard. This keyboard must be app-specific and I try to build it into your UI rather than pushing it out to a generic IME. So I need to manually track if the input ...
0
votes
1
answer
69
views
How to convert global_invocation_id to clip space coordinates? (To convert depth buffer to world space position)
I am writing a compute shader that runs some function for every pixel in a framebuffer. To simplify this question, I'm using a workgroup size of 1.
@compute
@workgroup_size(1, 1)
fn main(@builtin(...
1
vote
1
answer
68
views
Does macOS use different coordinate systems for different UI levels or different frameworks?
I'm teaching myself some macOS GUI programming among other things, slowly.
I thought the origin for the coordinate system was in the top-left like in most systems but came across this older OS X ...
0
votes
1
answer
52
views
Is there a convenient way to generate points a given distance and direction away from another point on the globe in R?
I'm trying to randomly generate a point within a 10 kilometer radius of a point on the globe in R, and cannot figure out how to in a direct way. The goal is to have an arbitrary point on the globe ...
0
votes
0
answers
60
views
Overlay two rasters with different CRS in python
I have two rasters, first Landsat8 in WGS84, second Euro-Cordex with rotated lon and lat.
Landsat8 with bounds (18.59485688668886, 49.1151186646496, 18.87809569577174, 49.30106992846235)
ls='C:/...../...
0
votes
2
answers
84
views
How to change the coordinate system without losing the data points in the new transformed plot?
I have a dataframe, called coords which contains x and y coordinates. (Please see below to get the output of dput(coords) for reproducibility.
I add a column containing a random value for each pair of ...
2
votes
1
answer
131
views
Extracting CRS Codes from PyProj Library
I need help with a python program. I am looking to obtain crs codes/definitions from Pyrpoj library, add them to a list, allow the user to select a crs from the list and print it out, but it does not ...
0
votes
0
answers
74
views
How to convert quaternion between coordinate systems
I have a quaternion, coming from a system with the following: (Unity)
Left-handed.
Forward direction: Z axis
Right direction: X axis
Up direction: Y axis
I need to convert this into a coordinate ...
0
votes
0
answers
30
views
Elongation problem with Seaborn's Kdeplot
I am currently working on creating a Kernel density estimation (Seaborn's Kdeplot) visualization of point cloud data between two countries. However, I have encountered a problem for which I need some ...
0
votes
0
answers
67
views
Deep Learning model to predict the coordinates of the vertices of a polygon given its centroid
I am required to come up with a Deep Learning model which takes a vector as input and predicts the 3D coordinates of the vertices of the n-sided polygon (where n can vary from 3 to 10). The input ...
0
votes
1
answer
120
views
Deep Learning Model to predict polygon centroids
I know this seems like complicating a very simple problem, but I have been instructed to do this by my supervisor who wishes to find the centroid of each molecular face of a large molecule. This ...
1
vote
0
answers
96
views
How to merge two 3d coordinate systems? Data from two Azure Kinect Cameras - Calibration
I have to analyze data from two Azure Kinect cameras. Before every measurement we had a calibration sequence where the subjects stands for 15 seconds in a T-position without moving.
For every frame I ...
0
votes
0
answers
41
views
Convert latitudes and longitudes to utm on the equator (latitudes have mixed signs)
I am using the utm package and want to convert a set of latitudes and longitudes near the equator. For my use case I do not know the UTM zone before hand.
The following minimal example
import utm
...
1
vote
0
answers
125
views
Transform coordinates with PostGIS based on Proj4 transformation text
I am working on a project where I have to transform coordinates expressed in LUREF (LUxemburg REference System/Frame) to WGS84 (Lat/long) by using the bundle PostGIS of Postgres database.
The Proj4 ...
0
votes
0
answers
131
views
How to find the angle between two rotational quaternions?
I want to find out by much angle each quaternion is moving and if its rotating in the same direction ( clockwise / anti-clockwise)
Right now, I am doing the following to calculate the rotation but I ...
0
votes
0
answers
17
views
What 3D coordinate system transformations should i do to values from a system to another one
I'm trying to change from a 3D coordinate system to another, a draw will speak better than me (sorry for the quality :
enter image description here
What transform should I do from the PY values to get ...
0
votes
0
answers
17
views
How can I ensure consistency in CRS and units between a spatial polygon dataframe and a list of observations with coordinates?
I have two files, one is a spatial polygon dataframe with a country boundary. The second is a list of observations and associated coordinates.
I need to ensure that these files are in the same CRS and ...
0
votes
0
answers
22
views
How do I use "world coordinates" in p5.js? [duplicate]
I grew up with computer graphics in the 1980s, thinking in Cartesian coordinates, with the origin in the bottom left, and the vertical y axis increasing as you go "up" the screen. But nearly ...
1
vote
1
answer
185
views
Converting lat/long coordinates to UTM using Javascript - wrong easting
I am trying to convert these coordinates to UTM
const longitude = 143.5279742;
const latitude = 44.062027;
// Calculate the UTM coordinates
const zoneNumber = Math.floor((longitude + 180) / 6) + 1;
...
0
votes
0
answers
84
views
How should I store a Northing, Easting Coordinate in an SQL Database?
My database is set up with a table of coordinate reference systems. Another table is used to store points and a foreign key is use to link these two together. What is the best way to store the point ...
0
votes
0
answers
16
views
Angle between traces formed by four geografic coordinates [duplicate]
enter image description hereIf I have a first trace formed by two coordinates:
lat1=-2.760411024093628
lat2=-2.799418926239014
long1=-12.332500457763672
long2=-12.508299827575684
and a second trace ...
0
votes
1
answer
206
views
Find the coordinates of a 3D point given the euclidean distance and rotation to another known point
Imagine a 3D point (Point 1) with coordinates to origin x,y,z=1,2,3 and quaternion rotation values to origin: w,x,y,z=0.8,0.1,0.1,0.1 (which can be converted to rotation matrices). Further, imagine ...
0
votes
0
answers
156
views
C++/WinRT Hololens 2 - How to convert the position of an object from the device coordinate system to the world coordinate system
I am having trouble getting the position of an object in world coordinates, using TryGetTransformTo.
The results are very incoherent.
WHAT I AM DOING
I understand that world coordinate system is the ...
0
votes
2
answers
463
views
Converting Euler rotation angles from Z-up to Y-up (Max to Maya)
3Ds Max uses a right-handed coordinate system with z-up, Maya uses a right-handed coordinate system with y-up.
I have an object rotation vector value in 3Ds Max in Euler angles: max_rotation = [35.0, ...
0
votes
1
answer
214
views
Geoserver WFS coordinates reprojection returns wrong latitude
I'm using geoserver and leaflet to show some data in an application.
The geoserver connect to a DB which contains spatial data (points) in EPSG:3785 format.
Leaflet require EPSG:4326 format to show ...
0
votes
1
answer
100
views
Sorting a list of points to match an other list to create straight lines without any intersection
I write code in Python.
I have two lists containing points on a plane: points1 and points2.
Given:
len(points1) == len(points2)
Another fact is that all the points in the list points1 are on one side ...
0
votes
0
answers
27
views
Convert Quaternion rotation to another coordinate system that is defined by direction vectors
I have 3 vectors representing the direction of each axis of the new space. I have a quaternion that represents a rotation in this space. I want to convert this rotation to global space. How may I do ...
0
votes
0
answers
22
views
How to use the canvas scale method in javascript with the implementation a coodinates remaping
I have a simple HTML canvas and a JavaScript that draws something on it. The problem is that, I implemented a remapping function that converts xOy orthogonal coordinates system to screen coordinates ...
1
vote
1
answer
120
views
onmousemove event results in wrong position
I am trying to move an element in the screen using Yew. When element is in the top left of the screen, I can move it correctly. But when the element starts in other position, it gets to a wrong place ...
1
vote
3
answers
155
views
What are the `y` and `x` params to the python curses `window.getch()` method?
I may be missing something very obvious, but
I am confused by the optional [y, x] parameters to the window.getch( [y, x] ) method described in the Python documentation. What are these optional params ...
0
votes
1
answer
164
views
filter by polygon includes points
I have a fastapi route, that receive 2 coordinate points of rectangle (left-bottom and right-top). I need to select all my rows from table, that has column "coodinates", that contains ...
0
votes
0
answers
20
views
Understanding Google Jump camera coordinates convention
I am not able to grasp the camera coordinate convention used in Google Jump explained here.
basically I don't understand why the theta angle is 0 when x=1 as shown in the picture. Shouldn't the theta ...
0
votes
1
answer
38
views
Using oblique coordinates in SVG
This Code Golf SE question gives coordinates in a 60 degree oblique coordinate system. While it's perfectly possible to convert those coordinates to orthonormal, I'm curious if there's a way to ...
1
vote
0
answers
147
views
How to convert ECI coordinates to a specific ITRS (such as ITRF2014) coordinate frame using astropy?
I want to convert ECI(GCRS frame) to ITRF2014, but in astropy I did not find any particular option to do so. In the docs and other examples, it is written like the transformation is happening to ITRS ...
0
votes
1
answer
122
views
Coordinate system in GDAL
I'm developing a software which takes an SXF file as input, and does some calculations on C++ using GDAL. The problem is, I'm not sure which coordinate system is used by SXF.
When I try to output ...
-1
votes
1
answer
114
views
Printing a circle on the terminal with a 2D array in C
I'm trying to print a circle to the terminal using the formula:
x = r * sin(angle) && y = r * cos(angle)
but for some reason the output circle comes out as an oval shape not a perfect circle..
...
0
votes
1
answer
238
views
Converting RA-Dec to galactc coordinate(l,b)
I want to convert (RA,Dec) coordinate to galactic (l,b) coordinate using astropy.
Here are my script.
from astropy.coordinates import SkyCoord
RA=12.5039167
Dec=25.301945
c=SkyCoord(RA, Dec, unit='...
0
votes
0
answers
48
views
How do I get my coordinate points to be in my spatial dataframe so it puts the points in the right place when I upload it to ArcGIS as a shapefile?
I'm trying to upload some of my analysis from R into ArcGIS but there isn't any coordinate points when I upload it. In my original CSV file I had coordinate points but lose them when I create a ...
1
vote
1
answer
150
views
Plotting Geospatial Visualization in Python
I have a pandas dataframe that looks like this:
salesperson
company
sales_amount
area
abc
AA
54000
bandung
def
BB
23000
bogor
ghi
BC
54000
bandung
jkl
DE
23000
bogor
abc
IJ
54000
bandung
ghi
KL
...
0
votes
0
answers
10
views
How many things in vector math is a handedness specific operator?
I would like to know that if I need to change some game engine from right handed coordinate into left handed ones, how many would need to be changed? At least for all vector operation and matrix and ...