-1
votes
0answers
36 views

How to set input parameters for geoprocessing task that uses Intersect tool?

I have tried to create a geoprocessing task that allows the intersection of two or more layers from my map service. For that I created a model, using ModelBuilder, and I published it as a ...
1
vote
1answer
43 views

Can you customize the editor widget for a feature layer?

Here is the code for the editor widget: <esri:EditorWidget x:Name="MyEditorWidget" Map="{Binding ElementName=MyMap}" Width="300" ...
0
votes
0answers
25 views

How to access input parameters (layer name,field name) in rest SOE?

I want to access input parameters in my SOE(Server object extension) code which I am writing in arcobjects using C#. I have constructed the complete URL(including layername id and field name) for ...
1
vote
1answer
29 views

JSAPI help with query returning results from feature layers with a specified named column

I have a workflow that results in generating a report for certain features with a column name. Goal is to return only results from feature layers in my map service which have a specified column name. ...
0
votes
1answer
57 views

How do I access a feature layer's “displayField” from a REST SOE?

Understanding I can't use the 'ESRI.ArcGIS.Carto.IFeatureLayer' interface, how can I get to a Feature Layer's "displayField" from a REST server object extension using arcobjects C#? ...
0
votes
0answers
53 views

How to populate a dropdownlist with map service field names given only the layer name

I'm trying to wrap my head around a task which seems pretty simple, but not sure what the easiest way to go about it. I'm using javascript api and have a populated dropdownlist of sorted layer names ...
0
votes
0answers
41 views

Suggestions on how to find street intersections

I'm running AGS 10.2 with AGS Desktop 10.1 and SQL 2012. I have a REST SOE which is currently providing custom services to a JSAPI app. I'm working with a basic streets layer with only street names ...
3
votes
2answers
211 views

Why unable to edit ArcSDE from multiple computers on LAN using custom ArcGIS Engine application?

I cannot edit an ArcSDE database from multiple computers on a LAN network using a custom ArcGIS Engine application, I have tried both versioned and non-versioned feature classes, but they cannot be ...
0
votes
1answer
40 views

Handle string or int in server object extension

How would you also check to see if the value you are passing into into an SOE is an integer as well? This checks for string, but returns 0 when passing number: string searchValStr; int ...
1
vote
0answers
24 views

Implementing day night functionality [duplicate]

I want to implement day/night functionality on world map i.e there will be dark layer showing countires having night now. This world map could be creaeted through ESRI or SVG map.I want to ...
1
vote
0answers
45 views

How to return shapes from geo service?

I have a geo service that seems to finally be working. I have the service setup with a list of Polylines as the returned object. This is what I'm trying to implement but it doesn't work: ...
1
vote
0answers
117 views

ArcGIS Server Object Extension (SOE) RestOperation configuration

How would you accept a call to a RestOperation with string and reply back with a json array of the column names in the table holding this information? So, if string is 'owners' then get names of ...
0
votes
0answers
61 views

How to retrieve FeatureServer and ClassExtensions error messages?

I am having problems when publishing a service with a FeatureServer capabilities. This service is pointing to a FeatureClass on the Geodatabase and this FeatureClass has a classExtension associated. ...
1
vote
0answers
29 views

Bug in ArcGIS WebADF's IMapFunctionality.DrawExtent?

I'm maintaining an old ArcGIS WebADF-based application that has recently been upgraded to use the 10.1 libraries. I'm not too optimistic about finding a solution as I think I'm the only person in the ...
2
votes
1answer
189 views

How to connect to ArcGIS Server on the other machine?

There is the ArcGis Server on the machine 192.168.**.22 Machine name is MAPSERVER. User name and password for ArcgIS Server are "test" and "testtest" (for example) ArcGis Server options are: ...
2
votes
0answers
117 views

Can I update the service on ArcGis Server programmatically?

There is Windows Service. This service adds user raster data to the Raster Dataset in sde database. The Raster Dataset registred on the ArcGis Server. This Raster Dataset also was publishing on ...
0
votes
0answers
94 views

How to fill selected feature(s) with transparent red fill using ArcGIS Server 10?

I'm writing a Server Object Extension (SOE) for ArcGIS Server 10, and I'd like to change the symbology of features selected from my feature layer such that the features are shaded with a transparent ...
0
votes
0answers
158 views

Changes in Activeview are not in exported image

I am trying to export without Arcmap so i created a webservice in C#. The export works OK. The problem is that whatever i do with the activeview(pan, zoom) it is not affected to the exported image. I ...
1
vote
1answer
108 views

Getting started with development for ArcGIS Server

I'm currently working on upgrading a C# web service I wrote a couple of years ago built against ArcGIS Server to ArcGIS Server 10. The application in question does some basic spatial queries and ...
0
votes
1answer
125 views

Can I access the request URL in a AGS Server Object Extension (SOE)?

I would like to obtain the full URL of a REST request inside of an ArcGIS Server SOE. I would like to return the full URL to an output file. But, the service may be exposed on different servers or ...
2
votes
1answer
124 views

Stand-alone Server Object Extension (SOE)

I would like to setup a REST service through ArcGIS Server. In this case I do not need a map service, but it seems like you can only deploy an SOE as an extension to another service. It seems ...
1
vote
2answers
161 views

How to write a file in an Server Object Extension (SOE)

I would like to create a file with an ArcGIS Server Object Extension and return the url. Is this possible? Where would I write the file? I'm working with .Net, IIS, and AGS 10.1.
2
votes
1answer
74 views

How to extend a custom NASolver in ArcGIS Server 10.1?

The past year we developed a custom NASolver with C# , it works fine and that job has finished. Now we are planning to use it from ArcGIS Server. The problem is that we have no information for that. ...
2
votes
2answers
174 views

Using ArcGIS Server SOE to listen for edit events

Bit of a conceptual issue I have a situation where I need to add business logic to newly created features in a feature service. When new features are created I need to preform overlays and assign an ...
1
vote
0answers
229 views

The underlying connection was closed: The connection was closed unexpectedly, WCF and ESRI Objects

I am getting this error when using ESRI objects like Geometry, Envelope etc in a WCF service. I have a class that some properties (string, int, double) but when I add ESRI type as part of this class, ...
6
votes
1answer
350 views

Why are annotation features containing both GraphicElement and TextElement objects not drawing in an ArcGIS Server map service?

I am building annotation features with Python/comtypes/ArcObjects. The annotation works great in ArcMap (10.1), but it is does not draw when published to a map service in ArcGIS Server. Each piece ...
0
votes
0answers
104 views

ESRI AddFeatures call on rest endpoint with attributes

I can add a line feature via the rest endpoint with my hand crafted call from C#. However, if i add any attributes to the call it will fail and say unable to perform operation. All of the fields in ...
1
vote
1answer
304 views

Arcobjects initializing license error

I have ArcObjects .NET code that is running on a machine with ArcGIS for Server 10.1. The application worked on the dev server. But when I moved to Test server, I am not able to initialize the ...
2
votes
1answer
134 views

Binding to ArcGIS for server

I am building a stand alone .NET applications using ArcObjects. I want to run it on the server, where I have ArcGIS for Server. I am trying to bind the license at runtime to the ArcGIS server ...
2
votes
2answers
175 views

How to return feature.shape from server by using WCF and ArcGIS Silverlight API?

I am using the ArcGIS Silverlight API. I all I need to do is to get the geometry from a feature by objectid to zoom to it: getFeature(objectid); So I used WCF service to get the geometry but I ...
3
votes
1answer
164 views

C# Where to create GP service output files

How to get path of default scratch workspace(folder) using c#? I'm making REST GP tool, where you pass some input parameters, tool collects data, create csv files, and archive them. Then tool return ...
4
votes
2answers
607 views

How do I publish a custom .NET GP Tool as a GP Service on ArcGIS Server 10.1?

I have a GP Tool that I am able to publish as a GP service at 10.0. I recompiled the DLL for 10.1 and have followed the steps in the Deploying custom .NET and C++ tools page of the 10.1 help doc. ...
5
votes
1answer
457 views

IFeatureClass.Search throws error “0x80041599 The number of points is less than required for feature”

I am creating a buffered geometry around a point feature in order to search for other nearby features. I use the TopologicalOperator to create my buffered geometry. I am attempting to search a feature ...
4
votes
3answers
639 views

ArcServer 10.1 - Publishing C# Executable as a Geoprocessing Service

I am trying to publish an arcobjects C# executable as a gpservice. We did this in 10.0 by adding it to a toolbox and hitting publish. Using ArcCatalog in 10.1 you must first run the script before you ...
6
votes
3answers
3k views

ArcObjects/ArcServer 10.1 - How to programatically publish a map service?

I am migrating some ArcObjects C# code to 10.1 and am having some trouble programatically publishing an MSD. We are using a multi-site configuration (not sure if that matters). Here is the code I am ...
3
votes
1answer
760 views

IFeature.set_Shape The coordinates or measures are out of bounds

I'm trying to add a point to my map, but something with the way I used shp2sde create caused me to have a incorrect spatial extent or something. So I'm getting "out of bounds" error. How do I go ...
2
votes
1answer
353 views

Shapes of this entity type not allowed in this layer when CreateFeature() is called

I have the following code that calls on a remote geodatabase server. Everything is connected and working, but when I try to add a point and use featureclass.CreateFeature();, it shuts down. At first ...
0
votes
1answer
289 views

Pros and Cons for developing GIS functionality in ArcGIS Web API (Silverlight) or ArcGIS for Desktop

I have an application coming together using the ArcGIS Server API for Silverlight. The app, currently, takes in two geometry points from the user and passes the geometry to an ArcGIS Elevation server ...
3
votes
0answers
418 views

Edit data using arcobjects by SOE Web Services on Arcgis Server 10.0

I trying to develop WebService which main purpose is enable editing data. My Web Service get as param information about records, tables etc. Code looks like below: IFeatureWorkspace ifw = null; ...
1
vote
0answers
151 views

Trouble programmatically publishing to SOM when SOC is on another machine [closed]

I wrote a desktop extension for ArcMap that allows a user to publish the map they've just created to an AGS 9.3.1 machine on another server. This works fine as long as the AGS machine acts as a SOM ...
4
votes
7answers
644 views

Where is the server.dat equivalent at 10.1?

Prior to 10.1, I could locate the server.dat file, and programmatically find out the arcgisoutput folder URL location (virtual directory when using IIS) e.g. <Directory> ...
2
votes
1answer
121 views

How to tell if an ArcGIS Service is secure?

I am creating a .NET REST SOE for ArcGIS Server 10, and I will need to determine if a map service (or image) is secure or not. Is there a property on a MapService that would tell me this in either ...
3
votes
1answer
821 views

How to edit a given version of geodatabase?

I have a versioned geodatabase. Any of that versions are used only by one user. So then user called "XXX" has a version called "XXX". So then now I want to make a changes on given version, but when I ...
5
votes
1answer
308 views

ArcObjects 10 Java SDK

I am being tasked with converting a AGS georpocessing toolkit currently written in AO 10 C# SDK to AO 10 Java SDK. Are there any resources out there which show an end to end example of creating an ...
2
votes
1answer
283 views

Deploying to ArcGIS 10 Server .NET/Java

We're in the process of transforming a lot of 9.1 ArcServer/ArcObjects etc applications to ArcGIS Server 10. However, we're unsure as to licensing on 10. As I understand it, I cannot, according to ...
0
votes
1answer
443 views

Connecting to ArcGIS Server with IIS 7.5 (ArcObjects/COM)

This code works fine on a development box, but fails in a server environment: GISServerConnection gisServerConnection = new GISServerConnection(); gisServerConnection.Connect("localhost"); The ...
0
votes
2answers
365 views

Why would programmatically setting the extent of a map on Page_PreRender be really slow?

We are using the ArcGIS 10 web adf with C# in a web application. We just recently upgraded everything from 9.3 to 10 and moved all the hosted stuff over to a new (more powerful) server. Still on the ...
1
vote
0answers
340 views

Intersecting with Geodatabase.ISpatialFilter - no results

I'm trying to intersect two layers and get resulting features with the following code I've written: ESRI.ArcGIS.Geodatabase.ISpatialFilter spatialFilter = new ...
2
votes
0answers
494 views

Intersect two layers and get resulting features

I have X layers on a map and I need to intersect chosen layers (two per time) and color resulting features. I'm trying to get this code working // get first feature (index 0) ...
4
votes
0answers
549 views

How to find layer ID and name from Identify query using ArcGIS Web ADF?

I need to retrieve the layer ID of every layer returned by the IQueryFunctionality.Identify function (I am using ADF with .NET) Identify function spits out a DataTable array for layers which have ...