POST
|
i have open the _ags token layer ( from output directory of arcgisserver) in arcmap and solved the solution in arcmap its works fine no error occurs what next to solved this issue
... View more
05-21-2012
04:05 AM
|
0
|
0
|
1009
|
POST
|
DOES ANY BODY FIND THIS ISSUE SOLVED I TIRED A LOT DIDNOT FIND ANY THING I HAVE API 2.2 2.3.2.4 even 3 with arcgis server 10 on Arcinfo network work fine i m attaching small gdb for ur testing
... View more
05-16-2012
03:45 AM
|
0
|
0
|
341
|
POST
|
I have tired to used fiddler utilities unable to understand fiddler result what i get from fiddler i m paste GET /ArcGISSERVER/rest/services/network_Test/NAServer/Route/solve?stops=%7b%22features%22%3a%5b%7b%22geometry%22%3a%7b%22x%22%3a303831.809058898%2c%22y%22%3a2763214.26130914%2c%22spatialReference%22%3a%7b%22wkid%22%3a32642%7d%7d%7d%2c%7b%22geometry%22%3a%7b%22x%22%3a304055.883835564%2c%22y%22%3a2763292.20034173%2c%22spatialReference%22%3a%7b%22wkid%22%3a32642%7d%7d%7d%5d%7d&returnDirections=false&returnRoutes=true&returnStops=false&returnBarriers=false&returnPolylineBarriers=false&returnPolygonBarriers=false&outSR=32642&ignoreInvalidLocations=true&preserveFirstStop=true&preserveLastStop=true&useHierarchy=true&outputGeometryPrecision=0&outputGeometryPrecisionUnits=esriUnknownUnits&f=json& HTTP/1.1 GET /ArcGISSERVER/rest/services/network_Test/NAServer/Route/solve?stops={"features":[{"geometry":{"x":303831.809058898,"y":2763214.26130914,"spatialReference":{"wkid":32642}}},{"geometry":{"x":304055.883835564,"y":2763292.20034173,"spatialReference":{"wkid":32642}}}]}&returnDirections=false&returnRoutes=true&returnStops=false&returnBarriers=false&returnPolylineBarriers=false&returnPolygonBarriers=false&outSR=32642&ignoreInvalidLocations=true&preserveFirstStop=true&preserveLastStop=true&useHierarchy=true&outputGeometryPrecision=0&outputGeometryPrecisionUnits=esriUnknownUnits&f=json& HTTP/1.1 {"error":{"code":400,"message":"Unable to complete operation.","details":["Unable to find attribute . Invalid context. NALayer saved on server with token ec21144d19a2405db79d867307031d55_1325852015."]}} what next to solved this issue
... View more
05-16-2012
03:19 AM
|
0
|
0
|
1009
|
POST
|
I have a polyline network represent the fiber optics network spread in the city i want to create automatic graphic line of lenght defined by the user like 17 or 18 (in km) on a selected line (selected line lenght is 100 km) or any line i select it will create graphic line on the network of length defined by user Each polyline in my network is start from station present as a point layer i need C# code
... View more
05-13-2012
10:46 AM
|
0
|
2
|
703
|
POST
|
U can install all Silverlight api version on the same PC but can not run two different api in a single Application its gives error if u r working on api 1.2 make sure all api in reference are of 1.2 on installing newer version of api yours reference of dll change to newer automatically so u have change the refernce back to ur old version of api Hope u understand
... View more
04-25-2012
10:16 PM
|
1
|
1
|
235
|
POST
|
I have create Na Routing sample to test on arcgis info its works fine create route on the data but when i create Network Analysis services through Arcgis server and using rest services in silverlight sample http://help.arcgis.com/en/webapi/silverlight/3.0/samples/start.htm#Routing its gives error Black"Routing error: Unable to complete operation unable to find atribute invalid Context" my rest services i Have discuss this topic on arcgis silverlight forum one of esri person forward me to this forum My services is http://10.1.18.191/ArcGISSERVER/rest/services/network_Test/NAServer/Route services properties Network Layer: Route Layer Type: esriNAServerRouteLayer Impedance: Meters Restrictions: Oneway, RestrictedTurn Accumulate Attribute Names: Attribute Parameter Values: Use Hierarchy: false Hierarchy Attribute Name: Hierarchy Level Count: 0 Hierarchy Max Values: Hierarchy Num Transitions: Snap Tolerance: 0 Max Snap Tolerance: 5000 Snap Tolerance Units: esriMeters Ignore Invalid Locations: true Restrict U-Turns: esriNFSBAllowBacktrack Output Spatial Reference: 32642 Find Best Sequence: false Use Start Time: false Start Time: Sat, 30 Dec 1899 08:00:00 GMT Use Time Windows: false Preserve First Stop: true Preserve Last Stop: true Output Line Type: esriNAOutputLineTrueShape Directions Language: en-US Direction Style Names: NA Desktop, NA Navigation Directions Length Units: esriNAUMiles Directions Time Attribute: Network Analysis Classes: Class Name: Stops Field Name: Shape Default Value: Candidate Fields: Field Name: Name Default Value: Candidate Fields: Name, Address, Label, Location, Stop, WayPoint, Description, Title, DepotName Field Name: RouteName Default Value: Candidate Fields: RouteName, Route, RouteID Field Name: Sequence Default Value: 1 Candidate Fields: Field Name: TimeWindowStart Default Value: Candidate Fields: TimeWindowStart1, TWStart1, FromTime1, FromTimeWindow1, FromTW1, From1, TimeWindowStart, TWStart, FromTime, FromTimeWindow, FromTW, From Field Name: TimeWindowEnd Default Value: Candidate Fields: TimeWindowEnd1, TWEnd1, ToTime1, ToTimeWindow1, ToTW1, To1, TimeWindowEnd, TWEnd, ToTime, ToTimeWindow, ToTW, To Field Name: SourceID Default Value: -1 Candidate Fields: SourceID, SID, Source Field Name: SourceOID Default Value: -1 Candidate Fields: SourceOID, SOID Field Name: PosAlong Default Value: 0 Candidate Fields: PosAlong, PA, Pos Field Name: SideOfEdge Default Value: 2 Candidate Fields: SideOfEdge, SOE Field Name: CurbApproach Default Value: 0 Candidate Fields: CurbApproach, SideOfStreet, SideApproach, CurbSide, Curb Field Name: Status Default Value: 0 Candidate Fields: Field Name: Attr_Meters Default Value: 0 Candidate Fields: Attr_Meters, Meters Class Name: Barriers Field Name: Shape Default Value: Candidate Fields: Field Name: Name Default Value: Candidate Fields: Name, Address, Label, Location, Barrier, Description, Title Field Name: SourceID Default Value: -1 Candidate Fields: SourceID, SID, Source Field Name: SourceOID Default Value: -1 Candidate Fields: SourceOID, SOID Field Name: PosAlong Default Value: 0 Candidate Fields: PosAlong, PA, Pos Field Name: SideOfEdge Default Value: 2 Candidate Fields: SideOfEdge, SOE Field Name: CurbApproach Default Value: 0 Candidate Fields: CurbApproach, SideOfStreet, SideApproach, CurbSide, Curb Field Name: Status Default Value: 0 Candidate Fields: Field Name: FullEdge Default Value: 0 Candidate Fields: FullEdge, IsFullEdge, BlockEntire Field Name: BarrierType Default Value: 0 Candidate Fields: BarrierType, BarType, BarrierTyp Field Name: Attr_Meters Default Value: 0 Candidate Fields: Attr_Meters, Meters Class Name: PolylineBarriers Field Name: Shape Default Value: Candidate Fields: Field Name: Name Default Value: Candidate Fields: Name, Label, Locations, Barrier, Description, Title Field Name: Locations Default Value: Candidate Fields: Locations, LocRanges Field Name: BarrierType Default Value: 0 Candidate Fields: BarrierType, BarType, BarrierTyp Field Name: Attr_Meters Default Value: 1 Candidate Fields: Attr_Meters, Meters Class Name: PolygonBarriers Field Name: Shape Default Value: Candidate Fields: Field Name: Name Default Value: Candidate Fields: Name, Label, Locations, Barrier, Description, Title Field Name: Locations Default Value: Candidate Fields: Locations, LocRanges Field Name: BarrierType Default Value: 0 Candidate Fields: BarrierType, BarType, BarrierTyp Field Name: Attr_Meters Default Value: 1 Candidate Fields: Attr_Meters, Meters Network Dataset: RoadNetWork_ND Network Attributes: Meters Usage Type: esriNAUTCost Units: esriNAUMeters Data Type: esriNADTDouble Parameter Names: Oneway Usage Type: esriNAUTRestriction Units: esriNAUUnknown Data Type: esriNADTBoolean Parameter Names: RoadClass Usage Type: esriNAUTDescriptor Units: esriNAUUnknown Data Type: esriNADTInteger Parameter Names: RestrictedTurn Usage Type: esriNAUTRestriction Units: esriNAUUnknown Data Type: esriNADTBoolean Parameter Names: Network Sources: Street Element Type: esriNETEdge Source Type:esriNSTEdgeFeature ID: 1 RoadNetWork_ND_Junctions Element Type: esriNETJunction Source Type:esriNSTSystemJunction ID: 3 RestrictedTurns Element Type: esriNETTurn Source Type:esriNSTTurnFeature ID: 2 Supported Operations: Solve Route i have attached gdb in Northkarachi.gdb.rar for u testing help me out what i m doing wrong
... View more
03-14-2012
09:43 PM
|
0
|
10
|
4734
|
POST
|
I have create Na Routing service sample to test but its gives error "Routing error: Unable to complete operation unable to find atribute invalid Context" but on arcgis info its works fine i have attached gdb in Northkarachi.gdb.rar for u testing help me out what i m doing wrong services properties Network Layer: Route Layer Type: esriNAServerRouteLayer Impedance: Meters Restrictions: Oneway, RestrictedTurn Accumulate Attribute Names: Attribute Parameter Values: Use Hierarchy: false Hierarchy Attribute Name: Hierarchy Level Count: 0 Hierarchy Max Values: Hierarchy Num Transitions: Snap Tolerance: 0 Max Snap Tolerance: 5000 Snap Tolerance Units: esriMeters Ignore Invalid Locations: true Restrict U-Turns: esriNFSBAllowBacktrack Output Spatial Reference: 32642 Find Best Sequence: false Use Start Time: false Start Time: Sat, 30 Dec 1899 08:00:00 GMT Use Time Windows: false Preserve First Stop: true Preserve Last Stop: true Output Line Type: esriNAOutputLineTrueShape Directions Language: en-US Direction Style Names: NA Desktop, NA Navigation Directions Length Units: esriNAUMiles Directions Time Attribute: Network Analysis Classes: Class Name: Stops Field Name: Shape Default Value: Candidate Fields: Field Name: Name Default Value: Candidate Fields: Name, Address, Label, Location, Stop, WayPoint, Description, Title, DepotName Field Name: RouteName Default Value: Candidate Fields: RouteName, Route, RouteID Field Name: Sequence Default Value: 1 Candidate Fields: Field Name: TimeWindowStart Default Value: Candidate Fields: TimeWindowStart1, TWStart1, FromTime1, FromTimeWindow1, FromTW1, From1, TimeWindowStart, TWStart, FromTime, FromTimeWindow, FromTW, From Field Name: TimeWindowEnd Default Value: Candidate Fields: TimeWindowEnd1, TWEnd1, ToTime1, ToTimeWindow1, ToTW1, To1, TimeWindowEnd, TWEnd, ToTime, ToTimeWindow, ToTW, To Field Name: SourceID Default Value: -1 Candidate Fields: SourceID, SID, Source Field Name: SourceOID Default Value: -1 Candidate Fields: SourceOID, SOID Field Name: PosAlong Default Value: 0 Candidate Fields: PosAlong, PA, Pos Field Name: SideOfEdge Default Value: 2 Candidate Fields: SideOfEdge, SOE Field Name: CurbApproach Default Value: 0 Candidate Fields: CurbApproach, SideOfStreet, SideApproach, CurbSide, Curb Field Name: Status Default Value: 0 Candidate Fields: Field Name: Attr_Meters Default Value: 0 Candidate Fields: Attr_Meters, Meters Class Name: Barriers Field Name: Shape Default Value: Candidate Fields: Field Name: Name Default Value: Candidate Fields: Name, Address, Label, Location, Barrier, Description, Title Field Name: SourceID Default Value: -1 Candidate Fields: SourceID, SID, Source Field Name: SourceOID Default Value: -1 Candidate Fields: SourceOID, SOID Field Name: PosAlong Default Value: 0 Candidate Fields: PosAlong, PA, Pos Field Name: SideOfEdge Default Value: 2 Candidate Fields: SideOfEdge, SOE Field Name: CurbApproach Default Value: 0 Candidate Fields: CurbApproach, SideOfStreet, SideApproach, CurbSide, Curb Field Name: Status Default Value: 0 Candidate Fields: Field Name: FullEdge Default Value: 0 Candidate Fields: FullEdge, IsFullEdge, BlockEntire Field Name: BarrierType Default Value: 0 Candidate Fields: BarrierType, BarType, BarrierTyp Field Name: Attr_Meters Default Value: 0 Candidate Fields: Attr_Meters, Meters Class Name: PolylineBarriers Field Name: Shape Default Value: Candidate Fields: Field Name: Name Default Value: Candidate Fields: Name, Label, Locations, Barrier, Description, Title Field Name: Locations Default Value: Candidate Fields: Locations, LocRanges Field Name: BarrierType Default Value: 0 Candidate Fields: BarrierType, BarType, BarrierTyp Field Name: Attr_Meters Default Value: 1 Candidate Fields: Attr_Meters, Meters Class Name: PolygonBarriers Field Name: Shape Default Value: Candidate Fields: Field Name: Name Default Value: Candidate Fields: Name, Label, Locations, Barrier, Description, Title Field Name: Locations Default Value: Candidate Fields: Locations, LocRanges Field Name: BarrierType Default Value: 0 Candidate Fields: BarrierType, BarType, BarrierTyp Field Name: Attr_Meters Default Value: 1 Candidate Fields: Attr_Meters, Meters Network Dataset: RoadNetWork_ND Network Attributes: Meters Usage Type: esriNAUTCost Units: esriNAUMeters Data Type: esriNADTDouble Parameter Names: Oneway Usage Type: esriNAUTRestriction Units: esriNAUUnknown Data Type: esriNADTBoolean Parameter Names: RoadClass Usage Type: esriNAUTDescriptor Units: esriNAUUnknown Data Type: esriNADTInteger Parameter Names: RestrictedTurn Usage Type: esriNAUTRestriction Units: esriNAUUnknown Data Type: esriNADTBoolean Parameter Names: Network Sources: Street Element Type: esriNETEdge Source Type:esriNSTEdgeFeature ID: 1 RoadNetWork_ND_Junctions Element Type: esriNETJunction Source Type:esriNSTSystemJunction ID: 3 RestrictedTurns Element Type: esriNETTurn Source Type:esriNSTTurnFeature ID: 2 Supported Operations: Solve Route
... View more
03-13-2012
03:15 AM
|
0
|
4
|
2462
|
POST
|
Well i have the same issue My Projection are Projected Coordinate System: WGS_1984_UTM_Zone_42N Projection: Transverse_Mercator Linear Unit: Meter i want to display values in decimal degree not in meters projection should remains same Like in (Arcgis info)] from data frame properties we change the display to decimal degree
... View more
03-08-2012
01:17 AM
|
0
|
0
|
148
|
POST
|
How intellisense work in Silverlight 4 with arcgis data i want to used intellisense on text box i have no idea how to use it in silverlight need help thanks in advanced
... View more
01-25-2012
01:53 AM
|
0
|
3
|
777
|
POST
|
i m using the sample version 3 for printing http://help.arcgis.com/en/webapi/silverlight/3.0/samples/start.htm#ExportWebMap getting error on export (snap shot is attached ) and i want to creat my on own services for printing http://servicesbeta2.esri.com/arcgis/rest/services/Utilities/ExportWebMap/GPServer/Export%20Web%20Map%20Task how to create
... View more
01-24-2012
12:42 AM
|
0
|
2
|
2262
|
POST
|
I have download version 3 sample and installed 2.3 api While building the application its gives error on App.xaml.cs private void Application_Startup(object sender, StartupEventArgs e) { string xmlConfig = e.InitParams["xml"]; "Key Not found exception not handled by user code" The given key was not present in the dictionary //this.RootVisual = new Page(xmlConfig); this.RootVisual = new LightPage(xmlConfig); System.Windows.Browser.HtmlPage.RegisterScriptableObject("mySLapp", this.RootVisual); } i have attached a snap shot of this error please figure it out what is the problem or what i m missing i have version 2.2 which is working fine dont know what's the problem in the version 2.3
... View more
01-13-2012
04:58 AM
|
0
|
1
|
521
|
POST
|
i m using ShowCoordinatesBehavior sample version 2.2 my map projection is UTM 42N map unit are in meters its working fine showing map coordinate on mouse move i also want to display map units in decimal degree on mouse move is it possible if yes then how i can display
... View more
01-05-2012
01:57 AM
|
0
|
1
|
487
|
POST
|
well i m trying to used Map scale my version of ARCGIS API 2.2 does it required 2.3
... View more
12-23-2011
01:28 AM
|
0
|
0
|
266
|
POST
|
i am able to plot multiple point on my map code is attached but one error occurs for the Input coordinate for multiple points only MapPoint inputMapPoint = e.UserState as MapPoint; resultGraphic.Attributes.Add("Input_Coordinate", inputMapPoint.X + "," + inputMapPoint.Y); error Object reference not set to an instance of an object. error prt screen is attached void OnWebReadCompleted(object sender, OpenReadCompletedEventArgs e) { double ax = 0; double ay = 0; long az = 0; IList<Graphic> graphics = new List<Graphic>(); while (i <= count) { double.TryParse(test[i, 0], out ax); double.TryParse(test[i, 1], out ay); MapPoint inputMapPoint = new MapPoint(ay, ax, new SpatialReference(4326)); graphics.Add(new Graphic() { Geometry = inputMapPoint }); i++; } geometryService.ProjectAsync(graphics, MyMap.SpatialReference, null); } void geometryService_ProjectCompleted(object sender, GraphicsEventArgs e) { int i; for (i = 0; i < e.Results.Count; i++) //e.Results.Count { Graphic resultGraphic = new Graphic(); resultGraphic = e.Results; Graphic resultGraphic2 = new Graphic(); if (resultGraphic.Geometry.Extent != null) { resultGraphic.Symbol = LayoutRoot.Resources["RoundMarkerSymbol"] as SimpleMarkerSymbol; MapPoint resultMapPoint = resultGraphic.Geometry as MapPoint; resultGraphic.Attributes.Add("Output_Coordinate", resultMapPoint.X + "," + resultMapPoint.Y); MapPoint inputMapPoint = e.UserState as MapPoint; resultGraphic.Attributes.Add("Input_Coordinate", inputMapPoint.X + "," +inputMapPoint.Y); graphicsLayer.Graphics.Add(resultGraphic); } else { MessageBox.Show("Invalid input coordinate, unable to project."); } } }
... View more
12-22-2011
09:22 PM
|
0
|
0
|
524
|
Title | Kudos | Posted |
---|---|---|
1 | 01-07-2019 06:17 AM | |
1 | 04-25-2012 10:16 PM |
Online Status |
Offline
|
Date Last Visited |
07-15-2022
01:24 AM
|