Hot answers tagged

6

No, you don't need to re-run the script tool and republish the result. You will need to that only if you make any changes to the tool parameters (adding/removing/changing data type). This is required because if you take a look at C:\arcgisserver\directories\arcgissystem\arcgisinput\REF01\%Gpservicename%.GPServer\extracted\v101, you will find a toolbox which ...


6

A license manager is only installed for concurrent use software seats, and only when the license manager application is explicitly installed on a host. The Image Server Extension is a ArcGIS for Server extension, which is only available in single-seat keys. Authorization is a multi-step process, which is documented online, and can be summarized by: ...


5

With arcpy use the following method to replace workspace of your mxd: import arcpy mxd = arcpy.mapping.MapDocument(r"C:\Project\Project_default.mxd") mxd.findAndReplaceWorkspacePaths(r"C:\Project\Connection with password info saved.sde", r"C:\Project\Connection with no password info saved.sde", False) ...


5

Per this Can I publish a service to 10.3.1 using an earlier version of ArcGIS for Desktop? Generally, you can use a 10.1 or later version of ArcGIS for Desktop to publish a service to a 10.3.1 server. However, there are some restrictions to publishing if you are attempting to take advantage of functionality exclusive to 10.3.1: If you're using web-tier ...


4

I just found this post, from your post here and wanted to share some Python code I wrote that helps select a given feature in a JavaScript app. This code is obviously very specific to the Selenium and Python bindings, but I've got good mileage from it across different browsers, OS and screen resolutions. The idea is that if you Know the real world x/y of ...


4

Inside your map DIV tag, add another DIV tag with the image inside. You can set the transparency and float anywhere inside. Or since using a PNG, make it semi-transparent in advance. Example without CSS part below. <div id='map'> <div id='floating'> <img src="image.png"> </div> </div>


4

You'll need to set up a reverse proxy with your web adapter. The proxy should take care of forwarding any specified URLs to the GIS server. Here's an ESRI article about this: http://support.esri.com/cn/knowledgebase/techarticles/detail/40680


4

I think the path "Database Connections/..." only works in active ArcGIS client instances, not in scripts. Use full paths in scripts. To Illustrate: >>> arcpy.Exists (r"DatabaseConnections\DB.sde") False >>> arcpy.Exists (r"C:\Users\%user%\AppData\Roaming\ESRI\Desktop10.3\ArcCatalog\DB.sde") True As far as python failing on opening the ...


4

The DBA is probably using Oracle's standard administration tools and console (Enterprise Manager / Grid Control). That console will highlight the high consumers in terms of number of SQL statements executed, rows fetched, CPU or IO consumption, etc. It also highlights the top SQL statements in the same way. To find out the details of what statements get ...


4

You are really looking for a difference between ArcGIS Server (AGS) 10 and 10.1 (there are almost no changes in 10.3 since 10.1 in terms of architecture). Read this page from Esri Help: What's new in ArcGIS 10.1 for Server. This will give you a good overview of the difference. There are dozens of Esri videos on the new AGS 10.1 introduced around in 2010. ...


4

I assume you want to use a geoprocessing service in your web app along with your map service. I give the Creating GP Services presentation at the ESRI UC, and show a demo of this. This is what I'd consider the least likely scenario in terms of GP services consuming data, thus it's not well documented. That said, you can use a geoprocessing service to work ...


4

You're calling <script src="https://js.arcgis.com/3.15/"></script> multiple times in your HTML file. You can't use <script> HTML tags inside your .js file.


4

You could take a look at the maki https://www.mapbox.com/maki/ icon set from mapbox. They've got a couple of teardroped shaped symbols (marker-stroke and marker ), and are downloadable as SVG and PNG, and if you grab the github repository there's an ArcGIS Style file. As an added bonus they're released under a creative commons license so you can use them ...


3

To clarify Rorro's answer, the layer id is not the same as the layer name. You can save yourself a lot of time using the following code (where mylayer references your map service layer): var legendLayer = new esri.tasks.LegendLayer(); legendLayer.layerId = mylayer.id; The layer id will differ depending on how you consume the service. E.g. Rorro said his ...


