Hot answers tagged arcgis-server
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
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/
4
I guess you are missing time format. If you are using DateTime Field for "Start Time Field" and "End Time Field", you don't need to take care about "Time Value Format". But if you are using Text Field, then the time string must be same as "Time Value Format".
Please check [Mosaic Dataset Properties]Dialog > [Default]Tab.
In this case, "TIME" is Text type ...
3
The answer is Yes.
Have a look at this sample: Generalized Data.
If you have a look at the Original Services, the Feature service is wkid:4267, while the map and the tiled map service are in wkid:3857/102100.
If you have a look at the service call using Firebug, you will see that the data is requested in wkid 102100:
2
To answer this question in a definitive manner I think you need to focus on exactly what field of mobile GIS development you are interested in pursuing. Based on your current job title, are you interested in developing applications that are primarily geared towards implementing GIS in the field, i.e. data collection, GPS tracking, etc? Or a different field, ...
2
The symbol for your polygon from your query task is not valid. While it still works within the API, the print task is less tolerant.
Change this:
// Executes after the query ahs been completed
dojo.connect(queryTask, "onComplete", function (results) {
//QueryTask returns a featureSet. Loop through features in the featureSet avd add them to the map.
...
2
The answer to what you are asking, is that there no other geoserver which has the exact REST API as ArcGIS Server. There are several license levels for ArcGIS Server, and the price differs accordingly.
Now coming to solving your actual problem. You say that "I need to use existing ArcGIS Restful services". I would ask why?
Other FOSS servers like Geoserver ...
2
Here is the sample code which customized from esri sample. This sample follows 3 steps,
Create SDDraft from mxd document
Set service type to esriServiceDefinitionType_Replacement of SDDraft
Stage and upload the sddraft with overwriting existed service.
import arcpy
import xml.dom.minidom as DOM
#define local variables
# wrkspc mxd document ...
2
There is no way to mirror the databases "on the fly" using ArcGIS geodatabase replication. You could attempt something like this with DBMS replication but that is not a recommended practice. Best thing to do is set up a scheduled task to run the synchronization (via python script) as frequently as you need.
Understanding Distributed Data
The following ...
2
You need to get the geometry of the feature, and then zoom to it's extent.
I would use a function like this:
function ZoomTofeature(feature){
//get the geometry of the feature
var shape=feature.geometry;
//check if geometry is polygon
if(shape.type==='polygon'){
//get extent
var featureExtent=shape.getExtent();
//now zoom to ...
1
var deferred = featureLayer.selectFeatures(query, esri.layers.FeatureLayer.SELECTION_NEW, function (selection) {
var stateExtent = selection[0].geometry.getExtent().expand(3.0);
map.setExtent(stateExtent);
try this instead of
featureLayer.selectFeatures(query, esri.layers.FeatureLayer.SELECTION_NEW);
You can get the selected features from ...
1
We can use the map's extent property, to get the extent. Usually your map will be in webmercator. we'll have to project the bounds back to EPSG:4326 in that case.
You can use the following code:
//asuming your map is in web mercator
//get the bounds of the current view
var bnds=map.extent;
//project the bounds from webmercator to latlong
var ...
1
The answer is No. If you are using on ArcGIS Desktop, all Tiled MapService can project to the other projection. However, all Web Mappings API such as Flex, javascript and Silverlight, project Tiled MapService is not supporting. This means, your map's spatialreference need to be same as the Tiled Map Service's spatialreference.And also, you cannot republish ...
1
The first place I would check are the logs in the event viewer on the remote server. I see you have 'SQL' in the path there. If you're connecting to a database, ensure the process owner (which I believe would be the ArcGIS Server admin account if you're running it as a GP tool in AGS) has access to the database if you use Active Directory authentication.
...
1
Have you looked at the reorder function on the map object?
Suppose your map already has 2 layers, and you want to add a new layer in between them, you could use the following code:
var LouisvilleLayer=new esri.layers.ArcGISDynamicMapServiceLayer(
...
1
Please read the following information.
http://developers.arcgis.com/en/javascript/jshelp/ags_proxy.html
In the "ASP.NET" section, there is the instruction for IIS, and also you can download "proxypage_net.zip" which include proxy.ashx.
Hope this helps you.
1
If you're looking for something simple, you could use Dropbox or Bittorrent Sync to mirror the databases on the fly. They both operate in realtime using Windows' file snapshot services, so changes get caught. You'll still want a traditional backup, but, if the scale of your project doesn't necessitate using your SDE option, these two can be elegantly simple. ...
1
It is possible. First, you need to register output directory or parent directory as "Data store". Because, ArcGIS Server 10.1 can only access to "Data store" directory. Next, add the output directory as IIS Virtual directory. Then, you can create file to output directory and access it from IIS.
To get more information about Data store, please follow,
...
1
Your main task is to upload the user given shapefile into your server and append it to your SDE Geodatabase.
I'm not sure if actually showing the features to your user on the web map is an actual requirement, so I'll give you two ways of doing this.
If You need to show the geometries on the map, then there are two main parts to your User Case:
Upload ...
1
The answer to your Question is that is very much possible to change the spatial reference of your map, but only if you do not have any tiled layers in it.
To set the spatial reference, just make an new Exent in your required spatial reference, and then set your map's Extent to this extent. In Case you have some tiled layers, remove them before doing this.
...
1
Your symbology rendering, scaling, and labeling is defined within your map document. To define layer scales:
Right click each layer in the Table of Contents and select Properties
Select the General tab and define min and max scale for each layer
Save your map document, and then re-publish your service
1
Since you're already taking java classes, I'd look at the ArcGIS Runtime SDK for Android, which borrows heavily from java and provides packages that support easy consumption of ArcGIS Server.
Still, as others have mentioned, it is worth reviewing the native vs HTML5 debate.
1
What you can do, is to save the graphics on the local storage of the client browser.
Note that local storage or DOM storage, is an HTML5 feature, and older IE browsers do not support it.
For a deeper understanding, read this article from Dive into HTML5.
Here are two ESRI JS samples which might be useful:
Store bookmarks client side
Local storage - ...
Only top voted, non community-wiki answers of a minimum length are eligible


