|
POST
|
Here is one blog post about features vs feature services : http://blogs.esri.com/esri/arcgis/2013/02/19/about-features-and-feature-services/
... View more
08-23-2013
05:16 AM
|
0
|
0
|
2713
|
|
POST
|
Depending the use case (and data update interval) you might also add shapefile directly to WebMap without hosting it as FeatureService. If WebMap (and web application templates) has functionality that you are going to need in your web page, using it instead of custom application might be good way to go. http://www.esri.com/software/arcgis/arcgisonline/demos/video21 To publish Feature Service from shapefile : http://resources.arcgis.com/en/help/arcgisonline/index.html#//010q0000006m000000 After you have published that you can refer that from WebMap (http://resources.arcgis.com/en/help/arcgisonline/index.html#/About_using_web_maps/010q00000022000000/) or from you custom web application. Note that you can embed WebMaps that are hosted in ArcGIS Online in your own sites if needed (http://resources.arcgis.com/en/help/arcgisonline/index.html#/Embedding_web_maps/010q00000095000000/) If you are using same features in multiple appications, then it should be published as a feature service and your webmap / custom application then references to it.
... View more
08-23-2013
05:00 AM
|
0
|
0
|
2713
|
|
POST
|
I think that you have 2 different solutions in this: 1) Define your symbols in our map (webmap if you are using those, http://resources.arcgis.com/en/help/arcgisonline/index.html#//010q0000009w000000, and if you are implementing custom application you can use ClassBreaksRenderer from the API ie. https://developers.arcgis.com/en/javascript/jssamples/renderer_class_breaks.html) 2) Define symbology to the service but you need to create service from tool that supports that. I think you can use atleast ArcMap and Esri Maps for Office to handle it but using developers.arcgis.com don't have that option. Let me know if you need more help with this. Edit: If i understood correctly with fast look on the download page link, you are publishing services from shapefiles. I guess you are uploading shapefiles to ArcGIS Online and then publishing it to service. If you do it like this way, you need to define renderers in your application (option 1) If you have access to ArcGIS Desktop (ArcMap) then you can define renderer directly to your service and publish it to ArcGIS Online. (option 2)
... View more
08-23-2013
01:52 AM
|
0
|
0
|
2713
|
|
POST
|
Hi, I haven't tested that with OAuth2 and I don't have any implementation of that in hand. I created fast test with token based authentication in WPF and it returns correct results (1 when not authenticated and 8 when token is added).
IdentityManager.Current.GenerateCredentialAsync(
"http://www.arcgis.com/sharing/rest/",
"xxxx", // here should be your username
"xxx", // here should be your password
(credential, ex) =>
{
if (ex != null)
{
MessageBox.Show(ex.ToString());
return;
}
var portal = new ArcGISPortal();
portal.Token = credential.Token;
portal.SearchUsersAsync(
new SearchParameters() { Limit = 100, QueryString = "orgid:yourid" },
(info, exception) =>
{
if (info != null)
{
MessageBox.Show(info.Results.Count().ToString());
}
});
});
var portal1 = new ArcGISPortal();
portal1.SearchUsersAsync(
new SearchParameters() { Limit = 100, QueryString = "orgid:yourid" },
(info, exception) =>
{
if (info != null)
{
MessageBox.Show(info.Results.Count().ToString());
}
}); and request generated
GET http://www.arcgis.com/sharing/rest/community/users?num=100&q=orgid%<idhere>&f=json& HTTP/1.1
GET http://www.arcgis.com/sharing/rest/community/users?num=100&q=orgid%<idhere>&f=json&token=yNMOPUrVkzMRwYdNWYoYY4I0sOFHKh4IRFwFM6Lc8NFJYXqrg-lmgpwEruT6u68e_VGWsAykDCcUgUxsOxgGHXLzQ5aZ56k-98acP8bSX2UQeYWesde4a-HXL_gIml2B& HTTP/1.1
I am also curious if there are issues with OAuth based solutions so please updates if you find something to that.
... View more
08-23-2013
01:36 AM
|
0
|
0
|
10882
|
|
POST
|
I have used MapGesture event (http://resources.arcgis.com/en/help/runtime-wpf/apiref/index.html?ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Map~MapGesture_EV.html) and then checked if GestureType is Tap.
... View more
08-21-2013
11:20 PM
|
0
|
0
|
453
|
|
POST
|
Hi, From my understanding ArcGIS Online also contains "portal". You can get users for example like this GET http://www.arcgis.com/sharing/rest/community/users?num=100&q=orgid%yourorganizationid&f=json& HTTP/1.1 This orgid is your organizational id that you can see atleast from your My organization page where you need to ckeck queries from the right (ie. The most viewed items in the organization ). If you check the link you can spot the id from there. I haven't seen really good place get that information so I have been using this way to get it from AGOL directly. If you do query without authentication token you get only public accounts and if you are authenticated I think you get all. For fast testing here is example in WPF (that generates earlier request to REST endpoint) var portal = new ArcGISPortal(); portal.SearchUsersAsync(new SearchParameters() { Limit = 100, QueryString = "orgid:YourId" }, (info, exception) => { if (info != null) { MessageBox.Show(info.Results.Count().ToString()); } });
... View more
08-21-2013
11:04 PM
|
1
|
0
|
10883
|
|
POST
|
Thanks, it seems that I just forgot save popup when testing that 😄
... View more
08-21-2013
10:07 PM
|
0
|
0
|
1088
|
|
POST
|
Hi, Is it currently possible to select date fields that included time as well? We are planning an solution where users on field checks that they have started working in location (what time) and when they have finished it (time again). If using date fields is not going to work, how we should design this to the service so that user experience stays good?
... View more
08-21-2013
05:19 AM
|
0
|
3
|
4654
|
|
POST
|
Hi, Is there way to give editing rights to WebMap for other users? Let's say that I create a webmap, add 2 layers and share that to one group. Then I go to holidays and we would need to add 1 layer more to the webmap by my co-workers. I know that we can change ownership of the webmap and then make changes but that needs administrator rights. What I would like to do is to define set of users who have full editing priviledges to the webmap (layers, tools, ArcGIS Online item, sharing...)
... View more
08-21-2013
12:06 AM
|
0
|
2
|
1014
|
|
POST
|
One thing that affects quite a lot for loading the map is how you define your layers. I would recommend to have have Map control in xaml and then define layers in code. This way you can have some kind of indicator on top of map control while layers are being loaded. You can use LayerCollections.LayersInitialized event http://resources.arcgis.com/en/help/runtime-wpf/apiref/index.html?ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.LayerCollection~LayersInitialized_EV.html to see when all layers are initialized and then put layers to the map. For busy indicator, you can set indicator on when the page is loaded and then take it of when you add layers to the map. I usually have some 3th-party BusyIndicator control defined on top of the map and then I just enable it and change visibility accordingly.
... View more
08-20-2013
11:09 PM
|
0
|
0
|
567
|
|
POST
|
Cool, thanks. Now that I see it, I remembered that I had seen it before too.
... View more
08-20-2013
10:53 PM
|
0
|
0
|
1539
|
|
POST
|
I have been playing with attachments in hosted feature services and I have enabled those always from ArcMap. If it possible to enable directly from ArcGIS Online, I would be interested to hear how. I know that you can enable following capabilities from AGOL but would be nice to have enable attachements there too. [TABLE="class: hostedFeaturesOnly, width: 100%"][TD="class: hostedFeaturesCol, width: 140"]Editing[/TD] Enable editing and allow editors to: Add, update, and delete features Update feature attributes only Add features only [TD="class: hostedFeaturesCol"]Export Data[/TD] Allow others to export to shapefile, CSV, geodatabase, or KML. [TD="class: hostedFeaturesCol portalSync"]Sync[/TD] [TD="class: portalSync"] Enable Sync (disconnected editing with synchronization). [/TD] [TD="class: hostedFeaturesCol portalEdits"]Track Edits[/TD] [TD="class: portalEdits"] Keep track of who created and last updated features. Editors can only update and delete the features they add. [/TD] [/TABLE] Unfortunatly, I have no idea what could be problem in the 1. case. Maybe post issue to http://forums.arcgis.com/forums/3-ArcGIS?
... View more
08-19-2013
05:04 AM
|
0
|
0
|
1539
|
|
POST
|
KmlLayer has property called Graphics (http://resources.arcgis.com/en/help/runtime-wpf/apiref/index.html?ESRI.ArcGIS.Client.Toolkit.DataSources~ESRI.ArcGIS.Client.Toolkit.DataSources.KmlLayer~Graphics.html) that you can use. So something like this: // Get layer from map layers collection as KmlLayer var kmlLayer = _map.Layers[layerid] as KmlLayer; // Get loaded graphics from layer var graphics = kmlLayer.Graphics; //Do stuff with graphics...
... View more
08-18-2013
11:59 PM
|
0
|
0
|
547
|
|
POST
|
1. Recheck your account information and password since i it should work in both apps (or so I have understood). What is error message that you are getting from the app? 2. If you want to activate attachments, you need to do that before uploading the service or you need to replace your existing service after enabling it in ArcMap. http://resources.arcgis.com/en/help/main/10.1/index.html#//01m90000000r000000
... View more
08-18-2013
11:42 PM
|
0
|
0
|
1539
|
|
POST
|
Ok, so we need to do workaround in this case. Solution that we're most likely implement at the fist place is to have extra attribute on features that defines if the feature is shown or filtered in the webmap. This attribute will be updated everyday to corresponding dates by maintenance service running on the server. I think that dynamic filtering in some values like dates and username would be good enhancement for webmaps. with regards, Antti
... View more
08-18-2013
09:56 PM
|
0
|
5
|
4091
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 11-12-2014 03:52 AM | |
| 1 | 08-27-2015 03:47 AM | |
| 1 | 12-08-2014 09:58 AM | |
| 1 | 05-05-2015 10:19 AM | |
| 1 | 07-30-2015 08:43 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|