check if a point is inside a polygon #43
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
It seems like your Port location point's coordinates have the x and y mixed up. |
Beta Was this translation helpful? Give feedback.
-
Short further explanation: If you look into the following readme section you can see the differences when creating points. There is the normal We added the makeGeodetic function, because a lot of people will use WGS84 as Projection. And we wanted to input to be latitude, longitude instead of longitude, latitude. Remember: |
Beta Was this translation helpful? Give feedback.
Short further explanation:
If you look into the following readme section you can see the differences when creating points.
There is the normal
Point::make(...)
function, which accepts x,y,z and then thePoint::makeGeodetic(...)
which accepts latitude, longitude.We added the makeGeodetic function, because a lot of people will use WGS84 as Projection. And we wanted to input to be latitude, longitude instead of longitude, latitude.
Remember:
Latitude -> y
Longitude -> x