Tag Info

Hot answers tagged

11

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

I use the AGSSOM utility http://arcscripts.esri.com/details.asp?dbid=16293. It is a command linetool that works with Arc10 on both Win7 and WInServer2008. You can start, stop, and view running services from the command line. You can also write a batch script to schedule. Very nice little utlity.


6

You will set up one of three types of security. . After enabling security you need to first create the users and groups (either in the ags store,a management db, or a domain/ldap. Then go to each service and enable for that group. Note that you can only apply roles to services. You need a separate role for each service. Then put a different user in each ...


5

there is a topic here which is the same as your question but i dont know whether works or not for you.. you can read this articles for getting some information.... 1.Setting Up a WMS Server Using MapServer here... 2.Open Layer with MapSever here 3.Mapserver WMS Settings here 4.Overlay WMS on Google in OpenLayers here i hope it helps you...


5

Pro tip: use Fiddler to watch the traffic between your browser (viewer) and the server. Doing so produces this URL for your search query: ...


4

This sounds like a permissions issue, I've dealt with something similar before. I had a view in SQL Server that I needed to join onto a FC in my MXD for a map service, here's what I had to do: give my SOC account (which in my case is a domain acct) db read and db execute access to my database create a ole db connection in ArcCatalog with OS login copy that ...


4

The /ArcGIS/Services application is actually a SOAP endpoint that won't give you anything when you visit it in a URL. That's why you get the "No Content" error message - it's telling you that you didn't give it any instructions. To actually see your map you will need to also deploy a viewer to your web server that can put that map into a browser. The ...


4

There is a C++ SDK of FileGDB API to handle FileGDB, and this may help you. You can build a web service wrapping local operations of FileGDB API, make it RESTful to be consumed by Javascript API.


4

Aragon has a great answer, but unfortunately it doesn't work for ArcGIS / ArcServer 10.1. The new method I just tried is based off of the ArcGIS 10.1 help. You can find the link to the help file here: http://resources.arcgis.com/en/help/main/10.1/index.html#//00s30000006q000000 Here is how I used the code to publish MXDs based on a specified folder: ...


4

if you want do it in c# you can see in my blog: http://nicogis.blogspot.it/2012/10/ags-101-restful-administrative-api.html for conversion mxd -> msd you can use python called from c#


4

Without Looking at your code, I can't say why you can't access your ArcGIS Server 10 layer. But I can access ArcGIS map service layers in my OpenLayers App in the following ways: When the map service is a tiled Mapservice in WebMercator, I can use the following code: layer = new OpenLayers.Layer.XYZ( "ESRI", ...


4

Theres a whole bunch of code and tools to administer ArcGIS Server 10.1+, look here http://www.arcgis.com/home/item.html?id=12dde73e0e784e47818162b4d41ee340 They connect to the REST end point of the Server/Services. For the publishing of map services through Python (and arcpy), look here: ...


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


3

I solved this problem by publishing a gp service with "Add Field" toolbox.To invoked this gp service via javascript api.As shown :


3

Mapped network drive are profile specific and only exist with an interactive logon. Since it is the ArcGISSOC account accessing the data, a mapped network drive cannot exist since that account never logs in interactively and the mapped network drives for the user account does not carry over to that SOC account. Although I haven't tested this, you may be ...


3

Once you publish a service in ArcGIS Server and in order to display that service over the web you will have to create a web application. In ArcGIS Server you can create the web applications from ArcGIS Server manager where in you can consume the service which you have published using the map document. For more detailed steps on how to create a new web ...


3

[Originally posted as Update 3] The programmer at ESRI found the fix for the bug, and the fix is now in the pending 10.2 release (whenever that might be). So, ESRI optimized map services will be able to handle nested groups in annotation ... as of 10.2. I hate to answer my own question, but I hope at least that the information will be useful to others.


3

Most companies actually seem to use dual range address calculators (At least in my experience the results are consistent with that behavior). Basically each uninterrupted strip of road has a range, or multiple ranges of numbers, on either side that specify the maximum street number and minimum street number. One side has odd and the other usually has even. ...


3

Your problem may be using the Maplex label engine. I have found that labels set using Maplex do not come through on a service or are highly unpredictable at best. Try setting the labels the regular, non Maplex way. If you are already using regular labels, try adjusting the scale for label display.


3

If you have switched on the WMS capability of the map service, then you can consume the service as a WMS Layer, using the OpenLayers.Layer.WMS() class.


3

As long as the ArcGIS for Server map services have been exposed as a WMS (which is a matter of its administrator ticking a checkbox) then you will be able to add them as WMS layers to QGIS. The second service URL that you provided looks like it comes from ArcGIS for Server but neither looks like a WMS. I recommend you contact their providers and request a ...


3

As Vince pointed out in a comment - you could theoretically write code to clip a map/feature service. But that would probably be a lot of custom work. You wouldnt as much be extending the Clip and Ship tool as you'd be writing a custom extraction of JSON from map services. Generally the clip and ship work flow is comprised of 2 services: GP + Map. They both ...


3

Unfortunately you cannot. ArcGIS for desktop and ArcGIS for server are two completely different softwares, with different feature sets and different use cases. The gui to do arbitrary analysis is not present in ArcGIS for server and the ability to host and serve services is not present in ArcGIS for desktop.


2

are all of the dynamic map services in the same coordinate system, the reason I ask is because the "On the Fly Projection" is a process which slows down the visualisation.


2

I have not seen a comparison documentation at any level (comparing websites). I think that the list is long on both sides for geoportals built with COTS, and with OS mapping engines. The question fails to ask about the data being open source. If you look at COTS geoservers with WMS or other openlayer solutions it coudl get even more confusing to ask if they ...


2

It sounds like the setup that you are trying for right now, is more or less exactly what I am currently working with. We have an AGS10 setup with multiple concurrent users, a common basemap (The ESRI Streets data which is in our MXD), and then multiple layers in the MXDs. Each user then has an individual login and once they are in the application they ...


2

OK, there seems to be a few issues here. We are using a direct connect, and this needs Oracle Client installed on the ArcGIS Server. The SOC and SOM accounts were a red herring. If we're going straight through the SDE connection port, then you don't need the client, but as we're going through to the db, i.e. using 2 tier architecture, rather than 3 ...


2

My preferred setup is to control as much of the output as possible with definition queries. Simply add a user column, and set a definition query for the particular user at runtime. This also forces you to rationalise the number of layers and the complexity of the data model, which generally makes things run faster.


2

The behavior of groups using the API is different than in ArcMAP TOC. This is how I understand your layerIDs: a. LayerID0 LayerID1 LayerID2 b. LayerID1 c. LayerID2 d. LayerID3 e. LayerID4 If you turn on group layer (a), then all sublayers will be displayed. If you turn off group layer (a) but turn on layer (b) or (c) then only layers will display. ...


2

@jswise is correct, in ArcGIS Server v.10 you cannot create an .msd containing an XY event layer - you can create a service from an .mxd though. Support for XY event layers in .msd's has been added in the next version (10.1) according to this comment: ...



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