Tag Info

New answers tagged

0

Looks like a bug to me, since the projection parameters were not correctly stored or read when reopening (I can't tell which is correct). No errors were raised, and Set / Get / Import methods return a 0 (= good) status, so there are no signals of any errors. You can add this bug to here. If you need a User ID, it is from here. It's also good practice to see ...


0

At the moment I got it working like this. But i have the feeling it's not the best way to do it. If anybody have a better way to do it, please say it. I'm using gson 2.3.1 InputStream in = new FileInputStream(context.getExternalFilesDir(null).getPath() + "/" + jsonDatabaseFile); JsonReader reader = new JsonReader(new InputStreamReader(in, "UTF-8")) ; ...


0

GeoTools provides datastores that can read from and write to SQL Server and PostGIS databases. It should be pretty easy to knock up a program to move data from one to the other.


0

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)) ...


0

Found one online that might be helpful converting WKT to GeoJson and allowing preview online: http://orielo.com/projects/wkt2geojson



Top 50 recent answers are included