POST
|
Adam, I'm trying to load a raster function. (I think this is how to do the transformations. Is this correct?) I cannot get it to load the json file. I'm currently just trying to get the example working. (see this) There's no other code or datasets associated with the below code snippet right now, because I cannot get past this point. testfile.java public static void testRender()
{
RasterFunction rf = new RasterFunction("$PATH_TO_JSON/test.json");
} test.json {
"raster_function":{"type":"Geometric_function"},
"raster_function_arguments":
{
"raster_transform":{"raster_transform":"Raster Transform JSON object","type":"Raster_function_variable"},
"z_offset":{"double":0,"type":"Raster_function_variable"},
"z_factor":{"double":1,"type":"Raster_function_variable"},
"raster":{"is_raster":true,"name":"raster","type":"Raster_function_variable"},
"type":"Raster_function_arguments"
},
"type":"Raster_function_template"
} Thanks, Kason
... View more
03-17-2017
09:59 AM
|
0
|
1
|
585
|
POST
|
Hello Adam. Do you have an example of how to do the datum transform? According to the documentation, it's done through loading in a raster function from a .json file, but I cannot get this to work. Thanks, Kason
... View more
03-16-2017
10:28 AM
|
0
|
1
|
585
|
POST
|
Hey Adam, Thanks for your reply. I'm still having trouble getting this working. Do you have a working example?
... View more
03-14-2017
01:38 PM
|
0
|
3
|
585
|
POST
|
Hello all, I'm trying to project an image onto a map using SDK 100.0.0. I've been trying to create a json of a raster function to do this projection for each image. I've gone over this code, and copy/pasted the example function into a JSON file, but I cannot get the example code to read these functions. (failed to read xxx bytes). Any suggestions? Thanks, Kason
... View more
03-03-2017
03:45 PM
|
0
|
7
|
1222
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:25 AM
|