Simple Annotations With the Esri Silverlight API

In a previous post, I mentioned that I developed a MeasureString function for use in developing an annotation tool. In this post, I’ll go into a little bit more detail about that tool. For purposes of discussion, I extended the interactive graphics sample from the Esri Silverlight API interactive SDK.

For starters, I added another tool to the sample’s tool bar (circled in red below) to provide access to the annotation capability.


Continue reading “Simple Annotations With the Esri Silverlight API”

DevGeo Session at the Esri FedUC

We are approximately a month away from the Esri Federal User Conference. It is probably the largest geospatially-themed event in the DC/Maryland/Virginia area each year and has gotten bigger each year. I have documented this conference in the past and have pointed out that, despite its name, there is a lot of information that can be of value for state/local and other non-Federal users of Esri products. Given constrained travel budgets, it’s a good option for people who may not be able to make it to San Diego.

This year, Esri has added something new to the FedUC. It was somewhat innocuously tweeted by Jim Barry last week but is, in my opinion, a significant addition. If you check the agenda, you will now see that Thursday, January 20 now includes an all-day DevGeo session. This is a follow-on event to the inaugural DevGeo session put on in Silicon Valley in November.

Continue reading “DevGeo Session at the Esri FedUC”

DynamicLayer Auto-Refresh for ESRI Silverlight API

Despite recent news regarding Silverlight, I expect some of my projects to continue using it for the near term. Others may be taking the same tack, so I thought I’d go ahead and offer this up.

Several of the projects I support have the requirement to periodically refresh specific layers in order to track change or movement. These layers can range from weather to vehicle locations and such. I have typically accomplished this with a timer that refreshes the layer(s) on a specified interval. This can get rather cumbersome if you have different layers that require different refresh intervals.

Working within Silverlight, I have the option of using an existing layer class as a base class and extending it to include an automatic refresh capability. However, some classes, such as the ArcGISDynamicMapServiceLayer, are sealed and cannot be extended. Luckily, the Expression Blend SDK enables me to get around this by attaching a custom behavior. Continue reading “DynamicLayer Auto-Refresh for ESRI Silverlight API”

MeasureString for Silverlight

I was working on an annotation tool for an application I am developing using the Esri Silverlight API. The TextSymbol class has properties to specify the X and Y offsets in order to position the text relative to the symbol’s base point. I needed to calculate the size of the string in order to determine the offset I wanted to use. Silverlight seems to have no intrinsic equivalent to the MeasureString function so I hacked this up. Continue reading “MeasureString for Silverlight”

Me and zigGIS

If you’ve been to the Obtuse Software site recently, you may or may not have noticed a change to the “Who We Are” page. It now lists only Abe Gillespie and Paolo Corti. Prior to my trip to Colorado to talk about zigGIS at GIS in the Rockies, I informed Abe and Paolo that I would be stepping back from any “official” involvement in Obtuse.

This does not mean that I am stepping back from involvement in zigGIS. I plan to continue to support zigGIS as it returns to open-source but, in truth, I haven’t done much with zigGIS day-to-day in a long time. As part of the return of zigGIS to open-source at version 3.0, Abe has been working on a plan to give the community multiple paths to support the project, including sponsorship and technical support plans. I’m sure he’ll have the details out soon so I’ll leave it at that (since it’s not my story to tell). So, as Obtuse transitions to more of a supporting role for the zigGIS 3.0 open-source project, I felt that this was a good time to step away and become part of the community. Continue reading “Me and zigGIS”

New MapWindow Beta Available

Paul Meems announced today that a new beta version of MapWindow is available. From the announcement:

We’ve just released the Beta Version of July.

It is available at http://svn.mapwindow.org/svnroot/InstallationProjects/4.8/Releases/MapWindowx86Full-v48Beta-installer.exe

The supporting libraries (like GDAL, GEOS) have been updated to their latest versions.
A lot of new enhancements have been added to the ocx, like image grouping, image overviews (pyramids), symbology (charts and coloring), use of the rotation values in world files.
Not all new features made it yet to the Desktop, but we’re working on that.
The features are available to you for your plug-in or script development or when you develop a custom application using the ocx.

MapWindow is quite a powerful open-source (Mozilla Public License) mapping library for .NET. It’s under active development and seems to be adding capability rapidly. If you’re a developer looking for a library to add spatial capability to your application, you may want to check it out.

zigGIS Hotfix Available

Abe announced the availability of hotfix 3 for zigGIS 2.0.5. From the announcement:

Hotfix 3 fixes an issue that prevented point layers from being
editable; it also includes all prior hotfixes. The hotfix is a free
upgrade and is highly recommended for all users. Please go to
http://pub.obtusesoft.com > My Order. After logging in you’ll see a
link to the patch.

Abe is working hard on version 3.0 but obviously is continuing to support 2.x as well. Improvements include a new provider model which will better enable support for other data sources. A roadmap should be available soon.