Tag Info

New answers tagged


Using R, you can convert between WKB and WKT using the packages rgeos and wkb. Example: # load packages library(rgeos) library(wkb) # create raw vector representing WKB geometry wkb <- as.raw(c(0x01, 0x01, 0x00, 0x00, 0x00, 0xcd, 0xcc, 0xcc, 0xcc, 0x17, 0x0d, 0x22, 0x41, 0xb8, 0x1e, 0x85, 0x9b, 0xcb, 0x40, 0x52, 0x41)) ...

Top 50 recent answers are included