POST
|
hi, please check below conversation ...might helps you.... http://forums.arcgis.com/threads/17004-Populate-one-field-based-on-another-using-a-lookup-list Thanks and Regards, Venkat
... View more
12-05-2010
09:27 PM
|
0
|
0
|
221
|
POST
|
Thank for this tip! I agree that showing two items with the same name is not nice. Do you have other ideas for names without using groupnames? Something like "Buildings (1ste entry)", Buildings (2de entry) ? Why don't you make names as by type Commercial building and residential or by size Large Constructions and Small Constructions something like that ?
... View more
12-05-2010
07:50 PM
|
0
|
0
|
285
|
POST
|
Once layer is renamed...there will be issue right ?Even we should not call it as an issue tooo....
... View more
12-02-2010
11:21 PM
|
0
|
0
|
285
|
POST
|
hi, Before start arcmap...you need to change coordinate system...means you need to go for stand alone application ...from that you can play something before....but your using arcmap and you are looking for plugin.. i dont think it is possible for start arcmap... There is one option in VBA.you can look that option i think... Private Function MxDocument_OpenDocument() As Boolean End Function Something like that... Thanks and Regards, Venkat
... View more
11-30-2010
06:31 PM
|
0
|
0
|
445
|
POST
|
hi Please find the below code <?xml version="1.0" encoding="utf-8"?> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:esri="http://www.esri.com/2008/ags" pageTitle="Combining dynamic maps and projected map tiles"> <s:controlBarContent> <s:Label width="100%" fontSize="14" text="This map combines a street map (tiles) with a dynamic service showing census block points (blue markers)."/> </s:controlBarContent> <esri:Map> <esri:extent> <esri:WebMercatorExtent id="lowerManhatten" minlon="-74.03" minlat="40.70" maxlon="-73.99" maxlat="40.72"/> </esri:extent> <esri:ArcGISTiledMapServiceLayer url="http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"/> <esri:ArcGISDynamicMapServiceLayer url="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer"> <esri:visibleLayers> <s:ArrayCollection> <fx:Number>0</fx:Number> <!-- Show census block points only --> </s:ArrayCollection> </esri:visibleLayers> </esri:ArcGISDynamicMapServiceLayer> </esri:Map> </s:Application>
... View more
11-29-2010
08:49 PM
|
0
|
0
|
212
|
POST
|
Hi, Please find below code that might help you... private void Transform() { ISpatialReferenceFactory2 spatialReferenceFactory2 = new SpatialReferenceEnvironmentClass(); //Mean for Great Britain. IGeoTransformation geoTransformation = spatialReferenceFactory2.CreateGeoTransformation((int) esriSRGeoTransformationType.esriSRGeoTransformation_OSGB1936_To_WGS1984_1)as IGeoTransformation; ISpatialReference fromSpatialReference; ISpatialReference toSpatialReference; geoTransformation.GetSpatialReferences(out fromSpatialReference, out toSpatialReference); System.Windows.Forms.MessageBox.Show(geoTransformation.Name); System.Windows.Forms.MessageBox.Show(fromSpatialReference.Name + ", " + toSpatialReference.Name); } Thanks and Regards, Venkat
... View more
11-29-2010
07:37 PM
|
0
|
0
|
445
|
POST
|
hi, As per my knowledge trail will be available for only desktop not engine and server too..
... View more
11-29-2010
07:22 PM
|
0
|
0
|
141
|
POST
|
hi, I have tested in IE 7 too.. it working fine for me...is your Overviewmap is placed in updatepanel ? Thanks and Regards Venkat
... View more
11-29-2010
03:04 AM
|
0
|
0
|
532
|
POST
|
Hi, Please find the below code converted into C# public override void OnClick() { try { IMxDocument pMxDoc = null; ESRI.ArcGIS.Carto.IMap pMap = null; ESRI.ArcGIS.Carto.IFeatureLayer pFLayer1 = null; IFeatureLayer pFLayer2 = null; pMxDoc = m_application.Document as IMxDocument; pMap = pMxDoc.FocusMap; pFLayer1 = pMap.get_Layer(0) as IFeatureLayer; pFLayer2 = pMap.get_Layer(1) as IFeatureLayer; IDataset pDataset = null; IDataset pwkDataset = null; IWorkspaceName Pwkspname = null; pDataset = pFLayer2.FeatureClass as IDataset; pwkDataset = pDataset.Workspace as IDataset; Pwkspname = pwkDataset.FullName as IWorkspaceName; String stroutname; IFeatureClassName pFCName = null; IDatasetName pOutDSName = null; ESRI.ArcGIS.esriSystem.IName pName = null; stroutname = "Outputfile name"; //C# doenst have Inputbox...May be some 3rd party dll u need to use to get inputbox in C# pFCName = new FeatureClassNameClass(); pFCName.FeatureType = esriFeatureType.esriFTSimple; pFCName.ShapeFieldName = "Shape"; pFCName.ShapeType = ESRI.ArcGIS.Geometry.esriGeometryType.esriGeometryPolygon; pOutDSName = pFCName as IDatasetName; pOutDSName.Name = stroutname; pOutDSName.WorkspaceName = Pwkspname; pName = pOutDSName as IName; ISpatialJoin pspjoin; IFeatureClass pFCnew = null; IAggregateOptions paggoptions = null; pspjoin = new SpatialJoin(); pspjoin.JoinTable = pFLayer1.FeatureClass as ITable; pspjoin.SourceTable = pFLayer2.FeatureClass as ITable; pspjoin.LeftOuterJoin = true; paggoptions = pspjoin as IAggregateOptions; paggoptions.IsSum = true; pFCnew = pspjoin.JoinAggregate(pName, 0); } catch (Exception exp) { } } Thanks and Regards, Venkat Tammineni
... View more
11-28-2010
11:15 PM
|
0
|
0
|
147
|
POST
|
hi, Please find the complete code... what you looking private static void ExportShapefiles(string strFolderPath) { try { IWorkspaceName pWorkspaceName; IFeatureClassName pFeatClassName; IDatasetName pDataSetName; //define the wrokpace pWorkspaceName = new WorkspaceNameClass(); pWorkspaceName.WorkspaceFactoryProgID = "esriDataSourcesGDB.AccessWorkspaceFactory"; CreateAccessWorkspace(@"C:\temp\"); pWorkspaceName.PathName = strFolderPath; //Define the dataset. pFeatClassName = new FeatureClassNameClass(); pDataSetName = pFeatClassName as IDatasetName; pDataSetName.WorkspaceName = pWorkspaceName; pDataSetName.Name = "Export_Data"; IWorkspaceName pInShpWorkspaceName; IFeatureClassName pFCName; IDatasetName pShpDatasetName; //Define the workspace. pInShpWorkspaceName = new WorkspaceNameClass(); pInShpWorkspaceName.PathName = @"D:\Temp\Pro\Sample\Sample"; pInShpWorkspaceName.WorkspaceFactoryProgID = "esriDataSourcesFile.ShapefileWorkspaceFactory"; //Define the dataset. pFCName = new FeatureClassNameClass(); pShpDatasetName = pFCName as IDatasetName; pShpDatasetName.Name = "polygon.shp"; pShpDatasetName.WorkspaceName = pInShpWorkspaceName; IFeatureDataConverter pShpToFC; pShpToFC = new FeatureDataConverterClass(); pShpToFC.ConvertFeatureClass(pFCName, null, null, pFeatClassName, null, null, "", 1000, 0); MessageBox.Show ("Shapefile conversion complete!"); } catch (Exception exp) { } } public static void CreateAccessWorkspace(String path) { try { // Instantiate an Access workspace factory and create a personal geodatabase. // The Create method returns a workspace name object. Type factoryType = Type.GetTypeFromProgID( "esriDataSourcesGDB.AccessWorkspaceFactory"); IWorkspaceFactory workspaceFactory = (IWorkspaceFactory) Activator.CreateInstance(factoryType); IWorkspaceName workspaceName = workspaceFactory.Create(path, "Sample.mdb", null, 0); // Cast the workspace name object to the IName interface and open the workspace. IName name = (IName)workspaceName; IWorkspace workspace = (IWorkspace)name.Open(); MessageBox.Show("Geo Database Just Created", "Data Creator"); } catch (Exception exp) { } } Thanks and Regards, Venkat Tammineni
... View more
11-28-2010
11:04 PM
|
0
|
0
|
360
|
POST
|
hi, You have to use onmousedown event for basetool. Thanks and Regards, Venkat Tammineni
... View more
11-28-2010
09:27 PM
|
0
|
0
|
111
|
POST
|
Hi, The reason is you have referenced library twice... so please go to your bin folder...there you find the two referenced dll...you just remove one...thats works fine... Thanks and Regards, Venkat Tammineni
... View more
11-28-2010
09:00 PM
|
0
|
0
|
170
|
POST
|
hi, There are some issues might cause ... 1) Please Coordinate system...is your data is projected ? 2) Overview map all settings are correct ? there are some solutions may help you... 1) on Page_Load Refresh your overview map OverviewMap.Refresh(); 2) add on page_load or OnPreRender OverviewMap1.Extent = Map1.Extent; Above i have tested perfectly working for me...Please check any overview map configuration issues. Thanks and Regards, Venkat Tammineni
... View more
11-28-2010
08:49 PM
|
0
|
0
|
532
|
Title | Kudos | Posted |
---|---|---|
1 | 10-09-2017 07:44 AM | |
2 | 01-12-2015 10:36 PM | |
1 | 01-15-2015 09:02 AM | |
2 | 09-29-2014 02:29 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|