|
POST
|
It should be a custom server side functionality. You can make a geoprocessing tool that takes your file and returns your parcels as Feature Set or JSON.
... View more
04-09-2014
11:11 PM
|
0
|
0
|
314
|
|
POST
|
Ok thank you for the help. That works great if i set the FeatureLayer Mode to "OnDemand" or "Snapshot", but if i set it so SelectionOnly no Feature is shown. The filteredGraphics List in your Code doesnt contains any Features so no Feautre is found. It would be great if i could select a feature by code from the layer and just the features that fulfill the where-clause are shown in the DataGrid. Do you have any Ideas concerning that problem? Thanks in Advance Ulf Use FeatureLayer.WhereClause to filter your features and remove SelectionOnly Mode.
... View more
04-09-2014
10:16 PM
|
0
|
0
|
560
|
|
POST
|
You can place ITextElement on your map. Check Text Element Snippt for Globe to get the idea.
... View more
04-08-2014
09:52 PM
|
0
|
0
|
1954
|
|
POST
|
Get your Where Clause in Runtime and apply it on arcmap. I think you enclose your Field name with " instead of [ as it throws error. Read the following posts carefully: The syntax of a SQL statement depends on the workspace type that is being used. http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/SQL_reference_for_query_expressions_used_in_ArcGIS/00s500000033000000/ http://support.esri.com/en/knowledgebase/techarticles/detail/40355 Regards,
... View more
04-08-2014
09:33 PM
|
0
|
0
|
492
|
|
POST
|
i did that already but i get another because of this i have attached image of that error please check it out and you have any solution then let me know or have you have any sample for this or sample code then please send me thank you [ATTACH=CONFIG]32916[/ATTACH] Check System File Checker tool from Microsoft http://support.microsoft.com/kb/929833 It's not Arcobject error, also you can try to run your code on another machine.
... View more
04-08-2014
09:19 PM
|
1
|
0
|
2001
|
|
POST
|
i have attached image with this reply please check it out[ATTACH=CONFIG]32833[/ATTACH] Try to uncheck "Enable unmanaged code debugging" checkbox from debug menu in project properties.
... View more
04-07-2014
11:18 PM
|
1
|
0
|
2001
|
|
POST
|
I suppose the problem I'm having is that the Identify widget/tool doesn't work on Feature Layers (they have to be just a dynamic service layer). So, I can't use FeatureService stuff if I want the layers to be identifiable. 😕 You can Just Query the REST Attachment info for a feature (featureId 1) in a dynamic layer (existing map service layer with id 3): http://myServer/arcgis/rest/services/Census/MapServer/dynamicLayer/1/attachments?layer={"id":101,"source":{"type":"mapLayer","mapLayerId":3}}&where=1=1&f=pjson For more information check the following link: http://resources.arcgis.com/en/help/rest/apiref/ms_dyn_attachmentinfos.html
... View more
04-02-2014
02:20 AM
|
0
|
0
|
2619
|
|
POST
|
Hi There; I would like to implement the behaviours and actions in silverlight. Here are the codes.the code is also here: http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#ConstrainExtentBehavior
<UserControl x:Class="ArcGISMapping.behavioursandactions.ConstraintExtendBehaviour"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
d:DesignHeight="300" d:DesignWidth="400"
xmlns:esri="http://schemas.esri.com/arcgis/client/2009"
xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity">
<Grid x:Name="LayoutRoot" >
<esri:Map x:Name="MyMap" WrapAround="True" Extent="-15000000,2000000,-7000000,8000000">
<esri:ArcGISTiledMapServiceLayer ID="MyBaseLayer"
Url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer" />
<i:Interaction.Behaviors>
<esri:ConstrainExtentBehavior ConstrainedExtent="-15000000,2000000,-7000000,8000000" />
</i:Interaction.Behaviors>
</esri:Map>
</Grid>
</UserControl>
I am getting the error: The name "Interaction" does not exist in the namespace "http://schemas.microsoft.com/expression/2010/interactivity". How can I resolve that problem? Thanks in advance. Try to include System.Windows.Interactivity.dll in your project
... View more
04-02-2014
12:57 AM
|
0
|
0
|
485
|
|
POST
|
yes it work manually very well. i am also storing path in different two string but that code also show me same error please . ESRI.ArcGIS.Geoprocessor.Geoprocessor gp = new ESRI.ArcGIS.Geoprocessor.Geoprocessor(); gp.OverwriteOutput = true; ESRI.ArcGIS.ConversionTools.FeatureClassToShapefile tool = new ESRI.ArcGIS.ConversionTools.FeatureClassToShapefile(); string fpath = @"C:\Temp1"; string spath = @"F:\test buffer of JAMNAGAR SHP FILES ex3\FOOTPATH.dwg"; tool.Output_Folder = spath; tool.Input_Features = fpath; gp.Execute(tool, null); please give me some idea on this. The .DWG file "FOOTPATH.dwg" is a CAD Dataset, you should pass a featureclass which is a layer inside the .DWG file ex. (Point,Polyline,Polygon) so the input format should be( ~\File.dwg\LayerName) This should work for you
ESRI.ArcGIS.Geoprocessor.Geoprocessor gp = new ESRI.ArcGIS.Geoprocessor.Geoprocessor();
gp.OverwriteOutput = true;
ESRI.ArcGIS.ConversionTools.FeatureClassToShapefile tool = new ESRI.ArcGIS.ConversionTools.FeatureClassToShapefile();
//@"F:\test buffer of JAMNAGAR SHP FILES ex3\FOOTPATH.dwg\Point"
//@"F:\test buffer of JAMNAGAR SHP FILES ex3\FOOTPATH.dwg\Polyline"
//@"F:\test buffer of JAMNAGAR SHP FILES ex3\FOOTPATH.dwg\Polygon"
tool.Input_Features = @"F:\test buffer of JAMNAGAR SHP FILES ex3\FOOTPATH.dwg\Point";
tool.Output_Folder = @"C:\Temp1";
gp.Execute(tool, null); Regards,
... View more
04-01-2014
10:01 PM
|
1
|
0
|
2001
|
|
POST
|
Check this post http://forums.arcgis.com/threads/54958-Can-t-adding-OpenStreetMapLayer
... View more
04-01-2014
04:19 AM
|
0
|
0
|
386
|
|
POST
|
Hello, i have a question concerning the selection of a FeatureDataGrids or FeatureLayers. In my Application i have a FeatureLayer and a FeatureDataGrid. If i select a row in the datagrid the feature in the map is selected and vise versa. Now i would like to select a Feature via CodeBehind. Is that possible? For example i would like to select the feature by specific Attributes. Thanks in Advance! Hi, you can select a feature via code behind using Graphic.Select() method or Graphic.Selected property. for example, you can select some existing features from a FeatureLayer using somthing like the following: List<Graphic> filteredGraphics = featureLayer.Graphics.Where(g => Convert.ToString(g.Attributes["AttributeKey"]) == "AttributeValue").ToList();
foreach (Graphic g in filteredGraphics)
{
g.Select();
}
... View more
03-29-2014
11:56 PM
|
0
|
0
|
560
|
|
POST
|
Michelle, Did you ever find a solution to this? I'm looking to do something similar and have tried a few things with no luck. Use FeatureLayer::QueryAttachmentInfos to get list of attachments then bind it to ItemsControl contains hyperlink or whatever you want. featureLayer.QueryAttachmentInfos(selectedGraphic, (Action<IEnumerable<ESRI.ArcGIS.Client.FeatureService.AttachmentInfo>>)QueryAttachmentInfosCallback,
(Action<Exception>)delegate(Exception ex) { MessageBox.Show(ex.ToString());});
private void QueryAttachmentInfosCallback(IEnumerable<ESRI.ArcGIS.Client.FeatureService.AttachmentInfo> attachments)
{
//Bind to Itemscontrol
}
... View more
03-29-2014
10:44 PM
|
0
|
0
|
2619
|
|
POST
|
Also, in second link in example C, it proposes using ArcGIS Engine Runtime license or ArcInfo license, instead. Concluding All those mesioned above, I come to this main question: Can I run my Engine Application (which includes some Engine controls) with ArcInfo License? Yes you can. One of the advantages of the ArcGIS Engine licensing model is that custom ArcGIS Engine applications can be deployed to users with ArcGIS Desktop installed and the ArcGIS Engine application can leverage the existing ArcGIS Desktop license to run the ArcGIS Engine application. http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//000100000m9q000000
... View more
03-27-2014
02:27 AM
|
0
|
0
|
1684
|
|
POST
|
Thanks for your reply, very helpful. You mentioned creating my own client side projection. I tried that but I could not figure out the correct math equations. All my data is in NAD27, Spatial reference 4267 and I need to project it to WebMercator, Spatial reference 102100 to go in the map. It would be interesting to know how you figure out your own if you can share, where did you find the math equations, etc. thanks!! There was alot of available equations in my case as I need to convert from UTM to wgs84. You can check Proj.Net as it offers projection from NAD27 to wgs84 (4326) the you can convert to WebMercator, but you need to test the results carefully to insure correct transformation process.
... View more
03-27-2014
01:24 AM
|
0
|
0
|
878
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-22-2015 06:50 AM | |
| 1 | 04-01-2014 10:01 PM | |
| 1 | 04-07-2014 11:18 PM | |
| 1 | 04-08-2014 09:19 PM | |
| 1 | 11-26-2014 07:46 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:24 AM
|