Hot answers tagged

6

Log in to www.arcgis.com with administrator credentials. Click My Content, and navigate to the intended feature service. Open the feature service. If the error, "There are no services available" is returned when visiting the ArcGIS REST Administrator Directory, the hosted feature service is shared with 'Everyone' (public). In the item details page of the ...


4

The URL passed to esri.layers.FeatureLayer needs to be for a specific layer. Your code points to the root of the feature service. To fix this, append the layer index of the layer the URL. For instance, in this feature service, the rivers layer is layer 1. To create a feature layer using this layer, you would use this url: ...


4

After 2015-Jul-14 The situation is much improved. The organisation admin can create a group with Members can update items permission. This removes the need for shared login credentials and/or giving all editors organisation-wide admin privileges*, while also making group permissions answer** viable for public maps. The new recommended practice is: ...


4

There are some best practices listed here: http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/index.html#/Authoring_feature_services/009300000021000000/


4

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

Most companies actually seem to use dual range address calculators (At least in my experience the results are consistent with that behavior). Basically each uninterrupted strip of road has a range, or multiple ranges of numbers, on either side that specify the maximum street number and minimum street number. One side has odd and the other usually has even. ...


3

the best way to get an idea of what you need to do in your javascript app to interact with ArcGIS Server or ArcGIS Online services successfully is to play around with the REST endpoint for a particular operation interactively and snoop the web traffic to see what requests you are sending. in this case, the syntax you need would look something like this ...


3

It sounds like you want to be Drawing features to show quantity by category for which the online help is here.


3

I don't think feature services display labels. You need to use a map service instead or create labels yourself with graphics. This was the case with 10.0 I'm not sure if anything changes at 10.1. If you need the capability of feature services just add an additional map service layer just with labels displayed.


3

This is what a POST request to applyEdits looks like: In the headers: Content-type:application/x-www-form-urlencoded POST body: ...


3

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.


3

You can limit editing by user so that users only edit their features:https://doc.arcgis.com/en/arcgis-online/share-maps/manage-hosted-layers.htm For user specific data access controls I have seen a demo where the server dynamically filters the response data based on authenticated user. This was done with custom ArcGIS Server SOE developed by Esri ...


3

As Vince pointed out in a comment - you could theoretically write code to clip a map/feature service. But that would probably be a lot of custom work. You wouldnt as much be extending the Clip and Ship tool as you'd be writing a custom extraction of JSON from map services. Generally the clip and ship work flow is comprised of 2 services: GP + Map. They both ...


3

The ArcGIS documentation actually has pages titled "What is a feature service" and "What is a map service", the text of which is quoted verbatim here -- Feature Service: Feature services allow you to serve features over the Internet and provide the symbology to use when displaying the features. Clients can execute queries to get features and perform ...


3

I had a Pro snapping related bug that rendered the software unusable for my purposes. The issue is described here: Is there a problem with ArcGIS Pro snapping environment? I contacted ESRI and they confirmed that there was a problem. I was told that the issue will be adressed in a 1.1 release. I donwloaded the 1.1 beta and it still had the issue but I was ...


3

In ArcGIS Desktop, you can access them via the Identify window:


2

I had two separate published resources each with one feature class. I combined both feature classes into one published resource, and now I can edit both from the api.


2

Use Selection mode for the feature layer. Set your symbol using Layer.setSelectionSymbol(symbol). If you have a complex symbology, set the renderer instead and leave the selection symbol blank. There are two ways to go about the next part. Method one: Use the checkboxes to composite a complex query. For example, if each feature has a unique identifier ...


2

The solution: the feature layer I was trying to edit participates in a non-versioned network dataset => not editable. In order to edit layers participating in network datasets, the dataset must be versioned.


2

(edited 5/7/15) Not ideal, but achieves collaborative editing and public viewing/not editing. make editors administrators under the organization make layer non-editable but share publicly administrators can "add as editable layer" for web admin and do disconnected/syncronized editing on Desktop I was not able to recreate the correct permissions using ...


2

I have set up groups. One group is an edit group. In that group the editable map (with feature service) is shared. The group is private and I invite only the editors to it. Another group is for non-editors and I invite other members to it. In that group my map service (non-editable) webmap is shared. It works a bit like assigning permissions and roles.


2

You might also look at the Uploads functionality of the GP services in 10.1 - http://resources.arcgis.com/en/help/rest/apiref/uploads.html. This is the core functionality of the Server 10.1, so you don't have to develop a new piece of functionality.


2

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


2

Change this line flayer.applyEdits(feature,null,null); to flayer.applyEdits(null, [feature], null);


2

Ok, I figured out how to do this. As Stefan suggested, I had to add a couple of parameters to the URL: geometry (value = e.g. 639739.5,7598259.3) geometryType (value = esriGeometryPoint) spatialRel (value = esriSpatialRelWithin) Here is an example call: ...


2

Your layerUrl is similar at: http://services1.arcgis.com/cFi1BRRsYB2fYqCl/arcgis/rest/services/NameService/FeatureServer Just add the token to Url: ...


2

A feature server serves individual layers (aka features) as structured text (xml or json) a mapserver serves maps as images (png - jpeg - gif)


2

To be able to see the state of your data at any time in the past the topic you may want to read up on is Geodatabase Archiving: Archiving in ArcGIS provides the functionality to record and access changes made to all or a subset of data in a geodatabase. Geodatabase archiving is the mechanism for capturing, managing, and analyzing data change. ...


2

Interesting that you didn't get a warning 24040: Layer has an in-memory join or relate. This is because your map layer has an associated join (or relate) that was created in the map document using the layer properties dialog box. Joined and related attributes will not be accessible through the feature service. From the help page: Feature services allow ...


1

The new recommended practice described by matt wilkie works fine for users in the group with the "members can update" permission if they only need to update data in the AGOL map viewer using the "Add layer to map with editing enabled" capability. However, I want the users in this group to be able to update the data using ArcGIS Collector. Edit permissions do ...



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