Skip navigation
All Places > Esri Technical Support > Blog > 2009 > September
2009
ArcGIS logo

 
Hi all! This is Jim B. with the Eastern Support Services Desktop unit and a few tips to keep you going strong. We each have found ourselves in situations where customers, clients and colleagues are using different versions of ArcGIS Desktop. If you upgrade immediately after a new release, you may find the need to share geodatabases or map documents with those who haven’t had a chance to upgrade yet. Fortunately, there is a quick and easy way to share data and documents between versions of ArcGIS Desktop.

 Map Documents

 
To send a map document that is compatible with an earlier release of ArcGIS Desktop, you’ll need to save it for that particular version. For example, if you are using ArcGIS Desktop 9.3.1 and you need to send your map document to a colleague that is using ArcGIS Desktop 9.2, a copy of the map document needs to be saved specifically for ArcGIS Desktop 9.2. To do this:

 
 
    1. Open the Map document you need to send.

 
    1. Go to the File Menu and scroll down to ‘Save a Copy’.

 
    1. In the ‘Save a Copy’ dialog box, add a ‘File Name’ for the document and ‘Save a Copy’ as “ArcMap 9.2 Document”.

 
  1. Click ‘Save’.

 
This saves a copy of your ArcGIS Desktop 9.3.1 map document that is compatible with ArcGIS Desktop 9.2.

 Geodatabases

 
Sometimes it is necessary to share entire geodatabases with others, but they could all be using different versions of ArcGIS Desktop. With the exception of ArcGIS Desktop versions 9.0 and 9.1 as well as version 9.2 SP5/SP6 and 9.3 being compatible with each other, previous versions of ArcGIS Desktop cannot read or access geodatabases created from later releases of ArcGIS Desktop. It is possible to work around this by adding feature classes to a geodatabase that was created using an earlier release. To do this:

 
 
    1. Make sure that the Geodatabase does not contain any objects that are specific to the newer release.

 
    1. Create a new personal geodatabase using the previous release of ArcGIS Desktop.

 
    1. With the current release of ArcGIS Desktop, copy/paste the data into the geodatabase created by the previous release of ArcGIS Desktop.

 
  1. The geodatabase now contains the data from the current geodatabase and can be used by the previous release of ArcGIS Desktop.

 
More details can be found using the following links to the Knowledge Base:

 How can previous versions of ArcGIS Desktop connect to geodatabases created with newer releases?

 How to share data from more recent versions of the Geodatabase with older versions of ArcGIS Desktop.

 
So, the next time you have a colleague that needs documents and data for an earlier release of ArcGIS Desktop and they think it's impossible, you’ll be able to impress them using your new knowledge of the sharing capabilities of ArcGIS Desktop.

 
- Jim B., Desktop group, Eastern Support Services - Charlotte, NC

 
esri logo

 
HI, this is Jamie P. bringing you another post geared towards our developer community.

 
ArcGIS Server's JavaScript API provides a Graphic object that takes multiple Geometry types for overlaying custom graphics on the Map. Three basic types of Geometry are provided: Point, Polyline, and Polygon. How the graphics are drawn is dependant on the symbol assigned to the Graphic. Graphics don't always need to be static.

 
Making the Graphics work can easily be accomplished by adding or removing geometries from the Graphics object. Geometry manipulation of the Graphic object provides an appearance of graphical animation.

 
Below is a JavaScript example of creating a line that has the appearance of a tracking layer. The setInterval function call sets a timer to call the buildLine function based on the duration specified in the second parameter passed. The addGraphic function creates the initial point Graphic. The buildLine function adds additional point Graphics to keep extending the line Graphic.

 setInterval(buildLine, 1000);

 function init() {
map = new esri.Map("map");
dojo.connect(map, "onLoad", addGraphic);
var tiledMapServiceLayer =
new esri.layers.ArcGISTiledMapServiceLayer(
"http://brownduck/arcgis/rest/services/UtahEnergyTiled/MapServer");
map.addLayer(tiledMapServiceLayer);
}


 function addGraphic() {
xcoord = 324299.8395;
ycoord = 4460178.869;
startPoint = new esri.geometry.Point(xcoord, ycoord, map.spatialReference);
var symbol =
new esri.symbol.SimpleMarkerSymbol(esri.symbol.SimpleMarkerSymbol.STYLE_CIRCLE,
5, new esri.symbol.SimpleLineSymbol(esri.symbol.SimpleLineSymbol.STYLE_SOLID,
new dojo.Color([255,0,0]), 5), new dojo.Color([255,0,0,0.25]));
map.graphics.add(new esri.Graphic(startPoint, symbol));
}


 function buildLine(){
var i = 1;
var polyLine;
var symbol;
if(i < 2){
var points = new Array();
points[0] = startPoint;
polyLine = new esri.geometry.Polyline(map.spatialReference);
symbol =
new esri.symbol.SimpleLineSymbol(
esri.symbol.SimpleLineSymbol.STYLE_SOLID, new dojo.Color([255,0,0]), 5)
}xcoord = xcoord + 1000.0000;
ycoord = ycoord + 0.0000;
var addPoint = new esri.geometry.Point(xcoord, ycoord, map.spatialReference);
points[i] = addPoint;
polyLine.addPath(points);
map.graphics.add(new esri.Graphic(polyLine, symbol));
i = i + 1;
}


 

The image below shows the outcome of the code above. Notice the start point to the far left of the drawn line. The start point Graphic may be enhanced by applying a different symbol to the Graphic.outcome of the code

-Jamie P., Support Analyst, SDK Group, ESRI Support Services

Filter Blog

By date: By tag: