Tag Archives: map

Why Did I Get an Invalid Package Error When I’m Unpacking My Own Package?

You just created a Map/Layer package on your machine and upon clicking it, see the error: “The package is not valid. Check with the package publisher for an updated package”.


 


However, when you send the same map package to a colleague on the other side of the U.S., he can open it without a hitch. What’s going on?!?


Well, the behavior might occur if the you’re trying to unpack a map or layer package with the My Documents folder redirected to a UNC path. Quite often, the redirection of My Documents is not a change that you have implemented, but instead was changed by default to adhere to a group policy in an organization.


The screenshot below shows properties storing My Documents at \localhostdocuments instead of the default location, C:Documents and SettingsusernameMy DocumentsArcGISPackages.



By default, unpacking will always extract the package into your user profile under:



  • XP – C:Documents and SettingsusernameMy DocumentsArcGISPackages

  • Vista and Windows 7 – C:UsersusernameDocumentsArcGISPackages

If your My Documents folder is mapped to a UNC path, the ArcGISfilehander that is used to unpack the package will not honor the UNC path and therefore, will fail to open the package.


The workaround for this issue is to modify the package location options to specify a local folder to unpack the file in the ArcGISFileHandler.exe at C:Program Files (x86)Common FilesArcGISbin. 


You can also Map the UNC path to a network drive and change the location of the My Documents folder to that mapped network drive.



Doing this, you can pack as many layer or map packages as you want and will be able to open them without any errors.


Related Links:


Package Map (Data Management)


Package Layer (Data Management)


Bug NIM068057  


Sisi Y. Support Analyst – Desktop, Esri Support Services – Charlotte, NC



Posted in Uncategorized | Tagged , , , , , , , | Leave a comment

Having problems georeferencing your raster image?

Have you ever added a raster image to your map document only to find that some of the georeferencing tools are not available? You know you’ve done this many times in the past, but what’s different this time?


A quick test to identify any issues is to add the image to a new blank map document instead of an existing map document. If the tools are available in the new map document, then one of the reasons for the problem may be that your data frame in the existing map document is rotated. ArcMap can’t apply a double-transformation to the raster.


Here are the only functions available when the data frame is rotated:



  • Update Georeferencing*

  • Rectify*

  • Reset Transformation*

  • Flip or Rotate functions

  • Rotate

  • Shift

  • Scale

*Available once image has been modified.



Simply clearing the data frame rotation will activate the following functions:



  • Fit to Display

  • Auto Adjust

  • Add Control Points

  • View Link Table

For more information on why your georeferencing toolbar may be grayed out, please reference the related links below.



-Timothy H., Support Analyst – Geodata Raster Group, Esri Support Services – Charlotte, NC


Related Links:


Problem:  The georeferencing toolbar is greyed out


The GIS Encyclopedia: Georeference


Working with Rasters: Georeferencing





Posted in Uncategorized | Tagged , , , , , | 1 Comment

Map no longer displaying in Visual Studio 2010? Try this.

Did you recently upgrade from Visual Studio 2008 to 2010? If so, you might run into one small hiccup when you’re creating and working with Web applications that use Esri Web ADF controls.

If you’re creating a custom Web mapping application that has a Map control in Visual Studio 2010 and the map doesn’t show when you’re running the application, first ensure that the map service displays fine in ArcCatalog, Server Manager and an out-of-the-box (OOTB) application created manager.  


If the map displays as expected in those applications, the next step is to navigate to the Solution Explorer for the Web mapping application (WMA) in Visual Studio, right click on the Web application project and select “Property Pages”.



Then go to Build and select the correct “Target Framework”. If it is set to .NET Framework 4, change it to .NET Framework 3.5.



You will see a warning message regarding the change, but click on “Yes”.



Now rebuild the project (if required) and run the application again. You should be able to see the map now.


Just remember that .NET Framework 4.0 is not currently supported with ArcGIS Server .NET Web ADF at version 10.0 and that .NET Framework 3.5 SP1 is required.


Kripa J., ESRI Support Analyst – SDK Group, ESRI Support Services



Posted in Uncategorized | Tagged , , , , , | 2 Comments

Tips and helpful links for adding a user control in a Silverlight Showcase application


With the introduction of Web APIs and their rising popularity among the users, a number of template-based applications have been brought into our Code Gallery, namely the Sample Flex Viewer (for ArcGIS API for Flex), the Sample JavaScript Viewer, and the Silverlight Showcase application. These templates make it easy for users to extend the application and add new features in the form of plug-and-play tools. For the Sample Flex Viewer, we have widgets, and then there are dijits for Sample JavaScript Viewer. Similarly, we can bring tools into a Silverlight Showcase application as custom user controls. The Silverlight Showcase application is also available as a template in Visual Studio. Please see the following ArcGIS Web help topic for more information: Getting Started with Templates.


A new sample has been uploaded to the ArcGIS Web site that brings in the Driving Directions sample from our Resource Center into the Esri Showcase Map application. The following link describes how to integrate the Driving Directions sample into the Esri Showcase Map application: Adding Driving Directions samples to the Esri Showcase Map Application.


By using a similar workflow, you can integrate other samples into a Silverlight Showcase application that are also available with the ArcGIS Resource Center – ArcGIS API for Microsoft Silverlight/WPF.

I hope that the information and links provided above help you gain a better understanding of adding a user control in a Silverlight Showcase application and that you can seamlessly plug in other samples from the Resource Center into the template application.


- Kripa J., Esri Support Analyst – SDK group, Esri Support Services



Posted in Uncategorized | Tagged , , , , , , , | Leave a comment

What’s New in 10: The good ship DS Mapbook has sailed; hello Data Driven Pages


Hello, this is Cassandra bringing you another blog post about some new functionality and/or tools that are now available with ArcGIS 10. This time I am here to declare that the good ship DS Map Book has set sail for the last time. Starting at ArcGIS 10, ArcMap now has map book support integrated directly in the application via Data Driven Pages!


For an overview on Data Driven Pages, please have a look at the ArcGIS Desktop Blog topic – Data Driven Pages.


To get started using it, I highly recommend going through the tutorial available right in the ArcGIS 10 Web help, as it sure helped me get a better understanding of all of the new tools and functionality available: Building map books with ArcGIS.


In regards to DS Mapbook and ArcGIS 10, DS Mapbook was built on VB6/VBA, which is no longer supported by Microsoft. Also, at version 10, ArcGIS Desktop no longer installs VB. You will be able to run a separate installation program that requires authorization from Esri’s Customer Service to add VBA support to ArcGIS 10 Desktop. For more information on the status of VBA within ArcGIS, see the following Support Services blog post: Farewell to VBA.


Please leave any comments in the comment section below this blog post. NOTE: You must be logged in to your Esri Global Account to leave comments.


- Cassandra L., Desktop Support Analyst, Esri Support Services



Posted in Uncategorized | Tagged , , , , , , | 9 Comments