Tag Info

New answers tagged

0

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

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

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 .


0

As a workaround, the documentation recommends calling Python from out of process. While the topic is on arcpy, it should apply to anything that uses Python in the stack. I'd strongly recommend contacting Esri support to address this particular issue, though. It may already be in their knowledge bade with a solution.


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


0

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

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


0

Yes, you can add columns to a table. The standard SQL statement follows the format of: "alter table add column xyz"


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


3

To display that many polygons, you'll almost certainly need to use a tiled layer, rather than streaming the vectors to the client. You've tagged this with ArcGIS, so you could use ArcGIS for Server or ArcGIS.com to generate a tiled layer, which could be shown in the ArcGIS JavaScript API. You can display this tiled layer with the OpenStreetMap basemap ...


1

You don't have to specify a built-in basemap. Add your custom basemap as a layer like so. var map; require(["esri/map", "esri/layers/ArcGISTiledMapServiceLayer", "dojo/domReady!"], function (Map, ArcGISTiledMapServiceLayer ) { map = new Map("map", { center: [-76.756, 40.241], zoom: 8 }); var ...


0

It looks like you should be able to now that I have read up a bit on the documentation. It looks like you can check User Name if you set it up in the Logging Properties. Check the documentation HERE to find more details. From what I am gathering, you just need to add a property. You also could look into setting your Logging Level to Debug if you can't ...


0

I found this article: Integrating external programs within ModelBuilder, it is older and initially looks like it is off topic, but if you look at this: , you can see that it explicitly sets the path to the R script. When your geoprocessing script runs on the server, it runs in a scratch folder within the jobs directory. Depending on the publishing ...


0

If its a one time query and you don't have more than 1000 features try pasting this into qgis by using the add vector layer - choose protocol and replace this arcgis rest URL with yours: http://geodata.epa.gov/arcgis/rest/services/OAR/USEPA_NEI_2005/MapServer/1/query?where=objectid+%3D+objectid&outfields=*&f=json ... This assumes you have gdal 1.10 ...


1

For a one-time conversion I would have used the accepted answer from @Sasa Ivetic but needed something real-time, and Terraformer worked decently for that. Unfortunately it's only for single features by default, so for multiple features you need to loop through the array and add an ID to each feature: var FeatureCollection = { type: "FeatureCollection", ...


0

Wouldn't you just set the scale dependent visibility in the mxd that you are publishing?


0

I found that I only get the extent of the polygon by using feature class in a file geodatabase. Whenever I used a shapefile I got the entire map.


0

It might be the proxy setup, or it might be the code inside the JS you used. There is a proxy parameter esriConfig.defaults.io.alwaysUseProxy. Try setting it to false. You can read about the proxy page here: https://developers.arcgis.com/javascript/jshelp/ags_proxy.html Also you can add more serverUrls to your config since the basemap request goes to your ...


0

I figured out a few reasons why my WMS layers were not drawing: I was adding individual WMS layers to the map - layers will not draw unless the full parent WMS group layer service is added - individual layers can then be turned on/off as desired. Folder permissions on our ArcGIS server were set incorrectly for WMS service. I'm not sure why it was letting ...


1

I think the problem is not in the "resolution" as size X x Y but in the "resolution" as DPI (dots per inch): you have (for example) 96 DPI (standard) on your screen and the clients have higher DPI on their screens. This resolution is controlled by DPI parameter of your service cache. ...


2

you are providing an invalid url to your locator service in your code. "https://www.cartotronics.com/ArcGIS93/services/UTC_Viewers/Louisville_AlphaNumeric_Ranges/GeocodeServer" //should be "https://www.cartotronics.com/ArcGIS93/rest/services/UTC_Viewers/Louisville_AlphaNumeric_Ranges/GeocodeServer" just as an aside, it would have been substantially less ...


0

Unfortunately, the only way to programmatically determine if an ArcGIS Server 9.3.1 Layer has query capabilities is to make a GET request for the layer's resource page and search for "Query Layer" HTML content. Here is a bit of Flex code that does just that. I specifically first search for "Support Operations" text and it's location in the content. If that ...


