Group Abstract Group Abstract

Message Boards Message Boards

Incorrect locator GeoPosition error in Manipulate[GeoGraphics[]]

Posted 1 month ago

I used Locator in Manipulate[] to update mouse click point in GeoGraphics[]. The returned GeoPositionp[ from Locator has error in Latitude largely. See the following code. In this Poland map, Warsaw has {52.23,21.01} in latitude,longitude. Initialization of Locator to Warsaw did not work and there is 9.13 degree error in the latitude. It is huge error in location.

Manipulate[
 Column[
  {
   "LocPos",
   LocPos,
   GeoGraphics[GeoRange -> {{48, 56}, {12, 27}}, 
    GeoBackground -> "StreetMap", ImageSize -> Large]
   }
  ]
 ,
 {{LocPos, GeoPosition[{52.23, 21.01}]}, Locator}  
 ]
Attachment

Attachment

POSTED BY: Yeonjoon Park
2 Replies
Posted 1 month ago

Thank you. It solved my problem.

POSTED BY: Yeonjoon Park
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard