POST
|
This is how I am doing, geodatabaseFeatureTable.addDoneLoadingListener(new Runnable() {
@Override
public void run() {
Feature feature = geodatabaseFeatureTable.createFeature(attributes, geometry);
final ListenableFuture<Void> voidListenableFuture = geodatabaseFeatureTable.addFeatureAsync(feature);
voidListenableFuture.addDoneListener(new Runnable() {
@Override
public void run() {
try {
voidListenableFuture.get();
final ListenableFuture<FeatureQueryResult> addFeatureFuture = geodatabaseFeatureTable.getAddedFeaturesAsync();
}
}); This method receives the attributes this way, Map<String, Object> attributes = new HashMap();
attributes.put("GeometryId", GeometryId);
attributes.put("FID", FID);
And these attributes are not part of feature schema, I am adding it newly. [ Can we only update the existing attributes !! ] I just need to put some attributes to my feature to identify and do some manipulation. Kind of session attribute is what I need.
... View more
08-12-2019
09:13 AM
|
0
|
0
|
431
|
POST
|
I am creating a new feature on my geodatabase feature table, Feature feature = geodatabaseFeatureTable.createFeature(attributes, geometry); on success of creation, attributes what I am passing is not showing up, when I do, feature.getAttributes() it shows only attributes that I have configured in feature layer while creation. How do I achieve adding my custom attribute to the feature ! It is really blocking my whole design. Suggestion pls
... View more
08-12-2019
06:00 AM
|
0
|
3
|
578
|
POST
|
thanks Chang, can I draw the circle/triangle/rectangle geometries using sketch editor or any other tool or by custom samples? would Android SDK provide support for these geometries in future ?
... View more
08-07-2019
12:10 PM
|
0
|
0
|
707
|
POST
|
I have asked this question already, I did not get any response yet, thought I should ask here. https://community.esri.com/thread/237774-moverotatescale-geometry-using-sketch-editor Thanks
... View more
08-06-2019
11:39 AM
|
0
|
0
|
596
|
POST
|
Hi Mark/Nicholas, I want to draw Circle/Rectangle/Triangle/Arrow geometries in my app with ArcGIS android sdk. These geometries are supported in iOS sdk but not in Android, is there any work around or is there a hack. Also, android does not allow rotate/scale/drag of geometry. I am using sketch editor for this, do we have any alternative to achieve this ! please suggest Need to achieve this anyhow. Thanks
... View more
08-06-2019
10:09 AM
|
0
|
2
|
596
|
POST
|
I am still not able to retrieve the attributes when I tap on it . Any suggestion please !
... View more
08-05-2019
06:04 AM
|
0
|
0
|
193
|
POST
|
Can I implement the address search functionality when I am offline and loading the tile cache on mapview, I read LocatorTask doing it for Map Packages, do we have for tiles as well !
... View more
08-03-2019
01:13 AM
|
0
|
0
|
248
|
POST
|
I added the freehand polyline, freehand polygon and looks like it allows to edit via sketch editor...
... View more
08-03-2019
01:02 AM
|
0
|
0
|
707
|
POST
|
thanks Chang, I drew the geometry programmatically for Rectangle, Circle, Triangle, it draws on the map,but not sure if it would be edited. I believe sketch editor should automatically detect vertices and provide edit capability.
... View more
08-01-2019
11:47 AM
|
0
|
2
|
707
|
POST
|
At this hour, I want to get the attributes that I set when creating my geometries , geodatabaseFeatureTable.createFeature(attributes, geometry); When I access the attributes back, feature.getAttributes().get() It does not list the attributes that I have set, Also, I have tried using , queryParameters.setWhereClause(String.format("GeometryId= %s", "10")); It never mentions my attributes, only attributes that I see is 'OBJECTID' . How does it gets set !?
... View more
08-01-2019
08:39 AM
|
0
|
1
|
241
|
POST
|
I want to perform these operations to my geometry when I select it- Move/Scale/Rotate. I don't see any methods that sketch editor is providing to achieve this. Also, I want to draw circle, rectangle, triangle shapes, I don't see the EditorMode corresponding to this. I see the JavaScript SDK has these features provided, does Android run time lack these features !
... View more
07-31-2019
05:23 AM
|
0
|
7
|
976
|
POST
|
Here is what I want to do today, I have some geodatabases that I am loading on my map, I do some edits and update those. After all the process, I need to extract the geometries as JSON for all the features [ geodatabases] that has been edited. To achieve this I found a way, Use getAddedFeaturesAsync() on my geodatabase table and get the features, it gives me FeatureQueryResult class as the response. But I do not find any method in FeatureQueryResult class that gives me geomteries out of it. What am I missing ! Or is there a good way ! Thanks !
... View more
07-29-2019
07:38 AM
|
0
|
6
|
670
|
POST
|
Run-time SDK 100.5.0 has the dependency over Java 8 ! Can't I use some other run-time version that supports Java6. Just now , while doing trial error, I used 100.4.0 with Java 6 and gave me no errors.
... View more
07-26-2019
06:10 AM
|
0
|
1
|
485
|
Online Status |
Offline
|
Date Last Visited |
07-22-2021
03:41 AM
|