POST
|
I just tried clearing the REST cache manually and it did not fix the problem.
... View more
12-18-2014
06:02 AM
|
0
|
0
|
364
|
POST
|
Thanks for the suggestion. I applied that setting to my feature layer and it did not solve the problem. When I click the button that fires the function that updates the joined table, it also fires the Update() method on the feature layer in question. I can see that layer flicker in the Silverlight app, so I know it is being updated by the app, but apparently it is not receiving a truly updated version. This makes me think there is some setting in ArcGIS Server itself that I need to change? Or a cache that needs clearing every 1 second perhaps?
... View more
12-18-2014
05:54 AM
|
0
|
0
|
364
|
POST
|
I have a map service in which there is a polyline layer joined to an SQL table. The table is pulled into ArcMap from a database connection. ArcMap sees this table just like any other spatial table and the table join is successful. The map publishes successfully. In my Silverlight app I have defined a unique value renderer that's based on a field in the joined SQL table. The renderer works and, at least at first, my polylines are correctly symbolized in the Silverlight app based upon the field in the joined SQL table. The problem occurs when I update or insert rows in the joined SQL table. For instance, an update might alter an existing row in the table that should then change the symbology of a polyline. The table update is successful but the polyline doesn't change in the Silverlight app. I checked that the update was reflected in the MXD and it is. So I know the updates and inserts are happening successfully in the SQL table, and I can see the resulting symbology changes in the MXD, but those changes do not carry into the Silverlight app. I tried several things, such as refreshing the service from within my Silverlight codebehind. I also tried the Update method on the map service. Neither worked. The only thing that did work was to republish the entire service. After republishing the next time I fired up the Silverlight app all the of the updates and inserts were reflected in the map's symbology. This is obviously not a solution though. I can't have my users waiting for a map service to republished between every single update they make, not that there is even a way to republish on the fly from within a Silverlight app anyway. Is there a method I can call on the map service in Silverlight that would have the same affect as republishing but not take as long? Thanks for your help.
... View more
12-18-2014
05:37 AM
|
0
|
4
|
3644
|
POST
|
Does your security certificate reference the fully-qualified name of your machine? In other words, does it use MACHINENAME.DOMAIN.COM syntax or does it contain only the machine name without the domain information? In the 'Common Name' field of the generate self signed certificate screen in admin, it says CIVICPROD01.CIVICINC.LOCAL That is the default value it inserts for me.
... View more
03-13-2014
05:25 AM
|
0
|
0
|
905
|
POST
|
I want to clarify exactly where I run into issues... Configure ArcGIS Server to use the SSL certificate To specify the SSL certificate that ArcGIS Server should use: Steps: 1. Log in to the ArcGIS Server Administrator Directory: http://gisserver:6080/arcgis/admin. 2. Navigate to machines > [machine name]. 3. Click edit. 4. Enter the name of the SSL certificate that you want to use in the box for Web server SSL Certificate. 5. Click Save Edits to apply your change. 6. On the current page, view the property Web server SSL Certificate to verify that the desired SSL certificate will be used for SSL. Enable SSL for your site Steps: 1. Log in to the ArcGIS Server Administrator Directory at http://gisserver.domain.com:6080/arcgis/admin. 2. Browse to security > config > update. 3. For the Protocol parameter, choose the HTTP and HTTPS option and click Update. This will automatically restart your ArcGIS Server site. 4. After your site is restarted, verify that you are able to access the URL https://gisserver.domain.com:6443/arcgis/admin. If you do not get a response from this URL, ArcGIS Server was unable to use the specified SSL certificate. Check your SSL certificate and configure ArcGIS Server to use a new or different SSL certificate. 5. If you are able to access the URL https://gisserver.domain.com:6443/arcgis/admin, browse to security > config > update. 6. For the Protocol parameter, choose the HTTPS Only option and click Update. ArcGIS Server is restarted. 7. Once the server restarts, test that you can access the HTTPS URL of ArcGIS Server, for example, https://gisserver.domain.com:6443/arcgis/rest/services. I cannot get past step 4 because after updating the security config I cannot access the admin directory using https in the URL. I get a page that simply says "This page can't be displayed"
... View more
03-13-2014
04:58 AM
|
0
|
0
|
905
|
POST
|
What does the web log say? <Msg time="2014-03-12T16:22:36,479" type="SEVERE" code="6584" source="Admin" process="2148" thread="1" methodName="" machine="CIVICPROD01.CIVICINC.LOCAL" user="" elapsed=""> Failed to update the security configuration. Exception Could not connect to server on machine 'CIVICPROD01.CIVICINC.LOCAL'. ArcGIS Server on that machine may not be running or the machine is not reachable at this time. </Msg> The machine and ArcGIS Server have both been running fine for quite some time. I think somehow the certificate I generated as described in this article is not being used correctly.
... View more
03-13-2014
04:22 AM
|
0
|
0
|
905
|
POST
|
I'm trying to enable SSL on ArcGIS Server 10.1 using the web adapter. I have followed this article to the letter. Attempting to access either the admin page or rest services with HTTPS takes me to a page with ArcGIS header that says "Unable to connect to the remote server." We have several other apps running on this machine and we can access them via HTTPS just fine. It's been correctly enabled in IIS. We also have another 10.1 Server installation where we enabled SSL without issue using the previously cited knowledge base article. Any suggestions would be appreciated, thanks.
... View more
03-12-2014
01:49 PM
|
0
|
5
|
6840
|
POST
|
I'm trying to setup ArcPad 10.2 to sync with a feature service when edits are checked in. I have followed this article. The problem is when I try to run the 'Add feature service URL to AXF' in the ArcPad Tools toolbox, I get a long error when I add my layer file. The layer file was created as per the article, by right-clicking my feature service and choosing 'Create Layer'. Here is the error message, sorry for the length... ERROR updateMessage Execution Error: Runtime error Traceback (most recent call last): File "C:\Program Files (x86)\ArcGIS\ArcPad10.2\DesktopTools10.0\Toolboxes\ArcPad Tools.tbx#AddFeatureServicesToAXF_ArcPad.UpdateMessages.py", line 4, in File "C:\Program Files (x86)\ArcGIS\ArcPad10.2\DesktopTools10.0\Toolboxes\ArcPad Tools.tbx#AddFeatureServicesToAXF_ArcPad.UpdateMessages.py", line 27, in updateMessages File "c:\program files (x86)\arcgis\desktop10.1\arcpy\arcpy\utils.py", line 181, in fn_ return fn(*args, **kw) File "c:\program files (x86)\arcgis\desktop10.1\arcpy\arcpy\mapping.py", line 1499, in ListLayers result = mixins.MapDocumentMixin(map_document_or_layer).listLayers(wildcard, data_frame) File "c:\program files (x86)\arcgis\desktop10.1\arcpy\arcpy\arcobjects\mixins.py", line 822, in listLayers layers = self.layers File "c:\program files (x86)\arcgis\desktop10.1\arcpy\arcpy\arcobjects\mixins.py", line 682, in layers for frame in reversed(self.dataFrames): File "c:\program files (x86)\arcgis\desktop10.1\arcpy\arcpy\arcobjects\mixins.py", line 694, in dataFrames return map(convertArcObjectToPythonObject, self.pageLayout.dataFrames) File "c:\program files (x86)\arcgis\desktop10.1\arcpy\arcpy\arcobjects\mixins.py", line 678, in pageLayout return convertArcObjectToPythonObject(self._mxd._arc_object.pageLayout) AttributeError: ValueObject: Get attribute _arc_object does not exist
... View more
10-08-2013
08:01 AM
|
0
|
0
|
1482
|
POST
|
Zach, yeah that's exactly what I was after. Experimented some more and got it to work. Using the response from my ajax call to the JSON in a loop that iterates through each sublayer id as i: result.layers.legend[0].url My custom legend/TOC is working with this approach. Thanks.
... View more
09-24-2013
05:24 AM
|
0
|
0
|
1379
|
POST
|
May have answered my own question... Previously I was getting the JSON for each layer in a map service this way: http://<yourserver>/arcgis/rest/services/<servicename>/MapServer/6?f=pjson Only point symbol URLs are exposed this way though. Apparently the full legend is exposed here: http://<yourserver>/arcgis/rest/services/<servicename>/MapServer/legend ...and the JSON for the legend can be reached here: http://<yourserver>/arcgis/rest/services/<servicename>/MapServer/legend?f=json Still need to figure out how to target a specific layer ID amongst within the JSON and get back the URL.
... View more
09-24-2013
05:03 AM
|
0
|
0
|
1379
|
POST
|
I need to develop a legend/TOC that has both layer toggling and the symbols for each layer, just like you would see in ArcGIS Desktop. I've already looked at the 3rd-party TOC widget and while it's a neat solution it doesn't fully satisfy our needs. What I'd really like to learn is how that widget and also the legend dijit are mining the symbols for each layer in a map service. I did some digging and I have found the image URL for point layers in REST. That one was easy. After some experimenting I was able to harvest those images using the URL and inject them into my own legend pane. But there does not appear to be symbol URLs for polygon or polyline layers in REST. Instead I found the JSON where fill and outline properties are given, but this only applies to polygon layers. I was able to dynamically build my own polygon symbol from the JSON using canvas in HTML 5. So that leaves polylines and for whatever reason the JSON for polylines in REST is worthless. I have a line layer that is a wide yellow stroke with a narrower black stroke in the middle, but you'd never know that looking at the JSON which says the line is a simple black stroke only. Does anyone know how the legend dijit and TOC widgets are mining the graphics for each map service layer? Is it somewhere in REST or what?
... View more
09-24-2013
04:40 AM
|
0
|
8
|
3038
|
POST
|
I'm about 2/3 of the way to a complete solution to this problem. Hopefully someone can help me with the last 1/3. I know symbol legends are not provided in REST, at least not in any turn-key form like a complete legend image that you just reference with a URL. But there does appear to be JSON for each layer in a Map Service including renderer information. For points it was easy, I just referenced the symbol URL for each layer in the map service and injected them into my layer list. Polygons were not as easy since there's no ready-made URL for the symbol (that I could find). So what I did was reference the outline and fill properties in the JSON for my polygon layers, then use HTML 5 canvas to build a little symbol patch dynamically. That leaves the polylines, and that's where I'm stumped. I've got a layer with the polyline that consists of a black middle line surrounded by 2 pixels of yellow on either side. Nowhere in the JSON does is split out the symbol into separate components. In fact, the JSON for this layer makes it look as if it's just a simple black line. Does anyone know where I might be able to reference the missing information for a polyline in REST that is more complicated than just a single solid color?
... View more
09-23-2013
01:12 PM
|
0
|
1
|
3978
|
POST
|
I recently published a map in AGO and shared it on Facebook. The map has one editable points layer coming from a feature class hosted in my ArcGIS Server 10.0. After sharing the map on FB I saw that everyone who visited my map could edit and add features to the editable layer. My goal is to share a map on FB that merely displays the data and does not allow visitors to edit it. However, I also need the ability to edit the data myself via the ArcGIS app for Android. So as I'm popping points, they appear in the shared map, but nobody who views the shared map can pop points. I don't see an obvious way to do this. Is it possible? It seems that if you enable editing you enable it globally for anyone and everyone who pulls up the map.
... View more
05-08-2013
12:09 PM
|
0
|
2
|
3223
|
POST
|
Hi, For performance reasons, we do not densify (or generalize) lines when they're re-projected. Try densifying the data. There's a densify tool in the Editing toolbox. Melita Thanks that worked perfectly.
... View more
10-25-2012
06:47 AM
|
0
|
1
|
904
|
POST
|
This is probably a stupid question but I've never run into it before. I have created a shapefile of the Maidenhead grid (used for mapping amateur radio contacts). It was created with a python script and defined in WGS84. I would like to map it using the US National Atlas projection of North America. When I switch to this projection in ArcMap the grid appears to be incorrectly displayed. Instead of grid lines that smoothly curve across the map they remain 'straight'. For this projection this results in a very incorrect portrayal of how these grid lines should cover the globe. Reprojecting the grid hasn't had much effect. A screen shot of the problem is attached.[ATTACH=CONFIG]18590[/ATTACH] Instead of the spider web effect the grid should show curvature.
... View more
10-19-2012
12:30 PM
|
0
|
4
|
4255
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|