|
POST
|
Hi Make sure the ArcGIS Server owner (owner of ArcSOC.exe process) have access to the files.
... View more
07-26-2016
10:18 PM
|
1
|
1
|
2908
|
|
POST
|
Hello all I have an image service with 16bit dtm. For display in other system I would like to call export map and get an 8bit image (JPEG or PNG) Is that possible? I keep getting a 16bit images or black images. Will it work if I make it map service? Thanks
... View more
07-05-2016
06:49 AM
|
0
|
0
|
1539
|
|
POST
|
When you publish it copies the connection file to local directory. Is your connection windows or rdbms authentication? - the user that runs the service is different from your map. Is the layer you try to access versioned?
... View more
07-02-2016
09:49 PM
|
0
|
1
|
2037
|
|
POST
|
Hi Check this link: Example: Write properties of all services to a CSV file—Documentation (10.4) | ArcGIS for Server There are a few other similar ones. The idea is to use python to create REST calls to get information from the server
... View more
06-26-2016
10:03 PM
|
1
|
1
|
1143
|
|
POST
|
Mosaic dataset is not Raster dataset or Raster catalog. Is it compressed or not? Testing with a smaller mosaic it did compressed with a very little in sizes (but the mosaic was small). We are using 10.3 Thanks
... View more
06-25-2016
09:37 PM
|
0
|
0
|
1368
|
|
POST
|
Here is my 5 cent… The best way is to try. Make service area for 3 minutes, if it is less than the sum roads you need try 5 minutes etc. The problem with this is that it takes too long. Doing simple select by circle is a good way to get the first guess very quick. Select circles until you get the correct number then use the radius of the circle to estimate the driving time to the edge. Remember you do not drive in a straight line to the end. If your first try is close you should get your result in 1-3 tries. Have fun Mody
... View more
06-22-2016
10:34 PM
|
0
|
0
|
1498
|
|
POST
|
Hi Ahmed My solution is similar and looks like this: newPath = [] for p in sys.path: if(p.find("Desktop") == -1): newPath.append(p) sys.path = newPath Adding these few lines into the python code save the need to change the desktop.pth and let the desktop keep working with python. Mody
... View more
06-21-2016
09:41 PM
|
1
|
0
|
1723
|
|
POST
|
We have a FGDB with mosaic with 750k tiles and a reference mosaic on it. The directory size of the FGDB on disk is 6.5 GB I try to use the Compress File Geodatabase Data on it. It works for about 20 minutes and then fail without any good error message. Anybody have such problem? Thanks
... View more
06-19-2016
10:30 PM
|
0
|
3
|
3777
|
|
POST
|
Hi all I am running into a strange problem with Python on my machine. I have desktop and server (10.3.1) installed on my machine. In many cases I have no free license for desktop (using floating license). So my first line in the script is "import arcserver" This line works when desktop license is available (but does not take a desktop license). You can see the error message in the screen shot. When the desktop license available it runs with no errors. I printed the sys.path in the screen shot, you can see that some desktop paths are still in the path, it must run some python modules from there and fail. I found a work around, I recreate the sys.path without any item that contain the string "Desktop" but it still looks as a bug. Anybody runs into this? Thanks
... View more
06-15-2016
05:03 AM
|
0
|
2
|
3396
|
|
POST
|
I am not sure I understand. I think it should be: MyForm f = new MyForm(); f.show(); Is this what you are looking for?
... View more
06-12-2016
11:34 PM
|
1
|
0
|
787
|
|
POST
|
Hello I have a gp service I would like to call from .NET program that does not have any ESRI libreries. This should be easy using the REST calls. I followed Rex's blog here: http://rexdotnet.blogspot.co.il/2009/11/using-arcgis-server-rest-api-in-net.html The example runs a geocoder and not gp service. You can see my code below. The service is running, I get result but it is only include some metadata on the request like service name and version. I should be able to get an event when the request is done and get the full results. Anybody is doing it? string requestUri =
"http://mody-pc:6080/arcgis/rest/services/RestCall/GPServer";
StringBuilder data = new StringBuilder();
data.AppendFormat("?f={0}", "json");
data.AppendFormat("&str1={0}&str2={1}", System.Web.HttpUtility.UrlEncode(StreetTextBox.Text),
System.Web.HttpUtility.UrlEncode(ZoneTextBox.Text));
HttpWebRequest request = WebRequest.Create(requestUri + data) as HttpWebRequest;
using (HttpWebResponse response = request.GetResponse() as HttpWebResponse)
{
StreamReader reader = new StreamReader(response.GetResponseStream());
string responseString = reader.ReadToEnd();
... View more
06-02-2016
03:11 AM
|
0
|
1
|
2867
|
|
POST
|
Hi Yuzhe Routes are not network. Check the tools under Linear Refrencing. You should turn your lines into route (add the M - measurement) value and then it should work. You do not need any extensions. Have fun
... View more
05-31-2016
10:20 PM
|
0
|
1
|
4380
|
|
POST
|
When you publish mxd to map service the mxd is copied to C:\arcgisserver\directories\arcgissystem\arcgisinput\<serviceName>.MapServer\extracted\v101\<serviceName).mxd You can get this file, open it (arcpy or ArcObjects) and get all information. Do not change it!! Have fun Mody
... View more
05-25-2016
10:02 PM
|
3
|
2
|
2930
|
|
POST
|
If you do not need the user to give a value just do not make parameter of this value, just hardcoded it in your python script. You can make it parameter and give default value, then the user will see it and can change it but the default parameter is used if the user do not change the value.
... View more
05-24-2016
09:42 PM
|
0
|
0
|
1669
|
|
POST
|
In my experience that is no difference between publishing in 10.4 and any other versions. If you just take one layer on local disk and publish it – does it take more than a few seconds? What about image service? If you opened the published mxd in ArcMap 10.4 does it takes longer (basically the server just open the mxd)? We had one problem that when the SDE have many layers then both ArcMap and the server takes longer to connect for the first time because it loads more metadata into memory. Try to isolate the problem for one data source.
... View more
05-17-2016
10:03 PM
|
0
|
0
|
3468
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-06-2026 09:35 PM | |
| 1 | 05-06-2026 09:43 PM | |
| 1 | 11-25-2024 06:09 AM | |
| 1 | 01-21-2026 09:53 PM | |
| 1 | 12-15-2025 10:07 PM |
| Online Status |
Online
|
| Date Last Visited |
Wednesday
|