You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
how do i reference wk library in c++ project ?
I haven't learned R language, but I want to implement some functions. I noticed that there are many functions I want in the s2 library ( https://github.com/r-spatial/s2 ). Can I also use the S2 library directly in the c++ project?
The text was updated successfully, but these errors were encountered:
I want to realize the conversion between wkb format data and S2point /S2 polygon /etc, but now I have two problems:
1 . Is the SRID of S2geometry 4326?
2. The wkb format is
WKBPoint {
byte byteOrder;
uint32 wkbType;
Point point;
};
s2point is (longitude, latitude), for example: POINT(24,32),S2point is implemented with Vector3, including (x, y, z), which converts latitude and longitude into a three-dimensional unit vector, so i want to ask:To store point in wkb, use two doubles to store latitude and longitude ?or three doubles to store the (x, y, z) of the unit vector?
how do i reference wk library in c++ project ?
I haven't learned R language, but I want to implement some functions. I noticed that there are many functions I want in the s2 library ( https://github.com/r-spatial/s2 ). Can I also use the S2 library directly in the c++ project?
The text was updated successfully, but these errors were encountered: