Tag Info

Hot answers tagged

4

I hit the same road block and couldn't really get the results I was looking for without learning to code against the API. We ended up going with Mango (http://mangomap.com) instead as it has a really good Google style attribute search available. There's also a query tool, which is pretty simple but works for our purpose. I would share our app but it's ...


3

I couldn't find this syntax listed anywhere so I'm sharing it in case it helps someone else. import urllib, urllib2, json serviceEndPoint = "http://<server>/ArcGIS/rest/services/<name>/FeatureServer/<ID>/" #Query the server for the objects to be deleted params = urllib.urlencode({'where': <whereclause>, 'f': 'json', ...


3

Yes it's possible, using arcpy.ArcSDESQLExecute. You'll find various examples in the hyperlink.


3

According to your edit, you want to create a map (layers, featured services etc) using ArcGis for Desktop, which in turn will be used via the Javascript API in my application This is simply not possible. When you publish a map as MapService, it takes on the projection of the Map. In ArcGIS for Desktop, there is no out of the box way to change the ...


2

The problem was with the fact that my Local Government SDE Geodatabase was imported from an XML Workspace. Those *__ATTACH tables were generated from the XML. I went in, deleted the Park__ATTACH (which auto-deleted the Park_ATTACHREL table) and then went to Catalog > Local Government SDE > ReferenceData > Parks and right clicked 'Create Attachment' which ...


2

Your workflow will not technically be supported, so yes it is dangerous. Consider this documentation: Replication and geodatabase releases (10.2.x) http://resources.arcgis.com/en/help/main/10.2/index.html#//003n000000z3000000 Geodatabases built using previous versions of ArcGIS do not support some of the newer functions of ArcGIS. Consequently, if ...


2

You probably need to change the pg_hba.conf file to enable for remote connections. Then you need to register the db with ArcGIS server. In ArcGIS server you will go to the Site tab, and choose datastore. Copy your sde connection file to the sever and point to that connection file.


2

To learn what was new in the ArcSDE component of ArcGIS Server 10.0 I recommend reviewing What's new for geodatabases in ArcGIS 10 where just one example of a change since 9.3 is: Geodatabase system tables have been consolidated The geodatabase schema has been restructured for the ArcGIS 10 release, consolidating the information previously stored ...


2

Just as Vince said...A simple tool built with model builder (using featureclass to featureclass or similar), then published to ArcGIS Server, would do the trick.


1

It sounds like you may be hitting this. This is reproducible with the TableToDomain tool as well. Try the workaround that succeeds for the Add Coded Value tool, that might do it for your case as well. NIM103667 http://support.esri.com/en/bugs/nimbus/role/beta10_1/TklNMTAzNjY3 Submitted Jul 23, 2014 8:05 AM Synopsis While executing the Add Coded Value ...


1

In the ArcGIS Help 10.2 there is a page called Managing the performance of ArcGIS map services which discusses options for addressing any display performance issues and includes the approach that you mention in your question: Precompute information results when you can do so. For example, you can precompute the maps that are delivered with ArcGIS for ...


1

My original answer is below the line but I am having second thoughts about it. This is because the ArcGIS Server 10 Help page entitled Customizing a WMS GetFeatureInfo response says: ArcGIS Server comes with XSLT templates for the supported formats listed in the WMS's capabilities files. For example, if you open the directory of these templates at ...


1

I use requests to do stuff like this: import requests def _post(service, _params={'f': 'pjson'}, ret_json=True): """Post Request to REST Endpoint Required: service -- full path to REST endpoint of service Optional: _params -- parameters for posting a request ret_json -- return the response as JSON. Default is True. """ r ...


1

To create a feature layer, you need access to the layer's REST endpoint. This can be on the web, or on your localhost - see The Services Directory and the REST API. See the Feature Layer help page to get started with creating a feature layer using the ArcGIS Server JS API - the URL you use can point to your local machine.


1

You should be able to call destroy on the current map instance then create a new esri/Map instance and load the new base map. See: https://developers.arcgis.com/javascript/jsapi/map-amd.html#destroy var map1 = new Map('map'); var basemap1 = new ArcGISTiledMapServiceLayer(url); map1.addLayer(basemap1); ... map1.destroy(); ... var map2 = new Map('map'); // ...


1

I'm adding this answer because this topic shows up as a top hit for a similar problem. When we were doing an install using Centos instead of RedHat, we had a similar problem starting. However, instead of missing a library, the error was something along the lines of /root/arcgis/server//framework/runtime/xvfb/Ubuntu/Xvfb: No such file or directory The ...


1

You can disable a popup on a layer or layers by passing null to layer.setInfoTemplate(). Once you've got the array of feature layers that are used for displaying features from you KML (the lyrs var in your example page, around line 110), loop and clear out the info template like so: lyrs.forEach(function(l) { l.setInfoTemplate(null); });


1

Add the graphics to a graphicsLayer, and listen for this layer's mouse-over event to detect when the hover starts. Listen for the mouse-out event to detect when the user's mouse has left the graphic (in which case you may want to close the infoWindow). There's a sample here which demonstrates this, albeit in a slightly more complicated manner.


1

I ran into a similar issue. The only way I could really see (although not exactly security safe) is to disable only secure content through HTTPS sites. This MSDN Help tells how to change your security settings. Note I only got this to partially work last time I tried it. I was trying it through Google Chrome though. If this is for internal use, you ...


1

Here are a couple of possible examples. JSTS Topology Suite The JSTS Topology Suite is a JavaScript library of spatial predicates and functions for processing geometry conforming to the Simple Features Specification for SQL published by the Open Geospatial Consortium. JSTS Topology Suite is also a JavaScript port of the well established Java library JTS ...



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