0
votes
0answers
19 views

How to tell “Publish Service Definition”-Task to publish into a folder?

I'm currently working on publishing a SD-File using C#. Through another Question (Is it possible to publish a map service from an SD File purely over REST (no arcpy)?) I had a look on the source code ...
2
votes
1answer
35 views

What is the correct way to pass a polygon to a geoprocessing service successfully

We have a geoprocessing service that has been in limbo for 6 months. Finally after a great decision to eliminate one element of the service, we got it working this week. I am now at the point where ...
0
votes
1answer
42 views

After SDE Conversion, cannot open our GP Services to republish them

We have several services that were originally published against a local file-based database (with ArcMap 10.1). We spent the past week converting the data into an SDE database and we are running ...
0
votes
0answers
32 views

How to hide features based selection using API for Silverlight?

my challenge is to, when i want to select feature on the map by the mouse the action must be zoom to the feature and all other features hidden in the same layer my application created by API for ...
0
votes
0answers
45 views

Function of query.Like

I was wondering how ESRI's query.Text works. From what I read, it is basically the shorthand for the LIKE SQL statement, but it is not working. Maybe I am misunderstanding it's use? Any help is ...
0
votes
0answers
61 views

Why is Freehand Spatial Query in ArcGIS for Server not working?

I have been using the Spacial Query tool from ESRI to implement more functionality into my GIS application. The query works for a square, circle, and oval; but it does not return anything if the user ...
2
votes
1answer
211 views

Adding a point and then saving it to the server

This seems like a fairly simple thing to do, but I am not exactly sure how to complete it. I use ArcGIS for Server. I have all of my data for my feature layer on that database. The point is being ...
0
votes
0answers
45 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 ...
0
votes
1answer
41 views

How do I debug a GP Service in ArcServer?

I have a geoprocessing service that was successfully published to our ArcServer instance. I'm using 10.1 which means we could not publish unless it actually worked run as a tool in ArcMap. But now ...
0
votes
0answers
48 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 ...
0
votes
1answer
44 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 ...
2
votes
1answer
44 views

Cannot get the LocalFeatureService to start when transporting code and data

I have a C# project that uses a LocalFeatureService, a LocalGeoprocessingService and a LocalMapService. Everything runs fine when I run it at my own machine. However, when I transport the code and ...
8
votes
3answers
373 views

New to ArcGIS and want to compute distance between two points “as the fish swims”

We have a layer named Hydrography which is the water area for a given assignment. I have a station point and a target point. I need to compute the distance between those two points but inside of the ...
2
votes
1answer
257 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
146 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 ...
1
vote
1answer
178 views

How to remove some features of a feature layer in the mobile cache

I have a Hand-Held (HH) device in which I have downloaded to the MobileCache a limited amount of Features from a FeatureLayer. Now I need to remove from the cache all features of a certain type. We ...
2
votes
1answer
204 views

Using more than one graphics layer with a FeatureDataGrid

I am wanting to use the FeatureDataGrid to display data. The problem is I have more than one layer that contains data that needs to be displayed. This is how you use the DataGrid for one layer: ...
0
votes
1answer
101 views

How can i generate parcel extracts on demand through a webservice

Ok, i need to generate parcel extract documents on demand. The backend is Arcgis 9.3.1 on SQL server 2008. I would like to build a webservice (C# .Net) on the server that generates these extracts. My ...
1
vote
1answer
112 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
238 views

How do I initialize the ArcGIS proxy via server side .NET code (C#)?

I know how to do this via JavaScript code: esri.config.defaults.io.proxyUrl = "../proxy.ashx"; But, how do I do this in .NET? I am very new to the GIS space.
0
votes
1answer
489 views

How do I exclude raster layers from legend? (Silverlight, ArcGIS Server)

I'm trying to adjust my Print Widget so that raster layers do not show up in the legend. My thinking was that I could test for a layer type and not add the item to the legend if it is a raster. ...
2
votes
1answer
80 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. ...
1
vote
1answer
234 views

FeatureDataGrid and FeatureDataForm will not commit to database or input data

This is the second time that I have posted about this. In my previous question they told me I needed to enable the Feature Access capability. I did this and then it said I needed to have a Data Store ...
0
votes
0answers
114 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 ...
4
votes
1answer
176 views

Call ArcGIS Server Buffer command without using SOM

All, I wanted to see what the best way was of calling the geometry service to carry out a Buffer operation on ArcGIS Server 10, without using the SOM. Ideally I want to consume the REST API, using a ...
3
votes
1answer
195 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 ...
2
votes
0answers
516 views

Using labels/attributes from arcMap to display information

I am wanting to take the labels/attributes that are used in arcMap and display them in an InfoWindow when the user clicks on the map point. I really have no idea where to start on this so any help ...
-1
votes
1answer
451 views

How to display coordinates under cursor in web map?

I'd like to be able to display the X/Y coordinates of the user's current mouse cursor location such as with this web map. I'm using the .NET Web ADF, C# and ArcGIS Server. Can anyone suggest any ...
2
votes
0answers
91 views

Map Package is not showing points on map

I am fairly new to GIS, but I am working on an interactive legend and I need to just be able to add a map package to the xaml and it place the points on the map. The legend seems to be working. All of ...
0
votes
1answer
104 views

How can I read the geospatial properties of ArcGIS web services using C#?

I need to display the Geospatial properties of ArcGIS web-services (like service name, service type, description, copyright, etc.) which are available in the "ArcGIS Services Directory", in my C# ...
1
vote
1answer
1k views

How to create an ArcObjects point with latitude and longitude?

I need to add a point in an existing feature class using .NET API of ArcGIS Server 10 in C# (Visual Studio 2008). I'm using a sample from ESRI Resource Center (ArcGIS_SimpleEdit_CSharp). The following ...
1
vote
0answers
208 views

How to label every point in a dynamic feature layer? [closed]

How do I label the feature layer in a ArcGIS map with the data associated with the feature layer? I want to place the label bottom right corner of the marker symbol in the feature layer(lat-long ...
1
vote
0answers
159 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 ...
2
votes
1answer
129 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 ...
2
votes
1answer
385 views

ArcGIS Server: “MapServer is not supported with the current license.”

I am at a complete loss... I have a Server 10.0 license on my machine but the following code fails: if (ESRI.ArcGIS.RuntimeManager.Bind(ESRI.ArcGIS.ProductCode.Server) == false) throw new ...
3
votes
2answers
628 views

How to use the ISpatialFilter interface with ArcGIS 10.1?

From what I've heard till now: 1) ArcGIS from version 10.1 and forth will only support http connections: local connections will not be supported any longer. 2) The code ESRI.ArcGIS.Carto.IMapServer ...
2
votes
0answers
469 views

Intersection problem: too many elements?

I have this code where an IGeometry shape (4-5 circles not filled) should be intersected with another layer's features // Convert from IGeometry to ADF Geometry Polygon ...
0
votes
1answer
353 views

Intersection failing because of vertices of polygons

I've written some code to intersect features of one layer with another's, but one layer has polygons (the squares in the image) and the other has circles (not filled). The problem is that I'm using ...
2
votes
1answer
178 views

How to display IGeometry?

I've done an intersection with the ITopologicalOperator6 interface, and I now have an IGeometry with the result. How to draw this in a graphics layer on the map? I want to see what was intersected ...
3
votes
1answer
412 views

ITopologicalOperator.Intersect, how does this work?

I'm trying to intersect all features of a layer with another's but I'm getting the web ADF application stuck while executing the "ConstructUnion" function Here's the code I've written so far // ...
2
votes
0answers
527 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
581 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 ...
0
votes
1answer
379 views

arcgis server 10, vb.net, IMathOp problem

i am using arcgis server 10 and visual studio with vb.net to build web mapping application. inside my code i have the following line: Dim RasterCal As ESRI.ArcGIS.SpatialAnalyst.IMathOp = _ New ...
2
votes
1answer
156 views

Geoprocessing service - empty memory after calling

I'm following this sample for ADF libraries ...
2
votes
3answers
200 views

ArcGIS Server -> Internet Service works well, Local Service fails

I have a web ADF application which connects to a map service (either via WMS or Internet Service using http). I'd like to use DCOM connections (faster as the documentation states), so I would like to ...
0
votes
2answers
451 views

arcGIS ADF - map disappear when I add graphic layers

I'm trying to add a graphic layer in a web ADF application with arcGIS for asp.net, but every time I add a graphic layer to the MapResourceManager, the map disappears! To better understand this: ...
3
votes
1answer
336 views

AGS10 Soap Geometry/Project function vanishes

So I am doing a pretty simple process that looks a lot like right out of the SOAP API/SDK for AGS10. My webservices takes a Lat/Lon coord from a mobile app, I reproject it to Web-Mercator to identify ...
2
votes
1answer
396 views

How can I get SOESupport to handle Polymorphism?

I've got some business objects below that I can serialize and deserialize successfully with Json.NET. I don't see a simple way to do this with Esri's SOESupport however. I'm happy with Json.NET, but ...
3
votes
1answer
2k views

how to connect to ArcGIS server with c#

I would like connect to ArcGIS server, but I have an error message "la référence d'un objet n'est pas définie à une instance a une objet". I have many examples: string serverName = "adresse"; ...
1
vote
1answer
336 views

What is the best way to host a GeoDatabase on an ArcGISServer?

I have a simple Geodatabase in access format. I'd really like to host this database on an ArcGIS server through one of their services. The idea is that my users would be able to connect to this ...