IDEA
|
The Statistics Reports addition to Server Manager Logs tab is a great idea but currently it does not really offer much useful information. What would be great to see here is a graphical / chart view summary of the server logs as an alternative to the View Logs window. The View Logs window displays in a scroll-able list all the server log items (such as REST requests) for each service. This can be great for viewing errors etc. but is not usable if you are trying to count how many times user X accessed service Y in any given Z time frame. While you can see some statistics based on Total Requests, you cannot narrow this down by user, and it does not work with cached services. Ultimately, what my organization needs is the ability to query the log files and show me: All users who have accessed my server in the last month, and how many times they have accessed each service. Or: how many times user X has accessed service Y today. Etc. When I say Accessed Service, what I mean for Cached Services is how many tiles they have requested. For dynamic services, how many requests were made.
... View more
09-07-2016
09:49 AM
|
1
|
1
|
488
|
POST
|
faceplam...yes, it is now working. As to the dojo.require, what would be the appropriate way to do it now?
... View more
02-19-2016
01:19 PM
|
0
|
2
|
1290
|
POST
|
Thanks for the quick answer Ken, Unfortunately I am not seeing any change. I am using JavaScript 3.15 if that matters.. here is the site I am working on: NeoTreks Maps - Recreation and Trail Maps for the Untied States
... View more
02-19-2016
10:54 AM
|
0
|
5
|
1290
|
POST
|
I am looking for a way to change the size of the thumbnails within the basemapGallery. I have thumbnails that are 300x200px but the gallery seems to have a default size of around 60x50px which it forces all thumbnails to. i would like to increase the size of these thumbnails but cannot find a single example of how to do this, or any reference anywhere regarding thumbnail size. Any ideas? Thanks,
... View more
02-19-2016
10:13 AM
|
0
|
10
|
3327
|
POST
|
Hi, I was trying to get the official Create 2D Map sample running with the offline distribution of the API inside of a WebView in a Windows Store application. It turned out to be a non-trivial task and I needed to make a few changes to the official API distribution to get the sample working. Most of the problems were related to the URL scheme/protocol ms-appx-web: used by Windows Store applications’ WebViews. Let’s start with the installation. According to the official install.htm one should replace [HOSTNAME_AND_PATH_TO_JSAPI] with <myserver>/arcgis_js_api/library/4.0beta1/4.0beta1/ That was not working for me at the first attempt so I decided to modify the entire baseUrl property. I replaced baseUrl:(location.protocol === 'file:' ? 'http:' : location.protocol) + '//' + "[HOSTNAME_AND_PATH_TO_JSAPI]dojo" with baseUrl:"arcgis_js_api/library/4.0beta1/4.0beta1/“ I’ve used the same trick also with the API version 3.14 a few months ago. After I got the baseUrl property right the API started to load but it failed to get the basemap. The exception I was getting was “The system cannot locate the resource specified.” The problem was that the API was trying to get the basemap from an invalid URL ms-appx-web://00000000-0000-4444-0000-000000000000/SampleApp/ms-appx-web://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer instead of http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer I managed to trace this problem back to a getabsoluteurl(a) method in init.js file. It is incorrectly determining the URL scheme. It recognizes http and https only. I fixed my problem my replacing a regular expression /^https?:\/\//i with (https?|ms-appx-web) This changed moved me one step further to another exception. This time it was complaining about ms-appx-web://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer?f=json&callback=dojo.io.script.jsonp_dojoIoScript1._jsonpCallback See that it’s again using the ms-appx-web scheme instead of http. I couldn’t find the place where this URL is being built. I helped myself by prepending http: to //services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer in init.js. For some reason I had to do the same trick for //elevation3d.arcgis.com/arcgis/rest/services/WorldElevation3D/Terrain3D/ImageServer Finally it all started to work and the basemap loaded and displayed correctly. I know that my changes are not the best ones. I made just to move forward to get the sample running. They are not complex and I do not know what side effects they might have that I’ll run into later when I’ll start migrating our existing Windows Store application built with API 3.14. It would help me a lot if there was an official support for this type of deployment in the future API 4 releases.
... View more
08-07-2015
01:02 AM
|
0
|
2
|
3063
|
POST
|
If there is already a thread on this can someone please provide a link? otherwise my question is this, when you add a web service to arcMap or view it in the services directory you can see all the layers in the map document that you published, even with a tiled map service. Is there any way to restrict this? i would essentially like to hide the table of contents, and not show any of the layers within my web services similar to what you would see if you added some arcgis online basemaps to arcmap, you can see some sub layers but they all appear empty. Thanks,
... View more
01-24-2013
01:08 PM
|
0
|
0
|
1739
|
POST
|
I am also trying to do something similar: have a user specify either a point or a polygon and return True or False depending on weather or not it is within a study area polygon. To test i digitized a simple single part single feature polygon, as well as a single point directly in the center of the polygon. Unfortunately this returns false - when i know for certain the point is within the polygon.
pointShp = "c:/temp/temp.shp"
polyShp = "c:/temp/temppoly.shp"
gL = arcpy.CopyFeatures_management(pointShp, arcpy.Geometry())
array = arcpy.Array()
rows = gp.SearchCursor(polyShp)
row = rows.Next()
while row:
feat = row.shape
pnt = feat.getPart()
array.add(pnt)
row = rows.Next()
array.add(array[0])
Poly = arcpy.Polygon(array)
intersect = gL[0].touches(Poly)
print intersect
Any ideas? thanks,
... View more
11-30-2010
06:01 AM
|
0
|
0
|
242
|
Title | Kudos | Posted |
---|---|---|
1 | 09-07-2016 09:49 AM |
Online Status |
Offline
|
Date Last Visited |
05-01-2023
02:55 PM
|