POST
|
i have a featureclass - myfeatureclass. it has around 3000 features. myfeatureclass has a column subtype - which is integer type and it has two subtypes- 0 and 1. I added a column mynewfield to that feature class I tried to assign default to mynewfield using the arctoolbox. I specified default values for both of my subtypes 0 and 1. it says that it ran successfully but when i go to arcmap, start an edit session and add new points, the default value of mynewfield never appears... mynewfield always shows as null. i tried saving the edit session...but still mynewfield had value of null, it did not put default value... pl help thanks a lot....
... View more
12-25-2012
07:33 PM
|
0
|
0
|
704
|
POST
|
I'd probably do it after you insert it into your map. Are you trying to insert the layer at a specific place in your layer order? Otherwise you can just use MyMap.Add(mylayer); Yes, i am trying to insert at particular location here on this link i found that i should insert after initialize is done http://forums.arcgis.com/threads/59382-Layer-not-initialized?highlight=arcgis+layer+initialize%28%29 So It did work... now the problem is i want to zoom to that layer after its initialized and my my map's SRID is 102100 And my layer's projection/SRID is different and if i do - mymap.zoomto(mylayer.fullextent) it zooms to wrong place bcos SRID are different pl help how should i project that fullextent to srid 102100 or how should i handle this problem thanks a lot
... View more
11-05-2012
06:23 AM
|
0
|
0
|
531
|
POST
|
Do I have to initialize after inserting the layer to the map or before ? ArcGISDynamicMapServiceLayer mylayer = new ArcGISDynamicMapServiceLayer(); mylayer.DisableClientCaching = true;//recommended mylayer.Url = DynamicUrl ; mylayer.ID = "CURRENTLAYER"; mylayer.Initialized += new EventHandler<EventArgs>(mylayer_Initialized); int totlayers = this.MyMap1.Layers.Count; this.MyMap1.Layers.Insert(totlayers, mylayer); mylayer.Initialize() ; Please help.. thanks a lot
... View more
11-05-2012
04:39 AM
|
0
|
0
|
531
|
POST
|
i am trying to add a dynamic map service layer, and zoom to that layer, but the full-extent of the layer it is always null... ArcGISDynamicMapServiceLayer mylayer = new ArcGISDynamicMapServiceLayer(); mylayer.DisableClientCaching = true;//recommended mylayer.Url = DynamicUrl ; mylayer.ID = "CURRENTLAYER"; int totlayers = this.MyMap1.Layers.Count; this.MyMap1.Layers.Insert(totlayers, mylayer); Envelope anenv = mylayer.FullExtent; MyMap1.ZoomTo(anenv); //anenv is always null how do i handle that? thanks a lot
... View more
11-04-2012
11:54 AM
|
0
|
6
|
1352
|
POST
|
i am currently working on it.. and i will mark the answer on this thread... how do i mark an answer thanks
... View more
10-04-2012
05:37 AM
|
0
|
0
|
213
|
POST
|
thanks a lot for the help... I will go with the Featurelayer and changing the where clause Thanks again
... View more
10-02-2012
07:09 AM
|
0
|
0
|
213
|
POST
|
thanks andrew, i am plannign to go with the Graphics Way as I am not going to edit the Feature but how can i use the symbologies that we have in arcmap in the graphics layer... I saw the picturemarker symbol but I dont know how to extract the images/pictures inside the symbologies we have in arcmap... I cannot use bitmap, i need kind of transparent images.... Pl help thanks a lot
... View more
10-01-2012
01:27 PM
|
0
|
0
|
612
|
POST
|
thanks a lot.. Pl advice which one is better? using <esri:featurelayer where clause or doing a query Thanks again
... View more
10-01-2012
08:22 AM
|
0
|
0
|
612
|
POST
|
thanks again... if i do a query task, i have to define symbols for my graphics in the graphics layer NowI have limited choice of symbols , I have to use the symbols available in arcmap (hazardouous waste symbols) in my graphics layer... Is that possible? Or if that is not workable I might have to go with justing using <esri:featurelayer and change where clause... but do i have to specify renderer for the <esri:featurelayer or it display the layer with the same symbols as in the arcmap document using which that feature-service is generated. pl help thanks...
... View more
09-30-2012
09:10 PM
|
0
|
0
|
612
|
POST
|
I have a silverlight application in which i have added a Map with a featurelayer <esri:FeatureLayer ID="MyFeatLayer" Visible="True" Mode="OnDemand" Url="http://mymachine/arcgisserver/rest/services/mymapservice/MapServer/0" OutFields="G_KEY_COMP,OBJECTID,StreetAddressIdentify,gridnumber" /> That featurelayer never shows up ..... Do i have to define some kind of symbology? i have arcgis 10 please help thanks
... View more
09-27-2012
01:39 PM
|
0
|
1
|
601
|
POST
|
thanks so much andrew, also i found that <esri:Featurelayer takes long time to load is that a proper way what i am doing or give me tips My aim is to 1. allow user to put in a where clause and 2. just show the features that meet that where clause thats it... pl help thanks so much
... View more
09-27-2012
12:40 PM
|
0
|
0
|
612
|
POST
|
I have a silverlight application in which i have added a Map with a featurelayer <esri:FeatureLayer ID="MyFeatLayer" Visible="True" Mode="OnDemand" Url="http://mymachine/arcgisserver/rest/services/mymapservice/MapServer/0" OutFields="G_KEY_COMP,OBJECTID,StreetAddressIdentify,gridnumber" /> now my use selects an attribute-like a grid number, then in the code behind, i change MyFeatLayer's where clause using - myfeatlayer = (FeatureLayer)this.MyMap1.Layers["MyFeatLayer"]; this.MyMap1.Layers["MyFeatLayer"].Visible = true; myfeatlayer.Where = "gridnumber =100 "; myfeatlayer.Update(); Now how do I zoom to that particular feature layer so that it just shows what is currently inside the feature-layer(i.e. with where clause) I did this this.MyMap1.Extent = myfeatlayer.FullExtent; But it did not work pl help
... View more
09-27-2012
11:59 AM
|
0
|
12
|
2646
|
POST
|
I donot have any knowledge of ios - objective c xcode etc.. i know arcgis well... i want to build a mobile applicatioin using arcgis -ios what should i study as far as ios is concerened- if possible pl send me training course links thanks so much
... View more
07-20-2012
11:38 AM
|
0
|
3
|
508
|
POST
|
I am trying to calculate field i m using vb type of expression in the codeblock i have written this code Dim getCVAL If (Diameter>10) Then getCVAL="1234" else getCVAL="4567" End if in the expression, i have written getCVAL Calculate field tool is assigning the FIRST VALUE to all the records!!! now what is wrong with this code, please help thanks
... View more
06-17-2012
09:16 PM
|
0
|
2
|
800
|
Online Status |
Offline
|
Date Last Visited |
02-05-2024
04:23 PM
|