Skip to main content
replaced http://gis.stackexchange.com/ with https://gis.stackexchange.com/
Source Link

I want to find out the position (x,y) of a given point, knowing the distance from 3 x,y points.

Below you can view the x,y coordinates and their given distances in cm.

B1x = 795
B1y = 332
B1d = 245.735630302

B2x = 795
B2y = 569
B2d = 327.946642001

B3x = 516
B3y = 569
B3d = 220.635445928

I have had a look at this questionthis question, but this is for earth, and I get the error:

z = math.sqrt(pow(DistA,2) - pow(x,2) - pow(y,2)) ValueError: math domain error

FIXED the above error with abs to allow negative numbers but getting the wrong coordinates.

I want my algorithm to calculate in a 2D environment, with the given values above.

Here is the map:

You can see the green X, is where I want to locate, from the three given beacons (x,y) locations.

enter image description here

I want to find out the position (x,y) of a given point, knowing the distance from 3 x,y points.

Below you can view the x,y coordinates and their given distances in cm.

B1x = 795
B1y = 332
B1d = 245.735630302

B2x = 795
B2y = 569
B2d = 327.946642001

B3x = 516
B3y = 569
B3d = 220.635445928

I have had a look at this question, but this is for earth, and I get the error:

z = math.sqrt(pow(DistA,2) - pow(x,2) - pow(y,2)) ValueError: math domain error

FIXED the above error with abs to allow negative numbers but getting the wrong coordinates.

I want my algorithm to calculate in a 2D environment, with the given values above.

Here is the map:

You can see the green X, is where I want to locate, from the three given beacons (x,y) locations.

enter image description here

I want to find out the position (x,y) of a given point, knowing the distance from 3 x,y points.

Below you can view the x,y coordinates and their given distances in cm.

B1x = 795
B1y = 332
B1d = 245.735630302

B2x = 795
B2y = 569
B2d = 327.946642001

B3x = 516
B3y = 569
B3d = 220.635445928

I have had a look at this question, but this is for earth, and I get the error:

z = math.sqrt(pow(DistA,2) - pow(x,2) - pow(y,2)) ValueError: math domain error

FIXED the above error with abs to allow negative numbers but getting the wrong coordinates.

I want my algorithm to calculate in a 2D environment, with the given values above.

Here is the map:

You can see the green X, is where I want to locate, from the three given beacons (x,y) locations.

enter image description here

Post Closed as "Needs more focus" by Brad Nesom, Jason Scheirer, SS_Rebelious, Chad Cooper, Mapperz
fixed error
Source Link

I want to find out the position (x,y) of a given point, knowing the distance from 3 x,y points.

Below you can view the x,y coordinates and their given distances in cm.

B1x = 795
B1y = 332
B1d = 245.735630302

B2x = 795
B2y = 569
B2d = 327.946642001

B3x = 516
B3y = 569
B3d = 220.635445928

I have had a look at this question, but this is for earth, and I get the error:

z = math.sqrt(pow(DistA,2) - pow(x,2) - pow(y,2)) ValueError: math domain error

FIXED the above error with abs to allow negative numbers but getting the wrong coordinates.

I want my algorithm to calculate in a 2D environment, with the given values above.

Here is the map:

You can see the green X, is where I want to locate, from the three given beacons (x,y) locations.

enter image description here

I want to find out the position (x,y) of a given point, knowing the distance from 3 x,y points.

Below you can view the x,y coordinates and their given distances in cm.

B1x = 795
B1y = 332
B1d = 245.735630302

B2x = 795
B2y = 569
B2d = 327.946642001

B3x = 516
B3y = 569
B3d = 220.635445928

I have had a look at this question, but this is for earth, and I get the error:

z = math.sqrt(pow(DistA,2) - pow(x,2) - pow(y,2)) ValueError: math domain error

I want my algorithm to calculate in a 2D environment, with the given values above.

Here is the map:

You can see the green X, is where I want to locate, from the three given beacons (x,y) locations.

enter image description here

I want to find out the position (x,y) of a given point, knowing the distance from 3 x,y points.

Below you can view the x,y coordinates and their given distances in cm.

B1x = 795
B1y = 332
B1d = 245.735630302

B2x = 795
B2y = 569
B2d = 327.946642001

B3x = 516
B3y = 569
B3d = 220.635445928

I have had a look at this question, but this is for earth, and I get the error:

z = math.sqrt(pow(DistA,2) - pow(x,2) - pow(y,2)) ValueError: math domain error

FIXED the above error with abs to allow negative numbers but getting the wrong coordinates.

I want my algorithm to calculate in a 2D environment, with the given values above.

Here is the map:

You can see the green X, is where I want to locate, from the three given beacons (x,y) locations.

enter image description here

edited tags
Link
Brad Nesom
  • 17.4k
  • 2
  • 44
  • 68
Source Link
Loading