Tag Info

Hot answers tagged

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

The map object will take on the projection of the first layer you add to it, in the case of your code, the streets basemap is 102100 (web mercator). You have two options to solve this: Use your own basemap service that is in your 102726 projection so that the points from the web service show up in the correct place. Stick with arcgis online basemaps, ...


3

Regarding your question as to whether you can edit a feature layer using the REST API, the answer is yes. See the Apply Edits section of the REST API for documentation on how do this this. However, if it's only the status of the alarms which is changing every 15 minutes, you could make the change purely within the web map (without needing to change the ...


2

I would agree that the ideal solution would be to upgrade to ArcGIS Server so you can take advantage of replication capabilities built into ArcSDE technology. You can get more information about ArcGIS's Distributed Data capabilities at http://resources.arcgis.com/en/help/main/10.1/index.html#/Understanding_distributed_data/003n000000ts000000/ In general ...


2

With respect to your comment: "Is there a way to analyze and catch the errors in the code itself?" Use arcpy.mapping.AnalyzeForSD(path_to_sddraft) to get a Python dictionary of your errors, warnings and messages. Refer to the AnalyzeForSD (arcpy.mapping) help for code samples and further explanation.


2

The best reference for this is this page on the OSM Wiki. It has Pseudo code as well as code in various languages for converting from the XYZ tilenames, to the bounding box. The Pseudocode for this is as follows n = 2 ^ zoom lon_deg = xtile / n * 360.0 - 180.0 lat_rad = arctan(sinh(π * (1 - 2 * ytile / n))) lat_deg = lat_rad * 180.0 / π Note that this ...


2

I have eventually solved the issue, based on the post by Hornbydd. Thank you! As he suggested, something in my PATH environment variable was causing mixed architecture (32 and 64 bit) DLLs to get loaded. 1) I downloaded and installed ESRI's 64 bit geoprocessing software for ArcGIS 10.1 Service Pack 1. I had read somewhere else that Python uses a service to ...


2

Had a quick search on Google for what R6034 meant and here are some threads, it may not even be anything to do with ArcMap? Thread Reason StackOverflow Q&A And a whole load more...


1

I recommend that you review the Help page entitled Managing the performance of ArcGIS map services. In particular I think you should look at the dot point from that page below: Precompute information results when you can do so. For example, you can precompute the maps that are delivered with ArcGIS for Server and use cached map services or basemap ...


1

I don't see why you couldn't, are you having specific issues with it? The File Geodatabase format supports multiple, simultaneous, view-only connections, so there shouldn't be any issue with you doing that with map services. You can see more info about comparisons between database types in ESRI at ...


1

So, after consulting here and on ESRI's GeoNet, I have come to the conclusion that for some reason ArcGIS Server 9.3.1 does not pass the information to the JavaScript API that I require. A user on GeoNet compared their up-to-date server against my slightly aged one. They have the required properties while I do not. Just another reason to convince my boss ...


1

If you don't plan on maintaining/upgrading a web application, its typically a good idea to leave the services that it utilizes alone as well. Because version 1.4 of the Esri JavaScript API was released years and years before ArcGIS Server was re-engineered/redesigned in its current native 64 bit form, there was no way for the developers to ensure that it ...


1

Theres a bunch of things I'd suggest changing. I'm not being picky, I'm listing them all because if you get past the problem you're having, you don't want to get stuck in another section of code. 1) Why are you loading your input into a featureset? I can't think of why this is necessary. Just pass whatever value you're getting directly into buffer. Input = ...


1

JP2 images can be loaded up into ArcGIS for Desktop, and served up as a cached map service within ArcGIS for Server the rasters are purely for reference. The aerial images are merely to look at. like google satellite view Then there is no need for serving these up as Image services. This is a common mistake, as people believe that as its imagery, it ...


1

You have no outputs to your tool. You want to return this: print json.dumps(data) That wont return anything when run as a tool: neither to the results messages, nor as an output. You need to add a new, derived string parameter to your tool properties then this code at the end: arcpy.SetParameterAsText(1, json.dumps(data)) Alternatively you could just: ...


1

What you can do, is to check the expected Visibility at a particular zoomlevel, and change the layer's VisibleLayers appropriately. The map's zoom-end even is one place where you could check it. Assume that I have a DynamicMapService with 5 Layers in it. I'll define the layervisiblity with something like this: var layerVisibilityInfo=[ {id:0, ...


1

This is more a sysAdmin question than a GIS one - you may be better off asking - http://serverfault.com/ However, it should be fairly simple: - Use a tool to monitor the ArcGIS service. For example Nagios or a member of its ilk. - When the service ceases to respond, have a script run automatically (such as the one you found) that restarts it.


1

I found Example: Stop or start all services in a folder . It was very useful for the purpose . If you want to start automatically just change some of items in this sample and run in task scheduler of windows .


1

Your query is working fine. The error stack trace you've submitted is pointing to the part of your showResults function where the map's graphics layer is told to clear. The this is usually thrown because the map's graphics layer hasn't loaded, which is probably because the map hasn't finished loading yet. Where you have: query.where = "OBJECTID = 1"; ...


1

in general, you only get access to the symbology/opacity defined in the service itself. that being said, dynamic layers capability added at 10.1 provides an opportunity to define an entirely new renderer on the clientside for ArcGISDynamicMapServices... Here's a link to the ArcGIS Server help for configuring map services with dynamic layer support: ...


1

You would need to set up a seperate folder for each service. And use the iis settings to allow a list of ips for each folder you have. So I assume the restricted IPs are outside of your network. This is a feature of latitude geocortex. Which allows federated security. Setup an allowed domain or any number of single email accounts. This would still require ...


1

You want to look into ArcGIS Portal. It is a server extension. They describe it as Portal for ArcGIS gives your organization a platform for managing all of its geospatial content. It enables secure and private sharing within the organization and leverages mobile, server, and desktop clients. It is ideal if you have high confidential and proprietary ...



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