Developer info for new PDF functionality at ArcGIS 9.3 (including pdf patch)

Many developers have asked how to take advantage of the enhanced PDF export capabilities in 9.3 and the “Map Export Patch to Support Acrobat 9 PDF” in their code, so we’ve prepared a short primer on this new functionality.

All of these new capabilities are contained in a new interface, IExportPDF2.  Unfortunately the web help for the SDK was erroneously published based on an older version of the interface.  We are in the process of updating the web help, but in the mean time here is the skinny on the new interface’s two properties:

 

IExportPDF2::ExportPDFLayersandFeatureAttributes

This one is pretty self-explanatory.  There are three possible values for this parameter, that control what content is exported into the resultant PDF:

esriExportPDFLayerOptionsNone No Layers and Feature Attributes.
esriExportPDFLayerOptionsLayersOnly Layers Only. This is the default value.
esriExportPDFLayerOptionsLayersAndFeatureAttributes Layers and Feature Attributes.

  

Be careful when using the option “LayersAndFeatureAttributes”.  All of the visible attribute fields in each feature class in the ArcMap document will be exported to the PDF. 

Exporting attributes to PDF can lead to performance problems when viewing the file in supported PDF readers. If possible, limit exported fields to one layer per map. To suppress field export, turn off field visibility in the Fields tab of the Layer Properties dialog.

IExportPDF2::ExportMeasureInfo

Recent versions of Adobe Acrobat and Adobe reader allow for encoding of map coordinate system and georeference information inside the PDF file.  Exporting a map with the ExportMeasureInfo property set to True will record map georeference information inside the PDF.  If you have installed the 9.3 PDF patch, ExportMeasureInfo will be True by default.  This means with any patched install of ArcGIS, even your existing PDF export code will include the new georeference info in exported PDF files.  Set this property to False to suppress the inclusion of georeference info in your PDF. 

For more detailed information on the functionality controlled by these properties, take a look at the desktop help for Advanced PDF Features.  Here’s a link to the web help version of this topic:  http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=Advanced_PDF_features

Let us know what you think of this new functionality!

 

Posted in Developer | Tagged , , , | 3 Comments

GCS WGS84: Why should you care about it?

By Charlie Frye, Esri Chief Cartographer

I’ve spent the last few months immersing myself in ArcGIS 9.3, particularly ArcGIS Server and ArcGlobe in order to create some map and globe services and see how they work in ArcGIS clients, Google Earth, and Virtual Earth. These services need to look good and draw fast. One factor that can dramatically influence drawing performance is whether projection-on-the-fly is being used.  Projection-on-the-fly will slow your map down, anywhere from 30% to 1000% slower (depending on the coordinate systems involved). Continue reading

Posted in Mapping | Tagged , | 2 Comments

The new face of EDN

If you’ve been looking for developer help on edn.esri.com recently, you’ll notice the site has been pared down to just a few links. The 9.3 Developer Help is now available through the various product Resource Centers, while the old EDN site is still available for legacy content. Jim Barry, who coordinates much of the work with the EDN site, contributed a post on the ArcObjects Development Blog explaining the change.

The new EDN start page

Posted in Services | Tagged , , | Leave a comment

Whoa… What's up with the EDN website?

As you may or may not have noticed, the content-rich EDN website has recently changed to a thin jump site with four links.  So to get right to the point your first question may be: “Where do I find the resources I need right now?

Starting with ArcGIS version 9.3 in July 2008, developers are encouraged to use the new ESRI Resource Centers to access SDK documentation, samples, product technical information, as well as tools and resources for interacting with communities of ArcGIS developers around the world.

For the time being, the old EDN website will continue to exist and be the repository for developer content for ArcGIS versions 9.2 and prior.  It will no longer be used for ArcGIS version 9.3 nor beyond.

Why?

Our goal here is to create one single website for all users’ product usage resource needs.  At version 9.2 and prior, developers used the EDN website and end-users of ESRI’s GIS software tended to use the ESRI Support Center online. 

