Vishful thinking…

Dynamic legend generation through the ADF

Posted in Uncategorized by viswaug on March 16, 2008

I have uploaded my code snippet to generate legend images through the ADF here. The purpose for this grew out of being able to print multiple map resources on the map through the ADF. I had blogged about it before here. I have made some changes to the code snippet after input from some other people trying to do the same thing. The features of the code snippet are:

  • Generates images at the required DPI
  • Customizable legend title
  • Handles group layers
  • Handles symbol groups
  • Creates a legend image of the desired height and width. If the legend entries overflow the height specified, they will be omitted. If all legend entries are required in the images, it should only involve a small change in code to remove the check for overflow.

Here is an example of a legend generated by the snippet.



Link to the "ArcGIS Server REST API"

Posted in Uncategorized by viswaug on March 16, 2008 (not sure how long this is going to be up for). ArcGIS 9.3 Beta is supposed to have started shipping to the Beta users.

The REST API, Google Maps and VirtualEarth adapters in ArcGIS server 9.3 does hold a lot of promise. These technologies should enable accessing GIS services from the browser a breeze. Unlike Flex the release of Silverlight should also allow all the .NET developers to easily build more usable web-based GIS applications. Handling and processing large datasets through Silverlight should also be more performant than manipulating the DOM using javascript. It should also allow for performing basic and simple geo-processing(intersections etc) at the browser and eliminate round trips to the browser. Unlike Flex, I think the power of Silverlight lies in the fact that it is going to open up RIA development to all the .NET developers.