I have a problem with the Get Geometry From JSON activity
I have the following polygon description;
{"rings": [ [ [51.520833, -0.195543 ], [51.52086, -0.195543], [51.52086, -0.195499], [51.520833, -0.195499], [51.520833, -0.195543] ] ], "spatialReference" : {"wkid":4326}}
I use the Convert To JSON activity and get the following result;
"{\"rings\": [ [ [51.520833, -0.195543 ], [51.52086, -0.195543], [51.52086, -0.195499], [51.520833, -0.195499], [51.520833, -0.195543] ] ], \"spatialReference\" : {\"wkid\":4326}}"
This gets passed into the Get Geometry From JSON activity
Looking in developer tools I see that the output from the activity is undefined.
What might I be doing wrong ?
Just for info my map backdrop is in 27700 not 4326, my next task is to project the geometry to 27700
-
So I think the problem is when I pass the geometry to the Project Point. If I use the rest endpoint for the geometry server I get an Invalid or missing input parameters so there must be something wrong in the json I am building
0 -
I have resolved this problem it was a mistake in my json
0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
2 kommentarer