Feedback from the user community, as well as our own technology development goals indicate that developers need information about product installation, architecture, administration, and functional usage as much as any other user, and end-users more and more often are making use of information for product customization, components, scripting, programming, and other resources typically associated with application developers.  As our technology continues to grow along with the maturity of information technology, the lines between “user” and “developer” continue to blur and overlap.  It makes less and less sense to maintain two sites and have users decide which one to use.

So as you use the ESRI Resource Center online, we encourage you to interact with other developers like yourself, as well as GIS end-users and the resources they all use to be successful.  That is the place online where the EDN community will continue to grow, through code sharing galleries, discussion forums, video, and blogs from ESRI development teams, as well as new community tools and resources upcoming such as open chat, tech workshop webcasts, and a fully wiki’d Knowledge Base technical documentation set.

What about the EDN program?

The ESRI Developer Network software subscription program and its add-on training and support products are not changing. 

Developers around the world have found EDN to be a very cost-effective and simple way to access the entire ArcGIS technology and product base for product customization, implementation, as well as the design and development of applications and systems.   This has been a popular product and is not going anywhere.   Actually, ESRI is committed to making improvements and additions to the subscription program as our leadership position in the geospatial technology industry continues to grow.  

Posted in Developer | Tagged , | 2 Comments

What's new in ArcGIS Server 9.3

ArcGIS 9.3 has been shipping for several weeks now. You can read about some of the enhancements to ArcGIS Server in the “Putting GIS on the Web” section of What’s new in ArcGIS 9.3. We’ll be talking about some of these enhancements on this blog in the coming weeks.

Here are a few examples of new things you can do that are explained in the What’s New document:

  • Add printing capability to your Web applications and format map tips in Manager
  • Build and deploy mobile projects directly from .NET Manager
  • Build .NET Web ADF applications whose client and server-side components leverage ASP.NET AJAX
  • Publish raster imagery directly to the server using the new image service
  • Build map caches based on the boundary of a feature class and cache the rest on demand
  • Administer security through Manager
  • Publish OGC Web Feature Services (WFS) and Web Coverage Services (WCS)
  • Make your server contents searchable on the Web with the new Services Directory application that works off REST
  • Embed maps in your Web sites with JavaScript
  • Create Google Maps API applications, Google Mapplets, and Microsoft Virtual Earth mashups that use your services
Posted in Services | Tagged , | Leave a comment

Why is the Visual Basic Editor grayed out after installing ArcGIS 9.3?

VBA version 6.5 is required for ArcGIS 9.3 (installs with Microsoft Office 2007). This does not get installed automatically when installing ArcGIS using the setup.msi file. One of the more noticeable indicators that the correct version of VBA was not installed is when navigating to Tools > Macros > Visual Basic Editor will be grayed out. However, it can be installed after using the setup.msi file by installing the files referenced below or it can be automatically installed if you use the setup.exe instead of the setup.msi. 

The ArcGIS Installation Guide > Installing ArcGIS Desktop silently, states the following: The installation of ArcGIS Desktop (setup.exe) serves as a single installer that integrates three separate installers required to run ArcGIS Desktop.  If you are deploying ArcGIS Desktop or need to install using setup.msi directly, you will need to install the other setup programs as well. The setup.msi programs and installation order are:

  1. The ArcGIS Desktop setup.msi (with custom installation information supplied below)
  2. <media or administrative installation>VBAVBAOF11.msi /qb  (no installation parameters are required)  
  3. <media or administrative installation>VBA1033VBAOF11i.msi /qb (no installation parameters are required) 

Additional Resources:
http://resources.esri.com/help/9.3/arcgisdesktop/installGuides/ArcGIS_Desktop/whnjs.htm 
http://support.esri.com/index.cfm?fa=knowledgebase.techArticles.articleShow&d=17844 

 

 

Posted in Developer | Tagged , , , | 3 Comments

2008 User Conference – Geodatabase Presentations

The 2008 ESRI International User Conference is roughly three weeks away and our team has been preparing technical workshops and demo theatres to present down in San Diego. Over the next few weeks we’ll be posting about these sessions so you can get a closer look and have an idea of what to expect.

