POST
|
I'm a big fan of the style and layout options available in the Launchpad theme when using webapp builder. When using the "blue" theme (the one with circular icons rather than square icons), you have the option of adding your company logo to the map. The default logo is the one below. When I add my own logo, that blue background remains inside the circle. Regardless of how big or small I make the file I am uploading. If I give my company logo a white background, AGOL resizes it to a square inside the blue circle. Is it possible to change this background to just be white? Thanks Dan
... View more
06-02-2016
02:25 AM
|
0
|
1
|
3247
|
POST
|
Hi all, I have created a group (call it "Basemaps") in my organisation account in ArcGIS Online and published a number of maps with a single layer defined as a basemap. All of these maps are shared both with the organisation and the Basemaps group. I have then added a number of users to the Basemap group. I have also edited the Organisation settings in ArcGIS online to use the basemap gallery from the "Basemaps" group rather than the standard ESRI basemaps. When I go to create a new map and click on the basemaps gallery, I see a drop-down with all the basemaps I have created. If I click on these I am able to use them. When any other user who has been added to the "Basemaps" group does the same, they see the basemaps I have created, but when they click on it they get an error telling them that the basemap is unavailable. Any ideas what I might have missed?
... View more
12-17-2014
01:59 AM
|
0
|
0
|
2535
|
POST
|
Hi Jake, Many thanks for the tip. This has worked, however, it still doesn't answer why my Referenced Mosaic Datasets aren't publishing. I have now been able to publish a raster image, a mosaic dataset and a vector dataset from the same fgdb. Just not a referenced mosaic dataset. Am I right in assuming that it is a good idea to build pyramids on creation of the mosaic dataset? Many thanks once again.
... View more
12-04-2014
02:00 AM
|
0
|
1
|
684
|
POST
|
I have a number of Raster Catalogs I want to publish. It is my understanding that in order for them to be published to ArcGIS Server I need to create Referenced Mosaic Datasets for them. I have done this. I have also successfully registered the data folders with ArcGIS Server and enabled the Image extension (this is needed to publish mosaics). When I come to publish the referenced mosaic dataset, in the Service Editor I select to only use the “Image” capability and for it to only allow the “image” operation, as I only want the user to be able to view the data. I am not caching the service. When I analyse the service, I only get one Medium error. This is just warning me that no statistics have been calculated for the Mosaic dataset. As this service is a “view-only” service, I do not need statistics. When I click on “Publish”, it runs through the whole publishing service and then I get an error Failed to Publish Service. If I look at the server log, I see the following error: Error executing tool.: ERROR 001369: Failed to create the service. Failed to execute (Publish Service Definition) This seems to be a generic error. Digging a bit more into the server log I can see that there is an error about an invalid path: Invalid input data source path: \\servername\data\Production\Backdrop_Mapping\Mosaics\Data_50K\Data_50K.gdb\Data_50K This is referring to the Mosaic dataset which I am trying to publish. This folder is successfully registered as a data store on the server: \\servername\data\Production\Backdrop_Mapping As I understand it, this should include all subfolders. In order to test this, I have created a simple mxd with 1 vector dataset and published it from the same source folder without any problems. The vector dataset was in the same fgdb as the mosaic dataset. So I know the server is able to connect to and read from this location. Any suggestions of what I could try next would be great. Many thanks. Tech spec: ArcGIS Sever 10.2.1, Standard Licence, Image extension.
... View more
12-03-2014
06:04 AM
|
0
|
4
|
4252
|
POST
|
Ah, got it! I was not aware of the 2nd level of drop-down menus. Thank you
... View more
12-02-2014
06:16 AM
|
0
|
0
|
473
|
POST
|
Thanks for the response, so which capabilities should I enable for the service in ArcGIS Server? I have got this to work by adding the cached service twice. Once using the REST URL for the "mapping" service and once using the REST URL for the "feature Access". Is this what you meant? I now have the correct symbology and I am able to see pop-ups, but it seems very slow....
... View more
12-02-2014
05:46 AM
|
0
|
2
|
473
|
POST
|
I have cached a service using ArcGIS Server 10.1. This is from an mxd with 5 very large and dense vector layers. This is used by a number of desktop users as a mapping service by connecting direclty to ArcGIS Server. They are able to return the attributes of the features using the "info" button. I now wish to add this service to an ArcGIS online map where a similar functionality is needed. Is this possible? I have tried enabling both wms and wfs as a capability in ArcGIS Server, as well as enabling a "dynamic workspace", however when I add my service to ArcGIS online I am unable to select a feature to view a pop-up window or an attribute table (I have no preference as to which one I want to be able to see). I do not want the user to be able to edit the data. I just need them to be able to click on a feature to view its information. I have also tried enabling "feature access" as a capability in ArcGIS server. This does indeed allow me to view the attribution, however it changes the styling of my data. I'm assuming that this only supports basic fills and lines, whereas my data uses patterned fills and lines. I have also published the same mxd as a non-cached service to ArcGIS online and I am able to click on a feature and get a pop-up showing me the attributes. All the styling is also kept. The problem with using a non-cached service is that it is extremely slow because there is so much data. Am I trying to do the impossible? I've thought of a workaround which I will try next. This essentially relies on me publishing 2 services. The first service would be the cached one with full styling (possibly as a basemap so it's faster). The second service would be the same non-cahed data with no styling, so you can't see it, over the top. Essentially a ghost service. As there is no styling it shouldn't take as long to draw, but the attribution will be there. From the user perspective they will just see the basemap layer and click on the features on there to see the attribution. This could work, but it seems a bit of a long winded way as it relies on me publishing 2 services whereas I would like to be able to achieve this using a single cached service. Any advice would be most welcome.
... View more
12-02-2014
02:58 AM
|
0
|
4
|
3030
|
POST
|
I have 2 mxd's. mxdA and mxdB They both show different data, but are both in the same coordinate system. I want to be able to sync mxdB with mxdA, so that if I pan / zoom in mxdA, I can then, with a single button press, view the same extent in mxdB. I know that this is possible using a Viewer window (where a 2nd data frame is used rather than a 2nd mxd), however there is a memory leak present where a Viewer window is used alongside an editing session with snapping turned on (NIM103256) which causes our session to crash after <1 hour of editing. I know that another option could be to use production mapping views, but these seem to be limited to both mxd's having the same datasets, and once you have opened mxdB and linked it to a view, you are then unable to update the view file using mxdA because it is locked by mxdB. This is not practical for us as it would mean closing and re-opening mxdB many times every day (50+) I'm hoping that there is a way using python where I can calculate the center point of the active dataframe in mxdA and then pan/zoom mxdB (which is already open) to the same location. I can then create a button as an ESRI Add-in to do this automatically. Calculating the center point is simple enough mxd = arcpy.mapping.MapDocument("Current")
df = arcpy.mapping.ListDataFrames(mxd, "Layers")[0]
# Calculate the centre X coordinate
x = (df.extent.XMax + df.extent.XMin)/2
#Calculate the centre Y coordinate
y = (df.extent.YMax + df.extent.YMin)/2 But I'm struggling with passing this center point information to mxdB to get it to pan. Is this even possible without using ArcObjects? EDIT: I have written some code that can be run in mxdB which will update mxdB based on the extent of mxdA. However, I need to be able to run the code in mxdA and for it to update the extent of mxdB (as mxdB is a fixed mxd, whereas the name and file path of mxdA could change). import arcpy
#define mxdA
mxd = arcpy.mapping.MapDocument(r"C:\Testing\Scratch\mxdA.mxd")
#define the dataframe from mxdA
df = arcpy.mapping.ListDataFrames(mxd, "Layers")[0]
#define mxdB
mxd2 = arcpy.mapping.MapDocument("Current")
#define the dataframe from mxdB
df2 = arcpy.mapping.ListDataFrames(mxd2,"Layers")[0]
#set 'newextent' to be the extent of the dataframe in mxdA
newextent = df.extent
#set the extent of the dataframe in mxdB to be the same as that of mxdA
df2.extent = newextent
#refresh the view in mxdB
arcpy.RefreshActiveView() I am using ArcGIS (Advanced) 10.2.2 Many thanks Dan
... View more
09-09-2014
03:15 AM
|
0
|
3
|
3002
|
POST
|
Sorry to re-start this thread, but are there any updates on this? I'm having near-identical issues to the OP with a very similar set up. A 1st cache of a service works. Any subsequent caching, whether it be the full extent of the service or a number of smaller AOI's within the service leaves behind some blank spaces and some areas where a cache only exists at some scales. I will raise a ticket with ESRI today, but was wondering if anybody had received a response/workaround/fix to this as I'm aware that a number of you had tickets in with ESRI. Many thanks Dan
... View more
08-12-2014
06:37 AM
|
0
|
0
|
398
|
POST
|
I've noticed that in the cache directory for this service there are only 2 folders, not the 3 I would expect to see.
... View more
03-26-2014
01:46 AM
|
0
|
0
|
387
|
POST
|
What if you published a map with a simple dataset and cached it? It can be the same scales or different scales, just to see if it'll run to completion. I have managed to cache other maps of smaller areas without any problems (~2GB). However, all the data for these maps was sat in File Geodatabases. The data for the map I'm having trouble caching is on an Oracle database. I have successfully published the service using the Oracle data, it's only caching which is incredibly slow and under-utilising the resources. Thanks Dan
... View more
03-24-2014
03:32 AM
|
0
|
0
|
559
|
POST
|
I'm relatively new to ArcGIS for Server, so I hope that someone is able to point me in the right direction in case what I've been doing isn't good practice. I have 2 boxes with ArcGIS for server 10.2.1, both on the same site. Both boxes have 4 processors and 16gb RAM. Both boxes run on Windows Server 2008. [ATTACH=CONFIG]32374[/ATTACH] The site is used to both provide a couple of base map services to a small amount of users (<5) and to generate cache tiles for future services. I am currently generating cache tiles for a mapping service (~50GB). I would have expected to see the CPU usage on the 2 boxes running quite high. But it tends to be sitting between 15% and 30% on each box. The maximum instances for the caching tools is set to 6 [ATTACH=CONFIG]32375[/ATTACH] The maximum number of instances per machine is set to 3. [ATTACH=CONFIG]32376[/ATTACH] Am I wrong in assuming that I should be seeing a higher usage of the CPU? Have I not put in the correct figures? Or is my set-up not best practice? i.e. should I be using one site just for serving maps and another site just for caching? I think I've followed the guidelines mentioned here and here. But I'm pretty sure that the caching is running slower than it should. After 19 hours it has only cached 1.17% of all my tiles. [ATTACH=CONFIG]32377[/ATTACH] Any best practice suggestions/ recommendations much welcome.
... View more
03-21-2014
01:13 AM
|
0
|
4
|
993
|
POST
|
This is a bit of a strange workaround, but you could calculate the area of all your polygons. probably in mm. In theory, the only polygons with identical areas will be the duplicate polygons, so you should be able to use this area value to spot your duplicates and either delete them or dissolve them.
... View more
09-19-2013
01:32 AM
|
0
|
0
|
1160
|
POST
|
Hi Joe, could you please attach an image of your model. Thanks Dan
... View more
08-21-2013
09:31 AM
|
0
|
0
|
509
|
POST
|
Hi all, I have a model which iterates through feature classes in a geodatabase (image attached) For each feature class, it runs the check Geometry tool. I then use the "Get Count" tool to count the number of rows in the output table. I then want to add an expression where if the number of rows is greater than 0 it should keep running the rest of the model, otherwise it should go on to the next feature class. I thought this could be achieved by using the Calculate Value tool using the following code. Expression CountMe(%Row Count%) Code Block def CountMe(n):
import arcpy
if n > 0:
return "true"
else:
return "false" Where %Row Count% is the output from the "Get Count" tool. This returns True and False values, and I have the output from this set as a precondition to the next steps in the model. However, I assumed that only "true" data would go through, but all the data seems to go through i.e. the model will push through an empty table from the Check Geometry tool all the way to the end. I've had a read online and I think that using the Calculate Value tool is the wrong way to go about this. Am I right in assuming that what I need is a python script that will give me 2 outputs (True and False) and then I can connect the "True" as a precondition to the rest of the model, and leave the "False" disconnected, so the model stops and the iterator goes on to the next feature class? If so, would anybody be able to give me some help with this? Many thanks Dan
... View more
08-14-2013
01:49 AM
|
1
|
4
|
4534
|
Title | Kudos | Posted |
---|---|---|
1 | 08-14-2013 01:49 AM | |
1 | 08-02-2013 06:16 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|