Tag Info

New answers tagged

0

Based on how your code looks, your toolbar variable needs to be global. The error makes it look like your toolbar variable is not global or something else is overwriting it. This is one of the reasons you shouldn't use an element's onClick attribute to set up event listeners. Take a look at either the Add graphics to a map or the Drawing tools sample for ...


2

I have experienced this myself once. It was required to give permissions to the group and not just the ArcGIS Server Account, then restart machine. Something that just did not go smooth in Windows settings.


0

I had same issue after running the ‘Configure GIS Server Account’. We fixed it with running the same tools and entering a specific domain user that we use in out company. We use this user for ArcGIS Server Services too. Hopefully it helps.


4

Yes, if you have a service definition (.sd) file sitting around. The createservice command line utility which ships with ArcGIS for Server does not use arcpy. If you read the source, you will see it does a few things: Log in to the server and acquire a token Find the Publish Service Definition tool on the server Upload the service draft to the uploads ...


2

You might be able to accomplish what you want from the admin api using json. Here is the link to the call server:port/arcgis/admin/services/createService and documentation from the server on how to make the call server:port/arcgis/admin/www/doc/index.html


3

onExtentChange is an event that is run every time the user changes the extent in your map (you add a dojo listener for this event, which then runs the rest of your code) map.extent is the value of the current value of the view-extent in the map (which you would be saving everytime the onExtentChange event is fired and lastly map.setExtent is the function ...


0

Well, i failed to find a documented solution for this problem, however i did solve it by looping through once the layer is loaded and hiding all the items which did not meet my criteria, as below: dojo.forEach(tmpLayer.items,function(s) //tmpLayer is georsslayer name { var pointDate = new Date(s.attributes['pubDate']); //the graphic ...


0

It appears my assumption was correct. This is what I did to fix the issue: Created a copy of the service Copied the cache from the original service to the new one Deleted the cache at the levels where tiles appeared to be missing (in my case, the last three levels) Recreated all tiles at the levels I deleted Copied the levels from the new service back to ...


0

you are trying to use Arcgis Extension for Google Maps API version 1.6 (http://help.arcgis.com/en/webapi/javascript/gmaps/help/topics/apiref.htm) with Google Maps API version 3. You should also update the ArcGIS Server extension to the new version: http://google-maps-utility-library-v3.googlecode.com/svn/trunk/arcgislink/docs/examples.html.


2

When you're using the draw tools, use the draw-end event to get to the geometry that was just created. This is shown in a couple of samples: Add graphics to a map and Drawing tools. If you need your geometry in geographic coordinates (AKA wgs84 AKA lat/long), listen to the draw-complete event as the object your callback gets will have a geographicGeometry ...


0

You might also look in: %arcgisserver root%\directories\arcgissystem\arcgisinput\%service folder name%\%service name%.MapServer\ There is a manifest and in that there is "onPremiseConnectionString". This might help you track down some info as it will have the location of the DB connection string that was used. ...


0

You could try PrintTask.prototype._getPrintDefinition(map); You may also want to check out this cereal library as well.


0

A possible way of diagnosing these sort of problems is to firstly view the map in Internet Explorer. You can right-click on a tile and copy its url. Then paste the url into a new window. Hopefully you'll get some sort of error message that will allow you to fix the problem. You can also use Fiddler to intercept the calls to the map server and read any ...


3

You need to select the option Use layer names from the map document in the Add New Service - Capabilities form. Take a look at the OneGeology WMS cookbook Setting up an ArcGIS Server WMS that shows you how to do this.


2

I finally figured out this issue after struggling forever. So I will let those who also may be having problems know what I did to find my problem. 1.) Do not assign a different symbol to the graphic. Just let it use the graphic that is associated with the feature layer. This will happen automatically without any additional code. 2.) Do not assign the shape ...


0

The proxy for JSAPI is built to access services that are secured with token-based authentication This issue on the proxy's GitHub repo page highlights this limitation "Java/.NET : Throw "Error 500-Protocol Error" when passing ArcGIS Server uri with windows authentication" https://github.com/Esri/resource-proxy/issues/7 There's a discussion about making ...


1

You cannot have different versions of the ArcGIS Suite installed on the same machine. You already have Desktop 10.2.1 installed, so you need to install Server 10.2.1 or uninstall Desktop and reinstall the 10.2 version. As a third option, install Server on a different machine. I assume the reason you receive the blank list of software that you "need to ...


0

Welcome to GIS Stack Exchange. Thanks for sharing your code - a suggestion is to simplify this and only include the relevant parts of your code (rather than the entire application). In this case, that might be just the loop where you're trying to edit the feature layer. Have you looked at applyEdits in the feature layer help file? This is one way to edit ...


1

Assuming your problem is that your ArcGIS Server is not public facing but your web server is (and assuming you can't change this), then I see two relatively easy solutions: 1) Install ArcGIS Server Web Adaptor on your web server and point it at your ArcGIS Server. Which would effectively open your AGS completely up to the web. See ESRI explanation: ...


1

In addition to modifying the values "after" you publish per Alex, you can modify the values before publishing by opening up the SDDraft and modifying the XML. (not using arcpy, but xml manipulation through built in Python libraries) There are a ton of samples here at the bottom of the page. I dont think there is one that does exactly what you want, but its ...


1

No, there are currently not. You cannot edit these default settings while publishing the service using ArcPy; you can do this only afterwards with pure Python. The workflow for this would consist of two steps. Publish a service with default settings using ArcPy. Modify the service properties using pure Python. To modify the service properties, refer to ...


0

I am adding this for anyone in the future that reads this thread. Here is all that I've learned in digging into this issue and getting a complete distance between points call. Our first issue stemmed from the static nature of RasterCatalog. Changing the rasters that this is based on does NOT change the raster inside the RasterCatalog. It turned out that ...


0

It looks like you've done a pretty good job of following best practices for creating the cache. Your servers have enough horsepower, but pulling the map data from your database might be an issue. Here's a little summary of this site that has a few additional tips for getting the most bang for your buck. 1 - Analyze your map before publishing it! This may ...


0

EDITED: You can disable navigation for the entire map like so: map.disableMapNavigation(); But the problem with disabling map navigation for the MapOverview when you create your overview map, the code is binding all these events from the main map (zoom-end, pan...). I don't there is a clear way to identify these events so that you could disconnect them. ...


3

Do you have a <div> tag for your Home Button? It should have an ID of HomeButton and be in your HTML somewhere. Here's a jsfiddle showing both an overview map and a home button.


1

When you're using new HomeButton you are actually accidentally invoking new dijit/layout/BorderContainer instead because your require modules aren't lining up with your main function arguments. Try using this: require([ "esri/map", "esri/dijit/OverviewMap", "dojo/parser", "dijit/layout/BorderContainer", "dijit/layout/ContentPane", ...


1

We faced a similar problem today. ArcGIS Server 10.1sp1 Windows Server 2008R2 Install/Authorization/Directories configuration go without glitch. No Manager (localhost:6080/arcgis/Manager) No REST interface (localhost:6080/arcgis/rest/services) No javaw.exe running in task manager Turns out the "arcgis" account that is previously created during the ...


0

Its late, so ill beef this answer up over next couple of days. Make use of two web adapters (fine with one license). Ill add more details later.


1

I know this question is going on 13 months old now, but I believe the gpservice deployment wizard (at 10.1) may have poorly-documented features which resulted in your mashed-up output file and path. I noticed that your GP result output included a relative path: "..\grasslandcuringvd" which reminded me about the relative paths checkbox. When that feature is ...


2

To answer the question as posted: "No, to my knowledge there are no plans to change the storage format for custom toolboxes away from their binary storage." Now to also support your needs: I suggest investigating a tool deployment paradigm where your toolboxes are generated (or re-generated) systematically based on revisions to the tool source(s) ...


0

A FeatureLayer ends with a digit, which is more of an array concept. my/service/url/points/here vs. my/feature/url/points/here/0 The first url points to a service containing anywhere from 1 to X Features. Whereas the second url points to a specific Feature inside of that service. Hope that helps...


2

You must register the entire dataset as versioned. You cannot single out a specific feature class within the dataset. database = "C:/Test.gdb" def versionData(database): arcpy.env.workspace = database dataList = arcpy.ListTables() + arcpy.ListFeatureClasses() + arcpy.ListDatasets() for data in dataList: #skips the compress log table if ...


1

Have just seen on one of the Esri videos from Dev Summit '14 that in the 10.2.3 (I think it will be released under this version notation) that comes this summer, there will be Services Monitor piece of functionality embedded into the core of ArcGIS Server.


0

In free time I worked on a Python script that generates a web request to the ArcGIS server REST url and evaluates the response of the service. If the answer is negative will be sent an email alert to a specific e-mail address. I think it is simple but useful for monitoring individual services of ArcGIS Server. I hope that is helpful for someone. All info ...


2

In free time I worked on a Python script that generates a web request to the ArcGIS server REST url and evaluates the response of the service. If the answer is negative will be sent an email alert to a specific e-mail address. I think it is simple but useful for monitoring individual services of ArcGIS Server. I hope that is helpful for someone. All info ...


1

In free time I worked on a Python script that generates a web request to the ArcGIS server REST url and evaluates the response of the service. If the answer is negative will be sent an email alert to a specific e-mail address. I think it is simple but useful for monitoring individual services of ArcGIS Server. I hope that is helpful for someone. All info ...


1

ArcGIS Publisher is an extension to ArcGIS Desktop. Its installation files comes together with the ArcGIS Desktop software media and can be installed either together with the ArcGIS Desktop installation or later on. It is licensed separately which means you are supposed to obtain a license for it. ArcGIS Publisher converts ArcMap (.mxd) and ArcGlobe ...


0

A good place to read about the various parts of the ArcGIS Platform is here. That article describes ArcGIS for Server and ArcGIS Online like this. ArcGIS for Server — Powerful GIS back-office software that enables centralized, enterprise-level geodatabase management and server-based publication of maps and geographic information services throughout ...



Top 50 recent answers are included