Here is a list of the presentations our team is offering at this year’s UC:

Tech Workshops

Fundamentals
Geodatabase Essentials Part I – An Introduction to the Geodatabase
Jonathan Murphy, Colin Zwicker
Room 6C
  Tuesday, August 5 – 8:30am – 9:45am
  Wednesday, August 6 – 1:30pm – 2:45pm
Room 10
  Friday, August 8 – 8:30am – 9:45am

Geodatabases EssentialsPart II – An Introduction to ArcSDE Geodatabases (New)
Craig Gillgrass; Gary MacDougall; Brent Pierce
Room 4
Wednesday, August 6 – 8:30am – 9:45am
Thursday, August 7 – 8:30am – 9:45am
Friday, August 8 – 8:30am – 9:45am

 

Geodatabase
Geometric Networks in the Geodatabase
Craig Gillgrass; Erik Hoel
Room 3
Tuesday, August 5 – 8:30am – 9:45am
Wednesday, August 6 – 1:30pm – 2:45pm

Managing Distributed Data with Geodatabase Replication
Gary MacDougall; Heather McCracken
Room 6D
Tuesday, August 5 – 3:15pm – 4:30pm
Thursday, August 7 – 10:15am – 11:30am

Using SQL and Spatial Data Types with the Geodatabase
Shannon Shields; Kasia Tuszynska; Juliette Gutierrez
Room 4
Wednesday, August 6 – 10:15am – 11:30am
Thursday, August 7 – 3:15pm – 4:30pm

Topology in the Geodatabase
Erik Hoel; Doug Morgenthaler
Room 6C
Tuesday, August 5 – 1:30pm – 2:45pm
Thursday, August 7 – 8:30am – 9:45am

Working with ESRI’s Spatial Data Type for Oracle
Tom Brown, Kevin Watt
Room 4
Wednesday, August 6 – 12:00pm – 1:00pm

Geodatabase Administration
Administration for Oracle – An Introduction
Travis Val; James Gough
Room 4
Tuesday, August 5 – 8:30am – 9:45am
Wednesday, August 6 – 1:30pm – 2:45pm

Administration for Oracle – Advanced
Robert Rader; Travis Val
Room 4
Tuesday, August 5 – 10:15am – 11:30am
Wednesday, August 6 – 3:15pm – 4:30pm

Administration for SQL Server – An Introduction
Shannon Shields; Wendy Wallace
Room 4
Tuesday, August 5 – 1:30pm – 2:45pm
Thursday, August 7 – 8:30am – 9:45am

Administration for SQL Server – Advanced
Shannon Shields; Tony Wakim
Room 4
Tuesday, August 5 – 3:15pm – 4:30pm
Thursday, August 7 – 10:15am – 11:30am

Administration for PostgreSQL – An Introduction           
Kasia Tuszynska; Derek Law
Room 4
Wednesday, August 6 – 12:00pm – 1:00pm

Administration for IBM Databases – An Introduction           
Chris Bosch; Donna Cranfill; David Adler
Room 4
Tuesday, August 5 – 12:00pm – 1:00pm

Enterprise Geodatabase Tuning – Tips and Tricks
Mark Harris
Room 6D
Tuesday, August 5 – 1:30pm – 2:45pm
Thursday, August 7 – 8:30am – 9:45am

 

Editing
Geodatabase Editing Workflows – An Introduction
Derek Law; Kasia Tuszynska
Room 6C
Wednesday, August 6 – 8:30am – 9:45am
Thursday, August 7 – 1:30pm – 2:45pm

Geodatabase Editing Workflows – Advanced
Tom Brown; Robert Rader; Tony Wakim
Room 6C
Wednesday, August 6 – 10:15am – 11:30am
Thursday, August 7 – 3:15pm – 4:30pm

 

Raster Data
Working with Raster Data in ArcGIS
Simon Woo, Robert Berger, Hong Xu
Room 6D
Tuesday, August 5 – 8:30am – 9:45am
Wednesday, August 6 – 1:30pm – 2:45pm