1

Are you saying you want to password-protect the map so that only people who have a login can access it? If so, you will need to turn on map service security on ArcGIS Server, create users in ArcGIS Server's user store, and then use the ArcGIS token capability in your viewer to provide access to the map. It's not trivial, but not brain surgery, somewhere in ...


0

Option 1: Try republishing the service. I ran into this error when copying over a new mxd file to the server without publishing it. Option 2: Try the unique timestamp workaround already referenced by BinnyN. Below is the code: var uniqueTimestamp = (new Date()).getTime(); query.where += " AND " + uniqueTimestamp + "=" + dirty;


5

The "ArcGIS-101SP1-S-SSEC-Patch-lx" patch should be applied to 10.1 SP1, not just 10.1 (10.1 SP1 is a standalone install, not something to be applied to 10.1). There are more recent patches posted on support.esri.com -- I recommend you keep up to date. Choosing to upgrade ArcGIS Server should be part of a process that includes ArcGIS Desktop upgrades ...


0

You may try inspecting the object that has your list of items and building a new one containing the single instance of the strings in the old object. This sounds like what you might be trying to do. If not, then please let me know and i will refine the approach, as appose to simply down voting me ;). The idea is to filter your object with duplicates by ...


0

please test and create tile cache with arcgis geoprocessing toolbox


0

To register a feature service residing on ArcGIS for Server on ArcGIS Online, you need to: Go to My Content > Add Item Set The item is On the web Choose ArcGIS Server Web Service Set the URL feature service REST end point (i.e. http://myserver.net:6080/arcgis/rest/services/MyFeatureService/FeatureServer) At this point the feature is editable by anyone ...


1

This looks like you are encountering a warning that is documented as 24011: Data source is not registered with the server and data will be copied to the server. The two solutions offered are: Do nothing. The source data will be copied to the ArcGIS server. ... If you do not wish to copy your data to the server you will need to register the original ...


1

I was unable to find anything built-in going through the docs, only this ticket which does not appear to have ever been merged into OpenLayers. You can use the open-source Terraformer library by Esri to convert from Esri JSON to GeoJSON, then use the standard GeoJSON functions in OpenLayers to act on it from there. Alternately, it appears you can glue the ...


1

Finally I have the answer for my Query: Here is the solution... (I am posting this; it might help someone) Thank You for your Help and Support. <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="viewport" ...


1

You are getting an error message from the server back in XML. You can view the message by extracting a tile url being sent to the server. This is easy to do in IE - just right-click on the map and copy the image url. Otherwise use Firebug or the debug tools in Chrome to extract the URL. Then just paste it into the browser directly. I'm not sure why you are ...


1

using maplex is the only fix for this I have found. since these are polygons (points work much easier) the workaround I have found is to... there are several maplex settings that will help like eroded center always within polygon. Which is in the anchor setting. interior feature weight. then choosing place at fixed postion and setting the internal ...


0

More of a Hack, but I would simply add a cartridge return after the field for parcel service, and a cartridge return before the the field future land use, in there respective label expression. Here an example in Python For Parcel Service [parcel_num] + '\n' For Future Land Use '\n' + [future_land_use_num] This should offset them one on top of the ...


0

I've recently posted a blog titled When is the Web Adapter Needed. You will find a cheat sheet to determined if the web adapter is mandatory for your ArcGIS architecture.


0

Since version 10.1 there have been being a Web Adaptor that assists for integrating ArcGIS for Server into corporate infrastructure. Supporting WS-Federation boils down to adding WIF to the pipeline in case of IIS. With respect to the federation you did right: one partner - one account. It's FP's duty do claims transformation. Turning on claims authorization ...


0

Since you have not started, I suggest trying to use the Query data without a map developer sample for the ArcGIS API for JavaScript first: This sample demonstrates that you can query data from a map service without displaying the service. Most map services contain datasets with attribute information that can be queried and displayed in a simple ...



Top 50 recent answers are included