PoleStar Member Licensed User Longtime User Jun 12, 2016 #1 hi I converted LatLon To XY and calculated the area of polygons with this (www.mathopenref.com/coordpolygonarea2.html) algorithm in google map now how can convert area unit to Meter 2 Great thanks
hi I converted LatLon To XY and calculated the area of polygons with this (www.mathopenref.com/coordpolygonarea2.html) algorithm in google map now how can convert area unit to Meter 2 Great thanks
PoleStar Member Licensed User Longtime User Jun 12, 2016 #2 i want make like this https://www.freemaptools.com/area-calculator.htm Upvote 0
jmon Well-Known Member Licensed User Longtime User Jun 13, 2016 #4 There are no built in functions for that. You'll have to compute it by doing some maths. There are lots of examples on internet for that : https://www.google.co.th/search?q=math compute perimeter polygon&oq=math compute perimeter polygon Edit: more example http://www.mathopenref.com/coordpolygonarea.html http://janmatuschek.de/LatitudeLongitudeBoundingCoordinates Upvote 0
There are no built in functions for that. You'll have to compute it by doing some maths. There are lots of examples on internet for that : https://www.google.co.th/search?q=math compute perimeter polygon&oq=math compute perimeter polygon Edit: more example http://www.mathopenref.com/coordpolygonarea.html http://janmatuschek.de/LatitudeLongitudeBoundingCoordinates
Mark Read Well-Known Member Licensed User Longtime User Jun 13, 2016 #5 There is an excel spreadsheet - here, which should help you. Upvote 0
klaus Expert Licensed User Longtime User Jun 13, 2016 #6 I converted LatLon To XY and calculated the area of polygons... Click to expand... How have you done this? I suppose that LatLon coordinates are degrees, how did you convet them to XY. Without knowing what you have done impossible to give a concrete advice. Upvote 0
I converted LatLon To XY and calculated the area of polygons... Click to expand... How have you done this? I suppose that LatLon coordinates are degrees, how did you convet them to XY. Without knowing what you have done impossible to give a concrete advice.
PoleStar Member Licensed User Longtime User Jun 14, 2016 #7 jmon said: There are no built in functions for that. You'll have to compute it by doing some maths. There are lots of examples on internet for that : https://www.google.co.th/search?q=math compute perimeter polygon&oq=math compute perimeter polygon Edit: more example http://www.mathopenref.com/coordpolygonarea.html http://janmatuschek.de/LatitudeLongitudeBoundingCoordinates Click to expand... I 'm calculation but I do not know unit I would like meter unit mark35at said: There is an excel spreadsheet - here, which should help you. Click to expand... tanks but this is not area calculation klaus said: How have you done this? I suppose that LatLon coordinates are degrees, how did you convet them to XY. Without knowing what you have done impossible to give a concrete advice. Click to expand... https://www.b4x.com/android/forum/threads/find-screen-x-y-of-google-map.61309/#post-386710 Last edited: Jun 14, 2016 Upvote 0
jmon said: There are no built in functions for that. You'll have to compute it by doing some maths. There are lots of examples on internet for that : https://www.google.co.th/search?q=math compute perimeter polygon&oq=math compute perimeter polygon Edit: more example http://www.mathopenref.com/coordpolygonarea.html http://janmatuschek.de/LatitudeLongitudeBoundingCoordinates Click to expand... I 'm calculation but I do not know unit I would like meter unit mark35at said: There is an excel spreadsheet - here, which should help you. Click to expand... tanks but this is not area calculation klaus said: How have you done this? I suppose that LatLon coordinates are degrees, how did you convet them to XY. Without knowing what you have done impossible to give a concrete advice. Click to expand... https://www.b4x.com/android/forum/threads/find-screen-x-y-of-google-map.61309/#post-386710
Mark Read Well-Known Member Licensed User Longtime User Jun 14, 2016 #8 PoleStar said: tanks but this is not area calculation Click to expand... Not quite sure what you looked at but look at the tab "area & perimeter" again! The input is lat and lon. Upvote 0
PoleStar said: tanks but this is not area calculation Click to expand... Not quite sure what you looked at but look at the tab "area & perimeter" again! The input is lat and lon.
PoleStar Member Licensed User Longtime User Jun 14, 2016 #9 mark35at said: Not quite sure what you looked at but look at the tab "area & perimeter" again! The input is lat and lon. Click to expand... Compared with : https://www.freemaptools.com/area-calculator.htm Results not equal Upvote 0
mark35at said: Not quite sure what you looked at but look at the tab "area & perimeter" again! The input is lat and lon. Click to expand... Compared with : https://www.freemaptools.com/area-calculator.htm Results not equal
klaus Expert Licensed User Longtime User Jun 14, 2016 #10 Try this: Code: Copy Dim ll as LatLng ll.Initialize(0, 1) Dim xy() as Double =LatLonToXY(ll) The coordinate is 1 degree on the equator. What values do you get? If you get something similar to 111.319 the unit is km. If you get something similar 111319 the unit is m. If you get something similar 69.171 the unit is mile. My GoogleMap doesn't work anymore so I couldn't test it. Upvote 0
Try this: Code: Copy Dim ll as LatLng ll.Initialize(0, 1) Dim xy() as Double =LatLonToXY(ll) The coordinate is 1 degree on the equator. What values do you get? If you get something similar to 111.319 the unit is km. If you get something similar 111319 the unit is m. If you get something similar 69.171 the unit is mile. My GoogleMap doesn't work anymore so I couldn't test it.