Tag Info

New answers tagged

0

That is one way to do it. How much time / effort do you want to put into it? With a GDAL distribution, you have the code for ogr2ogr. you could peruse that code and figure out how it does the above command, and then add your processing to that C/C++ utility, thus generating your own. you could replicate that processing in C# by calling the .NET bindings and ...


0

When you say "...add graphics as the lowest layer in the active map" Are you trying to add graphics to an annotation group which is associated with a layer? When you turn that layer off then the graphic will disappear too so labels in other layers will show. Whilst that layer is visible the graphic would obscure the labels. I think @Chris W is on the right ...


2

public static bool CompareSpatialRefs(ISpatialReference sourceSR, ISpatialReference targetSR) { IClone sClone = sourceSR as IClone; IClone tClone = targetSR as IClone; // first level test compares the coordinate system component if (!sClone.IsEqual(tClone)) return false; ...


2

You can obtain the spatial reference of a feature class using the IGeoDataset Interface: ' Spatial reference of a feature class Dim geoDataset As IGeoDataset Set geoDataset = featureLayer.FeatureClass Set spatialReference = geoDataset.SpatialReference http://forums.esri.com/Thread.asp?c=159&f=1707&t=223709 OR '''<summary>Get the spatial ...


1

You can do this by going into the catalog and checking the properties window of each feature class under XY Coordinate System. The quickest way would be to compare WKID numbers of each layer. You can also use the Describe function to identify the spatial reference and compare them. see this for more info on this.



Top 50 recent answers are included