Tag Info

New answers tagged

0

This task is similar to addressing XSRF/CSRF attack. I believe this could help http://stackoverflow.com/questions/4914994/using-mvc3s-antiforgerytoken-in-http-get-to-avoid-javascript-csrf-vulnerability


0

here is a fresh new alternative, we are soon releasing cartoserver. this is a GIS web service that is compatible we ArcGIS server Feature Services. You can do a lot of operations online and without having an ArcGIS server or any GI Server installed. It is best used for this type of applications. You can find a sample here ...


1

Use your DBMS tools to edit the SERVER_CONFIG system table, parameter named CONNECTIONS. The SERVER_CONFIG (sde_server_config in SQL Server and PostgreSQL) table contains initialization parameters and values that define how an enterprise geodatabase uses memory. The parameters and their default values are listed in the "Initialization parameters" ...


1

I've just experienced this problem too, in ArcGIS Server 10.3. As @rdeschain suspected, it's to do with the token timeout, so one option is to increase that value. I tested this by reducing it to 2 minutes and restarting the service, and sure enough, it stopped working after 2 minutes. The other thing you can do is decrease the recycle interval for the ...


0

Depending on how your eGIS and systems are set up you can run a Python job to consume the excel rows on intervals and publish/apply edits as feature or map service. You can use Google also to work with Python if the sheets/rows are to be made public.


2

Options that we have used is to create a list in Microsoft SharePoint that is connected to the database that is being used by the web mapping system. In our case that has been SDE running on MS SQL, but we have also done it connected directly to MS SQL Spatial, and avoiding Esri. This gives the user a non-map based interface that looks like an spreadsheet. ...


2

I asked too quick. According to this thread, the 1411380301000 value is: ...presented as epoch milliseconds since 01/01/1970 GMT. And I used the following code to convert it: import time value = 1411380301000 date = time.strftime('%m/%d/%Y %H:%M:%S', time.gmtime(value/1000.0)) print date >>> 09/22/2014 10:05:01


0

I seem to have the same Error on our server. What "group" are you refering to? On our machine the User "arcgis" is not in any usergroup.


2

You could loop through map.layerIds to obtain the id of each layer already in the map and compare the id values directly. Or compare a distinctive property (like the url) to the layer you intend to add. To get that property, you would first call the method map.getLayer() to get the layer, then you can access the the url property. var existingLayer = ...


0

It turns out it was something to do with the scratchGDB. When run in arcmap, the tool used a scratch GDB in a known location (i.e. one I set up). When run from the task scheduler, and the import arcserver was turned on, it used a scratch GDB in the local app data folder. The arc server scratch GDB had existing data, which was causing overwrite issues.


1

come across and solved the problem just now cause RouteParameters 's default value of UseHierarchy is True just set UseHierarchy to False RouteParameters parameters = new RouteParameters(); parameters.Stops = stopsGraphicsLayer; parameters.OutSpatialReference = MyMap.SpatialReference; parameters.UseHierarchy = false; routeTask.SolveAsync(parameters);


1

As noted in the API reference, the measurement widget does not make event listeners available for the placement of individual nodes. that being said, our new geometryEngine can help you do calculations like this entirely on the clientside. i was able to whip up a simple sample in which i listen for both map 'click' and 'mouse-move' and create new polylines ...


1

It isn't strictly required to alter the services or services.sde file with SQL-Server, and if you don't specify a port or mnemonic with the -i flag at step 1, then step 2 is completely unnecessary (since it's too late to change from the default of esri_sde 5151/tcp). In fact, best practice is to add non-standard services entries before sdeservice -o create. ...


1

5151 is the standard. you are welcome to select any port that is open by editing the services.sde file and adding it, or alternatively remove the comment mark # from the default entry. Help can be found on the esri website. 10.1 MS SQL Server help


0

You cannot download the WAB application from your ArcGIS Online My Content page. However, when having WAP (Dev edition) installed, you can import the application you have in your organization. This will pull the application from your ArcGIS Online to your machine. On the home page, click Import and choose Import from my account to open Import App window. It ...


1

Per @matt wilkie Suggestions, you should use python toolbox (.pyt) instead of a custom (.tbx) toolbox. However with python toolboxes you cannot have models. So if you have any models in your custom toolbox, then you have two options: to export those models to python script tools. to call tools in other toolboxes from within the Python toolbox code Here ...


0

My current workaround is to build a side table with 2 columns, the objectid and geometry( as PostGIS geometry). And to maintain that table with triggers on the featureclass. Then perform spatial queries against the side table and join back to the featureclass. I have an open incident with Esri, but so far, no luck. I will update this answer if/when we make ...


1

Restarting ArcGIS service involves using ArcGIS Rest Admin API and ability to authenticate using token-based authentication with ArcGIS server. One way to do it is to write a script/program to monitor the ArcGIS Service and in the event service is found stopped restart it , schedule it to run periodically. But it gets cumbersome when you have to monitor more ...


2

AddFeatures is an endpoint on feature services in both local Server and hosted Portal (arcgis.com) You can see from this blog and associated script that I call both addFeautres and updateFeatures. You'll only see the addFeatures/updateFeautes/deleteFeatures, etc endpoints on the REST page if you have editing turned on for that service. If editing has NOT ...


2

You need the spatial analyst extension to run spatial analyst tools on Server. You'd see an entry like: spatialserver,100,ecp..... You can see the license matrix here. If you believe you should have spatial analyst based on what license/extensions you should have, but dont see it in that file, you should contact either Esri Customer Service or your ...


1

It sounds like you have a license for the ArcGIS Desktop Spatial Analyst Extension, but not ArcGIS Spatial Analyst for Server. You will need to purchase one to use that functionality.


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 ...


1

In the past I've had to distribute a toolbox (.tbx) with many tools, each with their own script but many of which shared the same functions. I believe this is the same issue you are dealing with. In my case I solved the packaging issue with this file structure: top_folder/ tools.tbx scripts/ tool1.py module_name/ ...


0

Monitoring tools such Nagios are good for general monitoring, but to be able to restart an ArcGIS Server service in the event of a service shutdown, you need a tool that is integrated and runs on ArcGIS Rest admin api. As far as I know there is only one tool that currently does it - iGeoAsset. Seems like it not only sends instant notification via email/text ...


0

Is some application trying to access the deleted service? For example: if I try calling a deleted map service I get the following logs:


1

The message is saying you need to specify some output fields so if you are using the browser to test there should be an Out Fields text input. You can either put in a comma separated list of attributes names or use * for all. Via the REST API you set this as the outFields parameter.


0

You could try ArcGIS System monitor http://www.arcgis.com/home/item.html?id=848f48b0f88e4de7a036377197453efe


0

in order to implement a 'mouseover' event listener, you would need a reference to an actual graphic (JSON describing the geometry and attributes of the feature of interest) within your client app.


0

Here is a script solution for you. I'm not understanding why it is necessary to import and then move, but if it is necessary this will do it. import arcpy, os, sys from arcpy import env arcpy.env.overwriteOutput = True inDWG = arcpy.GetParameterAsText(0) GDB1 = arcpy.GetParameterAsText(1) GDB2 = arcpy.GetParameterAsText(2) annoRef = ...



Top 50 recent answers are included