Hot answers tagged arcgis-server
11
A very good discussion of whether to use ArcSDE or not can be found here:
http://forums.arcgis.com/threads/57375-Why-would-I-install-ArcSDE-with-10.1
At 10.1 there is no need to install the ArcSDE software unless you need to run an ArcSDE service. If all of your users are making Direct Connections to the geodatabase then the ArcSDE installation is not ...
9
you can use arcpy for publishing your mxd files.
for listing your mxd files use os.walk :
import os
import arcpy
path= r"c:\path"
for (path, dirs, files) in os.walk(path):
for fl in files:
if fl.lower().endswith(".mxd"):
mxd = arcpy.mapping.MapDocument(os.path.join(path, fl))
print mxd.filePath
and then go this way:
1. ...
8
Sample code to do 1. is here.
The steps for 2. are here.
Note that it is not possible to create an MXD using ArcPy - you need to have an existing MXD to which you can add layers. That design decision is described here but being able to create a new Map Document from nothing in ArcPy is an ArcGIS Idea I would like to see implemented.
See @Luke answer for ...
7
Ill quote some references from Dave Peters System Design Strategies wiki, which is recommended for a more thorough read to understand the complexity of answering this question. I would also recommend checking the relevant version of web-help on tuning services.
I think this is actually a really good question, albeit a little vague, as it is something that ...
7
What you are probably looking for is a EDN License; this will give you access to ArcGIS Server which includes ArcSDE. Plus you have access to the core ArcGIS Engine runtime as well so you can make your work flexible between the two.The default package does not include a desktop license so you will want to get the up-product license for a ArcGIS Desktop ...
6
I don't think I can say that this is the 'official' 10.1 SP1 install because it hasn't been released yet. It is what I've been certifying my area of the software with.
Std Disclaimer: Although I work for Esri, this should not be considered an official statement from the company.
6
You should have a look at the REST Help for GP Task
To run the geoprocessing task, you need to provide an input. If your GP Service is Synchronous, then you need to call the Execute Operation. If your service is Asynchronous, then you need to call the SubmitJob Operation. Both of them take their input parameter in JSON Format.
In the case of a Synchronous ...
6
Replicas and geodatabases
An ArcSDE geodatabase can host both child and parent replicas. This
enables data to be replicated across multiple geodatabases
Full Official Documentation
http://resources.arcgis.com/en/help/main/10.1/index.html#/Replicas_and_geodatabases/003n000000vp000000/
5
You most likely have to recreate the service definition using ArcMap 10.1.
I believe many things were changed at 10.1--one of those being the service definition file format, which now has the extension ".sd" instead of ".msd" (I don't think renaming the file is sufficient however). Have you attempted to publish the MSD directly through ArcMap before trying ...
5
A partial answer: I'm not a Geoserver user, but I have built a spatial-driven, non-Esri web app (ASP.NET) using the native geometry stored in an actual SDE featureclass (SQL Server 2008). As long as it isn't versioned (or it is versioned and you accept whatever lag exists for your edits to be moved to base), it should be no problem. My app was spatially ...
5
Since esri does not ship source code you cannot build one layer package with all your classes. You will have to push out the esri api locally or using the CDN and then pull down your layer file. So you will have 2 and then the extra's that esri forgot to bundle or chose not to.
We've put together a discard layer so that you don't duplicate packages within ...
5
It sounds like you've reached your browser's memory limits in regards to the data returned by arcgis server 10.1. The maximum number of records returned by WFS and ArcGIS Feature Layer depend on how it was set up by the server (default is 1000 for anything running through ArcGIS Server). You can reconfigure it to send more, but then you run into poor browser ...
5
All the password information is stored Server side, so its just a matter if people can get to your Server or not.
I'd say there are 3 ways you can connect/use SDE.
1) A GP Service which uses CreateArcSDEConnection tool. You can build up a connection to SDE at Service execution time. Somewhere inside the script you'll have in plain text the ...
5
Esri just released a patch addressing this exact problem. Identified as bug NIM082657 - When working with a SQL Server 2012 geodatabase and Geometry or Geography type data, ArcMap drawing performance is slower than it was using SQL Server 2008. This affects all rendering and editing operations.
Downloads and instructions here --
...
5
This isn't really a standalone answer, more of an addition to @PolyGeo's answer as it addresses the 'mxd creation from scratch' in python issue.
Note: it's probably a bit advanced for a python 'new bee'...
You can create MXD's from scratch in python if you access ArcObjects. You will need the comtypes package and if using ArcGIS 10.1, you need to make a ...
5
Absolutely, you've hit the annoying bug NIM086349 in 10.1 that when you issue the exact same GET request / QueryTask to ArcGIS Server, it fails on alternate requests. Looks like it is fixed for SP2. @Derek Swingley who works for Esri pointed this out. NIM086349 http://forums.arcgis.com/threads/72894-Etags-and-Intermittent-QueryTask-Server-Errors
5
Is your question about whether you can open a 10.1 geodatabase with ArcGIS Desktop 9.3.1?
If so the answer is no. ESRI's stance until recently has been one of backwards-compatibility only. Meaning the client version must be at or newer than the geodatabase release version. See the compatibility table here: Client and geodatabase compatibility
...
5
These services are neither ASP.NET web services, nor WCF Services. It doesn't make sense to compare them to either, because they are very different from Both.
Till ArcGIS Server 10.0, there used to be a Java version & a .NET version. From a client's point of view, there was very little difference in these two.
You could also access the services using ...
5
When you publish any type of service, you publish from a specific database connection, which points to a specific version of the database.
So, create a new database connection to the specific version that you would like to publish the geodata service from, then either add the data to a mxd and publish from there, or right-click on the version database ...
5
If your data will not change frequently I would design your map in ArcMap with all of the scale dependent rendering and group layers based on scale. You'll have the layers you want in each scale group--meaning multiple times in ArcMap--but designed to display only the way you want it for that scale, labels, symbology, etc. Once you finish your design publish ...
5
@KHibma and others made me wonder if I might get the information by using arcpy to check the version. I dug around somewhat blindly and I think I've got something even if it's not what I was expecting. I haven't checked under AGS yet.
It produces a nice dict:
>>> d=arcpy.GetInstallInfo()
>>> d
{'BuildNumber': u'2414',
'InstallDate': ...
5
I suggested this, after looking over the results of sys.executable, arcpy.GetInstallInfo(), ListInstallations(), and ProductInfo(), none of which gave me good answer as to which arcpy I was running. KHibma, something for the arcpy team to think about - it would be a nice property (arcpy.version -- like sys.version) to have.
>>> import arcpy
...
4
You might check out the following:
Disperse Markers tools for representations. (ArcInfo aka Advanced only)
Collect Events with rendering tool.
ESRI tech article 22695 using the ESRI label engine to offset overlapping point symbols
ArcObjects SDK point dispersal samples
ETGEowizards disperse points tool. (Paid version)
I've never tried this so it may be ...
4
I would suggest multiple services, whether they're cached or not. I've often found that once a web map is available, a decision maker (boss) sees it and wants a similar app with only one or two of the same layers. If those layers are already in separate services then making the similar app will be quicker.
4
I can publish on "ArcGIS Server 10.0" MXD files generated by "ArcGIS for Desktop 10.1", but I have to use the menu "File"->"Save a copy"->"ArcMap 10.0 Document".
By other hand, using the same "ArcGIS for Desktop 10.1", I made some MSD files via ArcPython, but I got an error when trying to publish this MSD on "ArcGIS Server 10.0".
4
I think an error like yours, seen when you try to Start a Geoprocessing Service either manually or as part of Add New Service (i.e. when it is first created), is likely to be due to trying to start too many Geoprocessing Services for the resources the hardware hosting them has available.
If you Stop one or two others then you should be able to Start this ...
4
I agree with Alice and Stephen. If they will not share the data, then you are out of luck.
You could argue that if they had not disabled directory browsing of their REST endpoints, then whats to stop you from hitting the unsecure service endpoints with a query like this to pull back the points your after (also with the choice of asking for them to be ...
4
You'll be able to in 10.1 SP1. When you run a geoprocessing tool in Python, its return value is a result object. There will be a new arcpy.CreateGPSDraft function what accepts these result objects and from there the workflow from Python will be exactly the same as it is with map services now.
4
It might also be worth checking out this library which is hosted on the new ESRI github. The library allows you to make a heat map on the client side using HTML5.
A demo of the application
http://esri.github.com/esri-heatmap.js/
The github site
https://github.com/Esri/esri-heatmap.js
4
I would use arrays of object ids to do this. When you initialize the layer, get a list of all the object ids in the layer. This can be done using the returnIdsOnly option on the REST API query.
Note that while there is a limit on the number of features included in
the feature set response, there is no limit on the number of object
IDs returned in ...
Only top voted, non community-wiki answers of a minimum length are eligible


