Select to view content in your preferred language

Geoprocessing with multiple attributes

660
0
08-01-2013 05:28 AM
DavidRaijmakers
Regular Contributor
Hello,

I am facing the problem that i can't put more than one attribute in the GP Server when i want to execute a task,

Does anyone know the syntax how to seperate between a value or if this is possible,

Here's my code for one value:

var params:Object =
  {"Input_Event_Table": {"features":[{"attributes":{"Geocode":puntGeoWaarde,"KmVan":puntKmWaarde}}]}};
  
                             gp.execute(params);


But i need like: {"Geocode":puntGeoWaarde,"KmVan":puntKmWaarde} & {"Geocode":puntGeoWaarde,"KmVan":puntKmWaarde} next to eachother..

Thanks in advance,

David
Tags (2)
0 Kudos
0 Replies