3

I added alread a FeatureRequets for this on ideas.esri.com: ArcGIS Server: New role like 'mapservice-manage' to associate on a folder and/or mapservice http://shar.es/1fVxvl Just vote for it. May be it will be considered :-)


3

You could create two different services. A feature service for all of your editable feature classes and a map service (which is read only) for the non-editable feature classes. You could also look into ownership-based access controls, which will limit access based on the owner of the data.


3

So this is what I think is happening to you: and this is why when you combine your rasters your resulting image is almost all black. Because there is too much variation in their min-max values when you combine them. So you need to find where is most of your data and do some stretching, even edit min-max values. You can use the symbology tab of your image ...


3

So from my understanding of the comments, you are looking to share your shapefile data as a service and consume it using ESRI's JS API. From this understanding, I will outline one way of sharing and consuming your data using GeoServer although others like MapServer are similar. I prefer to get the whole OpenGeo suite from Boundless. It will come with a ...


3

You cannot publish a map service to ArcGIS Server from ArcGIS Pro. There are no GP tools for that available in Pro and no GUI options for that either. No arcpy functions that either. As you already found out, your options are ArcGIS Online and Portal. A quote from Esri blog post: (Feb 2015) The first release of ArcGIS Pro does not allow you to publish ...


3

There should be no difference, except that editing the *.sd file directly is not officially supported by ESRI. I have begun testing scripted modifications to SDs myself with favorable results, although the 7zip format is a bit harder to work with in Python than normal ZIP files (you need to use the nonstandard pylzma.py7zlib library if using Python 2.7, or ...


3

The only way ArcGIS Server can dynamically access a data table is if the service is published with a data source which is registered with the ArcGIS Server cluster. If you don't have a registered data source, AGS will raise a warning in the publishing process, but will let you override that warning to make a static copy in a file geodatabase (which is ...


3

So it turns out this is a known issue - NIM098733. It's fixed at 10.3 and there are no plans for porting back to earlier versions, so if, like me, you're on 10.2.1, you'll need to upgrade.


3

The array of module IDs passed to require includes "dijit/form/Button" but there's no alias for it in the callback. Add Button, between Color, and on, in the arguments for your function that's passed to require and dom will exist and have the byId method you're trying to use.


3

According to About registering your data with ArcGIS Server, When you register a folder, its subfolders are also registered. Paragraph just above the second Note box.


2

Yes, you can publish this tool so it can reconcile versions that are created dynamically. You need to add a couple other tools to the model though. Most of the tool parameters can/should be model parameters, this will give you the most flexibility. You should not use a parameter for the sde connection since this will be a connection on the server. The ...


2

You could check to see if its crashing or simplying trowing error in ArcGIS Server logs. If its crashing and creating the DMP files under C:\arcgisserver\logs\\errorreports path then open that DMP file with Visual Studio to see the error message. This majorly due to AGS account access to your local machine AGS directory. As per ESRI below mention step can ...


2

Here's what worked for me in IIS 8.0. This may be different on other versions of IIS. Either remove the customHeaders in the website root directory's web.config file or delete the web.config file completely. Then switch to the ApplicationHost.config in the IIS Configuration Manager for the arcgis application and add Access-Control-Allow-Origin name and * ...


2

When you say embedding, I'm presuming you mean this approach? http://resources.arcgis.com/en/help/main/10.2/index.html#//005700000017000000 If so, short answer is no. Embedding scripts is a nice way to minimize the number of files you have to pass around or just to hide/encrypt your work. You could embed your utilities as long as your utility functions ...


2

Any customisations of the GetFeatureInfo query are based on the INFO_FORMAT of application/vnd.esri.wms_raw_xml which returns XML. This XML has a shape property, but this simply returns the geometry type as a string. ...


2

This error can also ocur if you have made an MXD that does not contain anything. Please note that getting analysis from analysis = arcpy.mapping.CreateMapSDDraft(...) does not give a complete picture, so the error may come out when you convert the sddraft to sd even after reviewing the analysis. A better way is to do analysis = ...



Only top voted, non community-wiki answers of a minimum length are eligible