|
POST
|
see https://community.esri.com/thread/233854-kluge-new-attributes-into-map-service-soi
... View more
07-04-2019
09:47 AM
|
0
|
0
|
992
|
|
POST
|
with json.net you can write similar code async Task Main()
{
var httpClient = new HttpClient();
var response = await httpClient.GetAsync($"https://.../MapServer/0/query?where=&text=&objectIds=1%2C2%2C4&time=&geometry=&geometryType=esriGeometryEnvelope&inSR=&spatialRel=esriSpatialRelIntersects&relationParam=&outFields=*&returnGeometry=true&returnTrueCurves=false&maxAllowableOffset=&geometryPrecision=&outSR=&having=&returnIdsOnly=false&returnCountOnly=false&orderByFields=&groupByFieldsForStatistics=&outStatistics=&returnZ=false&returnM=false&gdbVersion=&historicMoment=&returnDistinctValues=false&resultOffset=&resultRecordCount=&queryByDistance=&returnExtentOnly=false&datumTransformation=¶meterValues=&rangeValues=&quantizationParameters=&f=json");
var r = await response.Content.ReadAsStringAsync();
JObject j = JObject.Parse(r);
JObject alias = (JObject)j["fieldAliases"];
alias.Add("NewField1", new JValue("NewField 1"));
JArray items = (JArray)j["fields"];
items.Add(new JObject()
{
{ "name", "NewField1" },
{ "type", "esriFieldTypeString"},
{ "alias", "NewField 1" },
{ "length", 25 }
});
JArray features = (JArray)j["features"];
foreach (var element in features)
{
//if objectid is 1 field NewField1 add value NewValue
if ((int)element["attributes"]["OID"] == 1)
{
element["attributes"]["NewField1"] = "NewValue";
}
....
}
j.ToString().Dump();
}
... View more
07-04-2019
09:46 AM
|
2
|
1
|
841
|
|
POST
|
GitHub - Esri/server-extension-dotnet: Server extensions allow developers to change and extend the capabilities of ArcGI…
... View more
07-04-2019
06:33 AM
|
0
|
0
|
479
|
|
POST
|
you can use CreateSharingDraft—Sharing module | ArcGIS Desktop
... View more
03-19-2019
10:10 AM
|
4
|
3
|
3441
|
|
POST
|
Arcobjects are STA com so with TPL is only waste of time . You could try with a task scheduler ( https://devblogs.microsoft.com/pfxteam/parallelextensionsextras-tour-5-stataskscheduler/ )
... View more
03-19-2019
03:30 AM
|
2
|
1
|
1230
|
|
POST
|
Yes you can return a image: else if (outputFormat == "image")
{
responseProperties = "{\"Content-Type\" : \"image/png\"}";
return Helper.ImageToByte(image, System.Drawing.Imaging.ImageFormat.Png);
}
public static byte[] ImageToByte(Image img, System.Drawing.Imaging.ImageFormat format)
{
byte[] byteArray = new byte[0];
using (MemoryStream stream = new MemoryStream())
{
img.Save(stream, format);
stream.Close();
byteArray = stream.ToArray();
}
return byteArray;
} For change render I advise use dynamic layer: About dynamic layers—Documentation (10.3 and 10.3.1) | ArcGIS Enterprise (for details see 'Changing symbols and renderers' Alternatives to server object extensions—Documentation (10.3 and 10.3.1) | ArcGIS Enterprise )
... View more
03-19-2019
01:38 AM
|
0
|
0
|
626
|
|
POST
|
Unless you have an additional load balancer or reverse proxy server, service requests will be handled by each site’s Web Adaptor or load balancer, and each site will have its own top-level domain. https://www.esri.com/arcgis-blog/products/arcgis-enterprise/administration/how-to-migrate-to-single-cluster-arcgis-server-sites/
... View more
11-05-2018
03:01 AM
|
3
|
0
|
1041
|
|
POST
|
I have written a code that use list of oids and I have added the condition of paging but I haven't modified my function return oids (get_object_ids). But if returnIdsOnly is ignored with offset no problem: I have removed the condition in code: Fixed services that support paging · nicogis/DownloadService@ab17f3f · GitHub Tanu, but you could receive this error with a simple request rest query with returnIdsOnly ( there is no limit on the number of object IDs returned in the ID array response ) so can be useful do paging of oids I have generated about 8000000 oids In some server with high number of services I had 'Unable to process request. Error handling service request :Cannot obtain a free instance.; nested exception is: java.lang.OutOfMemoryError: GC overhead limit exceeded'. ( GC overhead limit exceeded – Plumbr ) so I had also the need change 'app server maximum heap size' for allocate more memory.
... View more
10-02-2018
11:47 AM
|
0
|
0
|
5297
|
|
POST
|
Ok I have seen thank you. Feature layers powered by ArcGIS Enterprise feature services will be rendered using WebGL at 10.6.1. Full server-side caching and PBF will be in an upcoming release. I thought that queries are also performed using the Protocolbuffer Binary Format (PBF), which reduces the size of the data delivered to the browser was already available in 10.6.1
... View more
10-02-2018
06:28 AM
|
0
|
0
|
1129
|
|
POST
|
I am not sure but I have created a feature service hosted on premise in 10.6.1 but I don't see f=pbf in rest directory feature service but only if I create a feature service in agol. Have you same behavior ? webgl enabled via js api calls f=pbf (same format of Vector Tile)
... View more
10-02-2018
05:47 AM
|
0
|
2
|
1129
|
|
POST
|
Tanu, ok that 'Return IDs Only' hasn't limit (maxRecordCount) but if I use resultOffset and resultRecordCount for example to do paging of oids (where 1=1 and Return IDs Only = true) seems that resultOffset and resultRecordCount are ignored. Is it for design ?
... View more
10-02-2018
03:31 AM
|
0
|
2
|
5297
|
|
POST
|
If you do a custom modified jsapi you can do a soe Add ability to change the processing the SOI via client you need change client so you can do a soe. Perhaps for soi/parameter you can try add parameter at url proxy in client so you can avoid change client Esri
... View more
09-05-2018
03:03 AM
|
0
|
0
|
1582
|
|
POST
|
If can be help you can see this soi GitHub - nicogis/ImageProcessing-SOI . In this line you can loop your polygons (in this link is a point feature class) and you renderer with your function using GDI.
... View more
09-03-2018
06:38 AM
|
2
|
2
|
1582
|
|
POST
|
the process of creating of soe include dlls in bin You can check in soe file ( it's a zip file) VS 2017 is supported from 10.6.x sdk
... View more
08-23-2018
02:32 AM
|
0
|
0
|
992
|
|
POST
|
Can help you ? Remote debug environment setup for ArcGIS server extensions- SOE and SOI | GIS and Remote Sensing Tools,…
... View more
08-23-2018
02:20 AM
|
0
|
0
|
1968
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-20-2024 11:20 AM | |
| 1 | 05-25-2017 10:11 AM | |
| 1 | 06-20-2023 12:09 AM | |
| 1 | 10-14-2022 05:14 AM | |
| 1 | 06-14-2023 02:00 AM |
| Online Status |
Offline
|
| Date Last Visited |
Wednesday
|