POST
|
Hello, i created Blank Layer, you made it very simple. however once i created i did tried to open on my client machine browser , it is asking me 'Token Required', i guess because of this Layers are not getting loaded. below is my Layer : http://services7.arcgis.com/cjiXw9G7MdkRVS7b/ArcGIS/rest/services/Blank_Tiles/MapServer May be i am missing some setting ? Thx,
... View more
07-08-2016
03:46 AM
|
0
|
1
|
1134
|
POST
|
Hello, Thank you so much for your help. it worked perfectly. i am using your created layer as of now. i tried to create new layer as you had suggested, but however i am getting There was an error creating your layer . could you please help me out here.... thank you,
... View more
06-27-2016
11:20 AM
|
0
|
0
|
1134
|
POST
|
Hello Everyone, I need very quick answer as i am really in big issue. my iPad app released yesterday where by mistake i added Base Map layer which should not be case of some of my client. base map URL i get from DB, so my question is, Is there any Transperant Base MAP/ Tiled MAP URL i can use. (i can not change code as i need quick fix by making opacity 0 or anything, changing code i have to get my App approval will taken another 10 days) . Please do help me out if anything is available. i wanted URL of base MAP which act like transparent Layer like by default Opacity 0 some thing. so that Client will not be able to see Base MAP. Please help me out ...its very urgent
... View more
06-23-2016
12:30 PM
|
0
|
6
|
4010
|
POST
|
hello, i tried AGSGeometryEngine.distanceFromGeometry:toGeometry it is giving me 0, also i tried rest intersect n all but no used..... even thought it picks up feature from near by area from click point geometry shows intersect.... also i tried AGSSpatialRelationshipRelation with relationParam but no success.... is there any way to use AGSSpatialRelationshipTouches.... as i feel this spatial-relation should work .....but when i tried with my above code it is not returning me any geometry.....
... View more
04-21-2016
10:34 AM
|
0
|
0
|
860
|
POST
|
hello, i already tried, mapping geometry..... it does not return me any result..... above code of mine works perfect only thing instead of getting only result at Click point...it gives me near by features too...as can be seen from two parallel line from 1st image. 2. i am looping through graphics i have stored all the graphics of result....then i filter out result and accordingly i loop through individual result and graphics...but still it display only last graphics..... for (NSArray *arr1 in arrStoredGraphics) { if ([[arr objectAtIndex:2] isEqualToString:[arr1 objectAtIndex:0]]) { AGSCalloutTemplate *m_AssetDetailCallout = [[AGSCalloutTemplate alloc]init]; m_AssetDetailCallout.titleTemplate = [arr1 objectAtIndex:0]; m_AssetDetailCallout.detailTemplate = @"Click for more detail.."; self.m_mapView.calloutDelegate=self; self.m_mapView.callout.delegate =self; AGSGraphic *querygraphic =[[AGSGraphic alloc] init]; querygraphic.geometry=[arr1 objectAtIndex:1]; querygraphic.symbol=[arr1 objectAtIndex:2]; querygraphic.infoTemplateDelegate=m_AssetDetailCallout; NSMutableDictionary *dFeatures=[[NSMutableDictionary alloc] init]; dFeatures=[arr1 objectAtIndex:4]; [dFeatures setObject:[arr objectAtIndex:1] forKey:@"FieldValue"]; [querygraphic setAllAttributes:dFeatures]; [m_graphicsLayer addGraphic:querygraphic]; [self.m_mapView.callout showCalloutAtPoint AGSPoint *)querygraphic.geometry.envelope.center forGraphic:querygraphic animated:YES]; break; } plz help either to reduce search query result only on click point or show all graphics display result.... so the user know which graphic is belongs to which result....
... View more
04-08-2016
02:27 AM
|
0
|
0
|
860
|
POST
|
Hello, currentQuery.geometry=[mappoint geometry]; gives error ..... there is no [mappoint geometry]. i tried with AGSSpatialRelationTouch , but it did not return me any result.... is there any way i can make all result display like one at present showcalloutatpoint display only last result.... at least if query returning 2-3 result as seen from above image .... i need to show all display result not only one BL-0073.....
... View more
04-07-2016
11:23 PM
|
0
|
0
|
860
|
POST
|
hello, for two days i trying to fixed issue. i am using AGSMutablePoint to get Asset present on visible Layers at Click point.... m_mapView.touchDelegate = self; m_sketchLayer.geometry = [[[AGSMultipoint alloc] initWithSpatialReference:m_mapView.spatialReference] autorelease]; - (void) mapView:(AGSMapView*)m_mapView didClickAtPoint:(CGPoint)screen mapPoint:(AGSPoint*)mappoint graphics:(NSDictionary*)graphics { self.m_queryTask = [AGSQueryTask queryTaskWithURL:[NSURL URLWithString:CurrentLayerURL]]; self.m_queryTask.delegate = self; AGSQuery *currentQuery = [AGSQuery query]; currentQuery.spatialRelationship = AGSSpatialRelationIntersect; // i tried all spatialrelation option currentQuery.outFields = [NSArray arrayWithObjects:@"*", nil]; currentQuery.returnGeometry=YES; AGSEnvelope *env = [AGSEnvelope envelopeWithXmin:mappoint.x -10.0 ymin:mappoint.y -10.0 xmax:mappoint.x +10.0 ymax:mappoint.y +10.0 spatialReference:[AGSSpatialReference spatialReferenceWithWKID:dSpatialReference WKT:self.m_mapView.spatialReference.wkt]]; currentQuery.outSpatialReference = self.m_mapView.spatialReference; currentQuery.geometry=env; [self.m_queryTask executeWithQuery:currentQuery]; } i wanted to get only features where i clicked....and not featured all around... as can be seen from image.... images show two graphics ... it had return me two result at different point but i had click on single point..... is there any way to reduce search criteria.... if no then when i display result with showCalloutAtPoint for both graphics it display only one last result (BL-0073)as seen from image....how to display all graphics result (for 2nd line)....so that user can click on individual graphics result....
... View more
04-07-2016
12:57 PM
|
0
|
7
|
4760
|
POST
|
Thank you so much... i was actually got confuse with 0 values ....
... View more
08-14-2015
02:06 PM
|
0
|
0
|
198
|
POST
|
sorry, i tried Esri sample example itself.... GenerateRendererSample .... with all possible ways..but fields getting 0 key element...it does show 53 elements but all are 0 initWithString:FEATURE_SERVICE_URL = http://sampleserver6.arcgisonline.com/arcgis/rest/services/Census/MapServer/2 //initialize the feature layer and assign the delegate self.featureLayer = [[AGSFeatureLayer alloc] initWithURL:[[NSURL alloc] initWithString:FEATURE_SERVICE_URL] mode:AGSFeatureLayerModeSnapshot]; self.featureLayer.delegate = self; //using definition expression to get counties(features) for just California With below code commented or without commented self.featureLayer.definitionExpression = @"state_name = 'California'"; self.featureLayer.outFields = @[@"*"]; [self.mapView addMapLayer:self.featureLayer]; -(void)layerDidLoad:(AGSLayer *)layer { //once the feature layer gets loaded //assign the layer's fields to the legend view controller self.legendViewController.classificationFields = self.featureLayer.fields; } layer.field ==> 0 key/value pair for all 53 fields self.featureLayer.fields==> 0 key/value pair for all 53 fields
... View more
08-14-2015
01:38 PM
|
0
|
3
|
1425
|
POST
|
Hello, there is no way even to access Layers Fields name...? there should be method to access simple Layers Fields name.... and those will give me in proper order ....
... View more
08-14-2015
11:35 AM
|
0
|
5
|
1425
|
POST
|
sorry that won't be possible as different Layers will have diff, Attributes...also no. of attributes differs.... also diff clients have different MAPs....so i guess i have to go ahead with Order what i get...
... View more
08-12-2015
10:17 PM
|
0
|
0
|
1425
|
POST
|
yes, it is identifyTask. i access 'allAttributes' which is NSDictionary, from - (void)identifyTask:(AGSIdentifyTask *)m_identifyTask operation:(NSOperation *)op didExecuteWithIdentifyResults:(NSArray *)results callback return on success method. so in iPad(IOS SDK of ESRI) it is not possible. and i will always get in Ascending order....... and not according on attributes on a feature/graphic Layer. it was requirement to display attributes as it is..from server... if possible any workaround...
... View more
08-12-2015
11:13 AM
|
0
|
2
|
1425
|
POST
|
hello, This is very strange , as from my Server site i have below Parameters for one of the Layers... Fields: FID (Type: esriFieldTypeOID, Alias: FID) Shape (Type: esriFieldTypeGeometry, Alias: Shape) APN (Type: esriFieldTypeString, Alias: APN, Length: 11 ) PREVIOUSAP (Type: esriFieldTypeString, Alias: PREVIOUSAP, Length: 200 ) AREA (Type: esriFieldTypeDouble, Alias: AREA) ACRES (Type: esriFieldTypeDouble, Alias: ACRES) ZONING (Type: esriFieldTypeString, Alias: ZONING, Length: 25 ) VAC (Type: esriFieldTypeString, Alias: VAC, Length: 1 ) EVAC (Type: esriFieldTypeString, Alias: EVAC, Length: 5 ) FIRE (Type: esriFieldTypeString, Alias: FIRE, Length: 5 ) ZMASK (Type: esriFieldTypeString, Alias: ZMASK, Length: 16 ) PERIMETER (Type: esriFieldTypeDouble, Alias: PERIMETER) PC_LANDUSE (Type: esriFieldTypeString, Alias: PC_LANDUSE, Length: 2 ) TRACT (Type: esriFieldTypeString, Alias: TRACT, Length: 16 ) BOOK (Type: esriFieldTypeString, Alias: BOOK, Length: 3 ) TIF (Type: esriFieldTypeString, Alias: TIF, Length: 40 ) LOTNO (Type: esriFieldTypeString, Alias: LOTNO, Length: 5 ) TEMP (Type: esriFieldTypeString, Alias: TEMP, Length: 6 ) CENSUS (Type: esriFieldTypeString, Alias: CENSUS, Length: 9 ) GP (Type: esriFieldTypeString, Alias: GP, Length: 25 ) Type ID Field: N/A i can access all the parameters or GIS Attributes from my iPAD app with below code... self.m_identifyParams.layerIds=arrLayerIDs; // Layer ID self.m_identifyParams.tolerance = 3; self.m_identifyParams.geometry = env; self.m_identifyParams.size = self.m_mapView.bounds.size; self.m_identifyParams.mapEnvelope = self.m_mapView.visibleArea.envelope; self.m_identifyParams.returnGeometry = YES; self.m_identifyParams.layerOption = AGSIdentifyParametersLayerOptionAll; self.m_identifyParams.spatialReference = self.m_mapView.spatialReference; [self.m_identifyTask executeWithParameters:self.m_identifyParams]; - (void)identifyTask:(AGSIdentifyTask *)m_identifyTask operation:(NSOperation *)op didExecuteWithIdentifyResults:(NSArray *)results but what i am getting IdentifyResults is as in below Order Ascending Order: ACRES = "15.59"; APN = "038-240-022"; AREA = "678953.526"; BOOK = 038; CENSUS = ""; EVAC = ""; FID = 5221; FIRE = ""; GP = "ULDR - 2 DU/Ac CD/OSP"; LOTNO = ""; "PC_LANDUSE" = 00; PERIMETER = "4375.32"; PREVIOUSAP = ""; Shape = Polygon; TEMP = ""; TIF = "http://gis/data/mapbks/bk038/03824.00"; TRACT = "056-037"; VAC = P; ZMASK = "Placer County"; ZONING = "Placer County"; but i wish to get in same order as above from server Fields: , starting from FID, Shape ETC...
... View more
08-11-2015
10:53 AM
|
1
|
10
|
4359
|
POST
|
Hello, its actually very big LOG i did post only starting lines , but in that case my entire apps should be crashing right, while only GIS modules, we have almost 6-7 modules all are working fine except GIS. in betw. i also tried to run app in release mode.... i did not got total GIS crash as in App store APP. but some time APP did crash on GIS, with similar log. specially Polygon. but it did not repet next time. what is your suggestion, i tried to search on net but i did not get proper reason as such........ i did upload app working app in Feb with IOS 6.1 as base SDK with AGSRunTimeSDK 10.1.1. was working fine all this while, what i change is upgraded base SDK to IOS 7 and AGSRunTimeSDK 10.2.2 (valid architecture : arm64 armv7), support for arm64. main point is it crash only for GIS...
... View more
04-21-2015
10:08 AM
|
0
|
0
|
677
|
Title | Kudos | Posted |
---|---|---|
1 | 08-11-2015 10:53 AM | |
1 | 12-15-2014 11:40 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|