Managing Raster Data in Geodatabase
Mark Harris, Qian Liu, Dan Meeks
Room 6D
Tuesday, August 5 – 10:15am – 11:30am
Wednesday, August 6 – 3:15pm – 4:30pm

 

Analysis and Geoprocessing
Linear Referencing: An Introduction
Derek Law and Heather McCracken
Room 9
Tuesday, August 5 – 1:30pm – 2:45pm
Thursday, August 7 – 3:15pm – 4:30pm

 

Demo Theatres

For more general information about the conference you can visit the main UC page.

There is also a UC Blog which has been posting lots of tidbits and info regarding the conference.

Posted in Geodata | Tagged , | Leave a comment

ArcObjects .NET Snippet Finder

New for .NET developers at 9.3 is the ArcGIS Snippet Finder.   This is a neat tool for finding commonly used blocks of code you can use in your application development.  In this video, Don Kemlage from ESRI’s .NET development team takes a few moments to describe this new tool and how to get the most from it to shorten your development time with solid blocks of useful ArcObjects code.   The Snippet Finder contains a few hundred snippets to start with, but more are being added.

     

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

GIS Education Community Explorer Posts

We’ve been busy, so have missed mentioning some interesting posts on the GIS Education Community Blog about ArcGIS Explorer. So let’s catch up…

George Dailey, ESRI Education Manager, published a series of Where’s Geo? entries, covering his travels throughout the U.K. His third installment looked at UNESCO World Heritage Sites using lat/lon data from a text file and also finding a KML file of the sites.

 

If you’ve been using KML or KMZ in the latest release of Explorer (480), you’ve probably noticed the KML improvements and enhancements (which now include support for time series). The new features are discussed in the Working with KML or KMZ data Help topic.

Joseph Kerski used a GPS from his plane to create a track of his flight across the US in his post on Mapping An Airline Route.

Joseph used a utility to convert his waypoints to a shapefile for use in Explorer, but with the latest Explorer 480 he could have imported the GPX file from his Garmin directly. See the Importing GPS data files Help topic for more information.

Joseph also heads to the Crossroads of the World, traveling to Istanbul and using Explorer for an historical overview. Joseph uses Go to Location and the Pinkerton 1812 layer found under contents on the Explorer Resource Center.

And finally, George Dailey cruises the new ArcGIS Explorer 480 with Captain James Cook, checking out the newly added graticule and also the GeoNames Search.

More information about the graticule, reference grids, and other options can be found under Setting application options in the Explorer Help. And the GeoNames Search task can be found with others on the Explorer Resource Center.

Posted in Uncategorized | Tagged | Leave a comment

Selected ArcGIS Online Services to be retired in August

7/11/08—ESRI will conclude the beta period for ArcGIS Online in August. In preparation for this, we intend to retire a set of services that are no longer necessary to retain. Most of these services have either been replaced with more current or complete services or contain outdated information that cannot be maintained.

Below is a list of the services that are to be retired. The services to be retired will include the 2D versions as well (*_2D), if applicable. These services will be retired and removed from the ArcGIS Online servers on or after August 14, 2008. 

Service to Retire Replacement Service
ESRI_StreetMap_NA ESRI_StreetMap_World, which includes more coverage and detail
I3_Topo_US NGS_Topo_US, which includes more coverage and detail
MODIS_BurnZone_SoCal N/A
MDA_Satellite_World ESRI_Imagery_World, which includes more coverage and detail
NASA_Elevation_World ESRI_Elevation_World, which includes more detail
NASA_SatelliteBathy_World ESRI_Imagery_World, which includes more detail
USGS_Elevation_World ESRI_Elevation_World, which includes more coverage
USGS_FirePerimeter_SoCal N/A

In some cases, we have listed services that we recommend you use instead of the service to be retired. We have removed any references to these services from our published maps, but, if you are referencing them in your maps and applications, please update the references before they are retired to prevent any broken connections.

Posted in ArcGIS Online, Services | Comments Off