<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Vishful thinking...</title>
	
	<link>http://viswaug.wordpress.com</link>
	<description>Journey of a .NET GIS developer</description>
	<lastBuildDate>Thu, 09 Jul 2009 03:22:19 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<image>
		<url>http://www.gravatar.com/blavatar/febae388b7acfe3c0ae411f8cc063f5c?s=96&amp;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Vishful thinking...</title>
		<link>http://viswaug.wordpress.com</link>
	</image>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/Vish" type="application/rss+xml" /><item>
		<title>Exploring/Exploiting the query operation in the ArcGIS REST API</title>
		<link>http://feedproxy.google.com/~r/Vish/~3/I6DFqfRDgKE/</link>
		<comments>http://viswaug.wordpress.com/2009/07/09/exploringexploiting-the-query-operation-in-the-arcgis-rest-api-2/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 03:22:19 +0000</pubDate>
		<dc:creator>viswaug</dc:creator>
				<category><![CDATA[ArcGIS]]></category>
		<category><![CDATA[ESRI]]></category>
		<category><![CDATA[GIS]]></category>

		<guid isPermaLink="false">http://viswaug.wordpress.com/2009/07/09/exploringexploiting-the-query-operation-in-the-arcgis-rest-api-2/</guid>
		<description><![CDATA[I was starting to look harder at the query operation in the ArcGIS Server REST API today to figure if I can leverage it to get specific results I needed instead of building my own REST services. The scenario I was looking at was to be able to get the records corresponding to the minimum [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=viswaug.wordpress.com&blog=1059993&post=555&subd=viswaug&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I was starting to look harder at the query operation in the ArcGIS Server REST API today to figure if I can leverage it to get specific results I needed instead of building my own REST services. The scenario I was looking at was to be able to get the records corresponding to the minimum and the maximum values in a given field. To provide an example, let’s say you have a ‘States’ layer with a field called ‘POP2008’ that contains population numbers for the year 2008. In this case, I want to obtain the state records with the minimum and the maximum population for the year 2008. At the outset, there didn’t seem to be a way to do it. After spending some time investigating the possibilities with the REST API query operation, I found that the above was in fact possible. Assuming that the FeatureClass name of the ‘States’ layer is ‘States_DTL’, the query below will produce the desired results.</p>
<blockquote><p><strong><font color="#800000" size="3">POP2008 = (SELECT MIN(POP2008) from States_DTL) OR POP2008 = (SELECT MAX(POP2008) from States_DTL)</font></strong></p>
</blockquote>
<p>I was surprised to find out that I was able to use the name of a FeatureClass in the query. Agreed, the user of the REST API will/might not know the name of the FeatureClass. But the user could get lucky and be able to guess the name of the FetaureClass after ‘n’ tries. The FeatureClass / Table being used doesn’t even need to be a part of the MapService. I am not yet sure about how far this behavior can be exploited. Nevertheless, I found that this behavior was a little more than interesting.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/viswaug.wordpress.com/555/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/viswaug.wordpress.com/555/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/viswaug.wordpress.com/555/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/viswaug.wordpress.com/555/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/viswaug.wordpress.com/555/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/viswaug.wordpress.com/555/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/viswaug.wordpress.com/555/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/viswaug.wordpress.com/555/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/viswaug.wordpress.com/555/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/viswaug.wordpress.com/555/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=viswaug.wordpress.com&blog=1059993&post=555&subd=viswaug&ref=&feed=1" /></div><img src="http://feeds.feedburner.com/~r/Vish/~4/I6DFqfRDgKE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://viswaug.wordpress.com/2009/07/09/exploringexploiting-the-query-operation-in-the-arcgis-rest-api-2/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cde0d8ca836f3c2d78087cb8a5bd593e?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">viswaug</media:title>
		</media:content>
	<feedburner:origLink>http://viswaug.wordpress.com/2009/07/09/exploringexploiting-the-query-operation-in-the-arcgis-rest-api-2/</feedburner:origLink></item>
		<item>
		<title>Flashing a graphic in the ESRI Silverlight API</title>
		<link>http://feedproxy.google.com/~r/Vish/~3/JZffFa3NZlM/</link>
		<comments>http://viswaug.wordpress.com/2009/05/28/flashing-a-graphic-in-the-esri-silverlight-api/#comments</comments>
		<pubDate>Thu, 28 May 2009 03:22:56 +0000</pubDate>
		<dc:creator>viswaug</dc:creator>
				<category><![CDATA[ESRI]]></category>
		<category><![CDATA[Silverlight]]></category>

		<guid isPermaLink="false">http://viswaug.wordpress.com/2009/05/28/flashing-a-graphic-in-the-esri-silverlight-api/</guid>
		<description><![CDATA[Being able to flash a shape on the map is a nice usability feature in GIS applications to relate shapes on the map to attributes in a data table or data grid. Also, most GIS users have gotten used to the feature in ArcMAP. I had written up an extension method to the Graphic class [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=viswaug.wordpress.com&blog=1059993&post=550&subd=viswaug&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Being able to flash a shape on the map is a nice usability feature in GIS applications to relate shapes on the map to attributes in a data table or data grid. Also, most GIS users have gotten used to the feature in ArcMAP. I had written up an extension method to the Graphic class in the <a href="http://resources.esri.com/arcgisserver/apis/silverlight/" target="_blank">ESRI Silverlight API</a> to be able to do this easily with a simple function call. Here is the code for the extension method.</p>
<div style="font-size:10pt;background:black;color:white;font-family:inconsolata;">
<p style="margin:0;">        <span style="color:#ff8040;">public</span> <span style="color:#ff8040;">static</span> <span style="color:#ff8040;">void</span> Flash( <span style="color:#ff8040;">this</span> <span style="color:#ffff9b;">Graphic</span> graphic )</p>
<p style="margin:0;">        {</p>
<p style="margin:0;">            Flash( graphic, <span style="color:yellow;">200</span>, <span style="color:yellow;">10</span> );</p>
<p style="margin:0;">        }</p>
<p style="margin:0;"> </p>
<p style="margin:0;">        <span style="color:#ff8040;">public</span> <span style="color:#ff8040;">static</span> <span style="color:#ff8040;">void</span> Flash( <span style="color:#ff8040;">this</span> <span style="color:#ffff9b;">Graphic</span> graphic, <span style="color:#ff8040;">double</span> milliseconds, <span style="color:#ff8040;">int</span> repeat )</p>
<p style="margin:0;">        {</p>
<p style="margin:0;">            <span style="color:#ff8040;">int</span> count <span style="color:aqua;">=</span> <span style="color:yellow;">1</span>;</p>
<p style="margin:0;">            repeat = repeat * 2;</p>
<p style="margin:0;">            <span style="color:#ffff9b;">Symbol</span> tempSymbol <span style="color:aqua;">=</span> graphic<span style="color:aqua;">.</span>Symbol;</p>
<p style="margin:0;">            <span style="color:#ffff9b;">Storyboard</span> storyboard <span style="color:aqua;">=</span> <span style="color:#ff8040;">new</span> <span style="color:#ffff9b;">Storyboard</span>();</p>
<p style="margin:0;">            storyboard<span style="color:aqua;">.</span>Duration <span style="color:aqua;">=</span> <span style="color:#ffff9b;">TimeSpan</span><span style="color:aqua;">.</span>FromMilliseconds( milliseconds );</p>
<p style="margin:0;">            graphic<span style="color:aqua;">.</span>Symbol <span style="color:aqua;">=</span> <span style="color:#ff8040;">null</span>;</p>
<p style="margin:0;">            storyboard<span style="color:aqua;">.</span>Completed <span style="color:aqua;">+=</span> ( sender, e ) <span style="color:aqua;">=&gt;</span></p>
<p style="margin:0;">            {</p>
<p style="margin:0;">                <span style="color:#ff8040;">if</span>( count <span style="color:aqua;">%</span> <span style="color:yellow;">2</span> <span style="color:aqua;">==</span> <span style="color:yellow;">1</span> )</p>
<p style="margin:0;">                    graphic<span style="color:aqua;">.</span>Symbol <span style="color:aqua;">=</span> tempSymbol;</p>
<p style="margin:0;">                <span style="color:#ff8040;">else</span></p>
<p style="margin:0;">                    graphic<span style="color:aqua;">.</span>Symbol <span style="color:aqua;">=</span> <span style="color:#ff8040;">null</span>;</p>
<p style="margin:0;"> </p>
<p style="margin:0;">                <span style="color:#ff8040;">if</span>( count <span style="color:aqua;">&lt;=</span> repeat )</p>
<p style="margin:0;">                    storyboard<span style="color:aqua;">.</span>Begin();</p>
<p style="margin:0;"> </p>
<p style="margin:0;">                count<span style="color:aqua;">++</span>;</p>
<p style="margin:0;">            };</p>
<p style="margin:0;">            storyboard<span style="color:aqua;">.</span>Begin();</p>
<p style="margin:0;">        }</p>
<p> </p></div>
<p align="left">After including the above extension method in your project just call the ‘Flash’ method on the graphic object</p>
<p align="center"><span style="color:#800000;"><strong>graphic.Flash();</strong></span></p>
<p>Note that I am using the <a href="http://msdn.microsoft.com/en-us/library/system.windows.media.animation.storyboard(VS.95).aspx" target="_blank">Storyboard</a> as the timer which is preferred over of the <a href="http://msdn.microsoft.com/en-us/library/system.windows.threading.dispatchertimer.aspx" target="_blank">DispatcherTimer</a>.</p>
<p>This has also been added to the <a href="http://esrislcontrib.codeplex.com/" target="_blank">ESRI Silverlight API Contrib</a> project <a href="http://esrislcontrib.codeplex.com/SourceControl/changeset/view/52946#853894" target="_blank">here</a>.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/viswaug.wordpress.com/550/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/viswaug.wordpress.com/550/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/viswaug.wordpress.com/550/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/viswaug.wordpress.com/550/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/viswaug.wordpress.com/550/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/viswaug.wordpress.com/550/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/viswaug.wordpress.com/550/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/viswaug.wordpress.com/550/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/viswaug.wordpress.com/550/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/viswaug.wordpress.com/550/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=viswaug.wordpress.com&blog=1059993&post=550&subd=viswaug&ref=&feed=1" /></div><img src="http://feeds.feedburner.com/~r/Vish/~4/JZffFa3NZlM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://viswaug.wordpress.com/2009/05/28/flashing-a-graphic-in-the-esri-silverlight-api/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cde0d8ca836f3c2d78087cb8a5bd593e?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">viswaug</media:title>
		</media:content>
	<feedburner:origLink>http://viswaug.wordpress.com/2009/05/28/flashing-a-graphic-in-the-esri-silverlight-api/</feedburner:origLink></item>
		<item>
		<title>ESRI SL API Contrib – Point in polygon &amp; buffer point for the WGS84 spatial reference system</title>
		<link>http://feedproxy.google.com/~r/Vish/~3/l3qJOtZpwz0/</link>
		<comments>http://viswaug.wordpress.com/2009/05/27/esri-sl-api-contrib-point-in-polygon-buffer-point-for-the-wgs84-spatial-reference-system/#comments</comments>
		<pubDate>Wed, 27 May 2009 03:44:09 +0000</pubDate>
		<dc:creator>viswaug</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://viswaug.wordpress.com/2009/05/27/esri-sl-api-contrib-point-in-polygon-buffer-point-for-the-wgs84-spatial-reference-system/</guid>
		<description><![CDATA[I just added some utility methods to the ESRI Silverlight API Contrib project that do the following

Determine if a point is inside a polygon. Find the code here
Buffer a point in the WGS84 spatial reference system. Find the code here
Midpoint of two points in the WGS84 spatial reference system. Find the code here
Find the end [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=viswaug.wordpress.com&blog=1059993&post=548&subd=viswaug&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I just added some utility methods to the <a href="http://esrislcontrib.codeplex.com/" target="_blank">ESRI Silverlight API Contrib</a> project that do the following</p>
<ol>
<li>Determine if a point is inside a polygon. <a href="http://esrislcontrib.codeplex.com/SourceControl/changeset/view/52700#842145" target="_blank">Find the code here</a></li>
<li>Buffer a point in the WGS84 spatial reference system. <a href="http://esrislcontrib.codeplex.com/SourceControl/changeset/view/52700#842144" target="_blank">Find the code here</a></li>
<li>Midpoint of two points in the WGS84 spatial reference system. <a href="http://esrislcontrib.codeplex.com/SourceControl/changeset/view/52700#842144" target="_blank">Find the code here</a></li>
<li>Find the end point given an origin point with a distance and an angle. <a href="http://esrislcontrib.codeplex.com/SourceControl/changeset/view/52700#842144" target="_blank">Find the code here</a></li>
</ol>
<p>The above methods should help you avoid some HTTP requests back to the ArcGIS Server to perform these spatial operations. Thus reducing the load on your ArcGIS Server and also increasing the performance of your web application by sticking to <a href="http://stevesouders.com/hpws/rules.php" target="_blank">Steve Souders’s performance rule number one</a> even though this is a Silverlight client.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/viswaug.wordpress.com/548/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/viswaug.wordpress.com/548/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/viswaug.wordpress.com/548/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/viswaug.wordpress.com/548/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/viswaug.wordpress.com/548/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/viswaug.wordpress.com/548/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/viswaug.wordpress.com/548/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/viswaug.wordpress.com/548/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/viswaug.wordpress.com/548/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/viswaug.wordpress.com/548/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=viswaug.wordpress.com&blog=1059993&post=548&subd=viswaug&ref=&feed=1" /></div><img src="http://feeds.feedburner.com/~r/Vish/~4/l3qJOtZpwz0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://viswaug.wordpress.com/2009/05/27/esri-sl-api-contrib-point-in-polygon-buffer-point-for-the-wgs84-spatial-reference-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cde0d8ca836f3c2d78087cb8a5bd593e?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">viswaug</media:title>
		</media:content>
	<feedburner:origLink>http://viswaug.wordpress.com/2009/05/27/esri-sl-api-contrib-point-in-polygon-buffer-point-for-the-wgs84-spatial-reference-system/</feedburner:origLink></item>
		<item>
		<title>Loading Shapefiles into the ESRI Silverlight map without uploading to the server</title>
		<link>http://feedproxy.google.com/~r/Vish/~3/Bu6fm7IfGRc/</link>
		<comments>http://viswaug.wordpress.com/2009/05/24/loading-shapefiles-into-the-esri-silverlight-map-without-uploading-to-the-server/#comments</comments>
		<pubDate>Sun, 24 May 2009 00:46:57 +0000</pubDate>
		<dc:creator>viswaug</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://viswaug.wordpress.com/2009/05/24/loading-shapefiles-into-the-esri-silverlight-map-without-uploading-to-the-server/</guid>
		<description><![CDATA[I have been working with Silverlight and in particular the ESRI Silverlight API recently and have been having a lot of fun with it. It is a refreshing change from working with the HTML/CSS/JS combo, even though I do miss the the simplicity and power of HTML/CSS/JS a lot of times. Silverlight brings with it [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=viswaug.wordpress.com&blog=1059993&post=537&subd=viswaug&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I have been working with Silverlight and in particular the <a href="http://resources.esri.com/arcgisserver/apis/silverlight/" target="_blank">ESRI Silverlight API</a> recently and have been having a lot of fun with it. It is a refreshing change from working with the HTML/CSS/JS combo, even though I do miss the the simplicity and power of HTML/CSS/JS a lot of times. Silverlight brings with it a lot of capabilities that wasn’t possible with JavaScript. These capabilities in Silverlight can help simplify some of the workflows and increase the usability of some of the features needed in a lot of the web-based mapping applications. Like for example, one of the common requirements is for users to be able to view Shapefiles on their machines on the web maps.</p>
<p>With the JavaScript APIs, the only way this could be achieved was to upload the Shapefiles to the web server and then render the shapefiles either as images on the server that are sent down to the browser or as SVG/VML in the browser. Well, this is where the power of Silverlight helps us simplify things by allowing us to open and read the shapefiles in the Silverlight plug-in of the browser itself. This eliminates the need for uploading the shapefiles to the server and thus simplify the workflow involved.</p>
<p>There are a lot more things that the Silverlight plug-in is capable of that a lot of web-mapping applications can use. The <a href="http://resources.esri.com/arcgisserver/apis/silverlight/" target="_blank">ESRI Silverlight API</a> packs a lot of punch but there are still a lot more holes to be filled. So, to help fill those holes, I have started an open-source project on <a href="http://www.codeplex.com/" target="_blank">CodePlex</a> where I have uploaded some of the useful things that I have been working on. Please find the link to the project below.</p>
<p><a href="http://esrislcontrib.codeplex.com/"></a><a href="http://esrislcontrib.codeplex.com/"></a></p>
<h3 align="center"><a href="http://esrislcontrib.codeplex.com/" target="_blank">ESRI Silverlight API Contrib</a></h3>
</p>
<p><strong>The project currently contains the following features.</strong> </p>
<p>1) A custom GeoRSS layer type that can be added to the ESRI Silverlight API map. </p>
<p>2) An custom map layer where the image is created dynamically in the browser itself. The current layer regenerates the image for the layer multiples times a second to simulate ripples on the map. </p>
<p>3) Utility classes that will help users load shapefiles from their computer directly on to the Silverlight API map without uploading the shapefile to the server</p>
<p>&#160;</p>
<p>Please download and use the project as you see fit. Even better, you can sign-up as a contributor and help grow the project and the codebase. I also welcome any and all inputs on other ideas for new features that you might want to see added or critiques of the current codebase.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/viswaug.wordpress.com/537/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/viswaug.wordpress.com/537/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/viswaug.wordpress.com/537/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/viswaug.wordpress.com/537/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/viswaug.wordpress.com/537/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/viswaug.wordpress.com/537/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/viswaug.wordpress.com/537/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/viswaug.wordpress.com/537/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/viswaug.wordpress.com/537/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/viswaug.wordpress.com/537/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=viswaug.wordpress.com&blog=1059993&post=537&subd=viswaug&ref=&feed=1" /></div><img src="http://feeds.feedburner.com/~r/Vish/~4/Bu6fm7IfGRc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://viswaug.wordpress.com/2009/05/24/loading-shapefiles-into-the-esri-silverlight-map-without-uploading-to-the-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cde0d8ca836f3c2d78087cb8a5bd593e?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">viswaug</media:title>
		</media:content>
	<feedburner:origLink>http://viswaug.wordpress.com/2009/05/24/loading-shapefiles-into-the-esri-silverlight-map-without-uploading-to-the-server/</feedburner:origLink></item>
		<item>
		<title>Silverlight databinding limitations</title>
		<link>http://feedproxy.google.com/~r/Vish/~3/PLgfv5PlvF0/</link>
		<comments>http://viswaug.wordpress.com/2009/04/14/silverlight-databinding-limitations-2/#comments</comments>
		<pubDate>Tue, 14 Apr 2009 00:16:09 +0000</pubDate>
		<dc:creator>viswaug</dc:creator>
				<category><![CDATA[ESRI]]></category>
		<category><![CDATA[GIS]]></category>
		<category><![CDATA[Silverlight]]></category>

		<guid isPermaLink="false">http://viswaug.wordpress.com/2009/04/14/silverlight-databinding-limitations-2/</guid>
		<description><![CDATA[Target of databinding in Silverlight “HAS” to be a “FrameworkElement” and not just a “DependencyObject” like in WPF. I am not sure that there is a reason why databinding to “DependencyObject”s in Silverlight is explicitly omitted by Microsoft. Seems like it might be an oversight. But even after many people have complained about it in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=viswaug.wordpress.com&blog=1059993&post=536&subd=viswaug&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Target of databinding in Silverlight “HAS” to be a “<a href="http://msdn.microsoft.com/en-us/library/system.windows.dependencyobject(VS.95).aspx" target="_blank">FrameworkElement</a>” and not just a “<a href="http://msdn.microsoft.com/en-us/library/system.windows.dependencyobject(VS.95).aspx" target="_blank">DependencyObject</a>” like in WPF. I am not sure that there is a reason why databinding to “<a href="http://msdn.microsoft.com/en-us/library/system.windows.dependencyobject(VS.95).aspx" target="_blank">DependencyObject</a>”s in Silverlight is explicitly omitted by Microsoft. Seems like it might be an oversight. But even after many people have complained about it in the forums, the databinding to “<a href="http://msdn.microsoft.com/en-us/library/system.windows.dependencyobject(VS.95).aspx" target="_blank">DependencyObject</a>”s feature doesn’t seem to be included in the beta version of the latest Silverlight 3 library. </p>
<p>So, what does that mean&quot;? Where does it really become a limitation? Well, it really does limit our options when trying to databind values to the “<a href="http://msdn.microsoft.com/en-us/library/system.windows.media.transform(VS.95).aspx" target="_blank">Transform</a>” classes like the “<a href="http://msdn.microsoft.com/en-us/library/system.windows.media.rotatetransform(VS.95).aspx" target="_blank">RotateTransform</a>”, “<a href="http://msdn.microsoft.com/en-us/library/system.windows.media.scaletransform(VS.95).aspx" target="_blank">ScaleTransform</a>”, “<a href="http://msdn.microsoft.com/en-us/library/system.windows.media.skewtransform(VS.95).aspx" target="_blank">SkewTransform</a>”, “<a href="http://msdn.microsoft.com/en-us/library/system.windows.media.translatetransform(VS.95).aspx" target="_blank">TranslateTransform</a>” etc. Let’s say that you are symbolizing your points as an <a href="http://msdn.microsoft.com/en-us/library/system.windows.shapes.ellipse(VS.95).aspx" target="_blank">Ellipse</a> or a <a href="http://msdn.microsoft.com/en-us/library/system.windows.shapes.rectangle(VS.95).aspx" target="_blank">Rectangle</a>, and you want to be able to size your symbols based on some value in the <a href="http://resources.esri.com/help/9.3/arcgisserver/apis/silverlight/apiref/ESRI.ArcGIS~ESRI.ArcGIS.Graphic~Attributes.html" target="_blank">Attributes</a> collection of your <a href="http://resources.esri.com/help/9.3/arcgisserver/apis/silverlight/apiref/ESRI.ArcGIS~ESRI.ArcGIS.Graphic.html" target="_blank">Graphic</a>. The best way to do this would be to apply a <a href="http://msdn.microsoft.com/en-us/library/system.windows.media.scaletransform(VS.95).aspx" target="_blank">ScaleTransform</a> on the <a href="http://msdn.microsoft.com/en-us/library/system.windows.shapes.ellipse(VS.95).aspx" target="_blank">Ellipse</a> or <a href="http://msdn.microsoft.com/en-us/library/system.windows.shapes.rectangle(VS.95).aspx" target="_blank">Rectangle</a> (on the <a href="http://msdn.microsoft.com/en-us/library/system.windows.uielement.rendertransform(VS.95).aspx" target="_blank">RenderTransform</a> property) and databind the attribute values to the <a href="http://msdn.microsoft.com/en-us/library/system.windows.media.scaletransform.scalex(VS.95).aspx" target="_blank">ScaleX</a> and the <a href="http://msdn.microsoft.com/en-us/library/system.windows.media.scaletransform.scaley(VS.95).aspx" target="_blank">ScaleY</a> dependency properties of the <a href="http://msdn.microsoft.com/en-us/library/system.windows.media.scaletransform_members(VS.95).aspx" target="_blank">ScaleTransform</a>. But since the <a href="http://msdn.microsoft.com/en-us/library/system.windows.media.scaletransform(VS.95).aspx" target="_blank">ScaleTransform</a> is only a <a href="http://msdn.microsoft.com/en-us/library/system.windows.dependencyobject(VS.95).aspx" target="_blank">DependencyObject</a> and not a FrameworkElement, we cannot bind to the <a href="http://msdn.microsoft.com/en-us/library/system.windows.media.scaletransform.scalex(VS.95).aspx" target="_blank">ScaleX</a> and <a href="http://msdn.microsoft.com/en-us/library/system.windows.media.scaletransform.scaley(VS.95).aspx" target="_blank">ScaleY</a> properties of the <a href="http://msdn.microsoft.com/en-us/library/system.windows.media.scaletransform(VS.95).aspx" target="_blank">ScaleTransform</a>. This scenario can easily be solved by binding to the <a href="http://msdn.microsoft.com/en-us/library/system.windows.frameworkelement.width(VS.95).aspx" target="_blank">Width</a> and <a href="http://msdn.microsoft.com/en-us/library/system.windows.frameworkelement.height(VS.95).aspx" target="_blank">Height</a> property of the <a href="http://msdn.microsoft.com/en-us/library/system.windows.shapes.rectangle(VS.95).aspx" target="_blank">Rectangle</a> or <a href="http://msdn.microsoft.com/en-us/library/system.windows.shapes.ellipse(VS.95).aspx" target="_blank">Ellipse</a>. But there are a lot of other scenarios that cannot be overcome as easily. Like for example, you will not be able to label along a line by databinding to a <a href="http://msdn.microsoft.com/en-us/library/system.windows.media.rotatetransform(VS.95).aspx" target="_blank">RotateTransform</a> on a <a href="http://msdn.microsoft.com/en-us/library/system.windows.controls.textblock(VS.95).aspx" target="_blank">TextBlock</a> for example. Also in the <a href="http://resources.esri.com/arcgisserver/apis/silverlight/" target="_blank">ESRI Silverlight API</a>, we cannot apply a <a href="http://resources.esri.com/help/9.3/arcgisserver/apis/silverlight/apiref/ESRI.ArcGIS~ESRI.ArcGIS.Symbols.TextSymbol.html" target="_blank">TextSymbol</a> to a <a href="http://resources.esri.com/help/9.3/arcgisserver/apis/silverlight/apiref/ESRI.ArcGIS~ESRI.ArcGIS.Geometry.Polyline.html" target="_blank">polyline</a> or <a href="http://resources.esri.com/help/9.3/arcgisserver/apis/silverlight/apiref/ESRI.ArcGIS~ESRI.ArcGIS.Geometry.Polygon.html" target="_blank">polygon</a> geometry.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/viswaug.wordpress.com/536/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/viswaug.wordpress.com/536/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/viswaug.wordpress.com/536/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/viswaug.wordpress.com/536/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/viswaug.wordpress.com/536/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/viswaug.wordpress.com/536/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/viswaug.wordpress.com/536/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/viswaug.wordpress.com/536/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/viswaug.wordpress.com/536/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/viswaug.wordpress.com/536/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=viswaug.wordpress.com&blog=1059993&post=536&subd=viswaug&ref=&feed=1" /></div><img src="http://feeds.feedburner.com/~r/Vish/~4/PLgfv5PlvF0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://viswaug.wordpress.com/2009/04/14/silverlight-databinding-limitations-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cde0d8ca836f3c2d78087cb8a5bd593e?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">viswaug</media:title>
		</media:content>
	<feedburner:origLink>http://viswaug.wordpress.com/2009/04/14/silverlight-databinding-limitations-2/</feedburner:origLink></item>
		<item>
		<title>Reason why JSON output is going to be much faster in ArcGIS Server 9.4</title>
		<link>http://feedproxy.google.com/~r/Vish/~3/inz5TNzk8-Y/</link>
		<comments>http://viswaug.wordpress.com/2009/04/02/reason-why-json-output-is-going-to-be-much-faster-in-arcgis-server-94/#comments</comments>
		<pubDate>Thu, 02 Apr 2009 02:50:03 +0000</pubDate>
		<dc:creator>viswaug</dc:creator>
				<category><![CDATA[ESRI]]></category>

		<guid isPermaLink="false">http://viswaug.wordpress.com/2009/04/02/reason-why-json-output-is-going-to-be-much-faster-in-arcgis-server-94/</guid>
		<description><![CDATA[At this year’s ESRI dev summit, ESRI was showing off how the performance of the JSON output generation by the ArcGIS Server REST API is going to be much faster. I was curious as to how this could be since it is the same JSON that is being generated. The answer turned out to be [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=viswaug.wordpress.com&blog=1059993&post=534&subd=viswaug&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>At this year’s ESRI dev summit, ESRI was showing off how the performance of the JSON output generation by the ArcGIS Server REST API is going to be much faster. I was curious as to how this could be since it is the same JSON that is being generated. The answer turned out to be pretty simple. Here is how JSON is generated today</p>
<p align="center"><a href="http://viswaug.files.wordpress.com/2009/04/93jsonmessaging.png"><img title="93JSONmessaging" style="border-right:0;border-top:0;display:inline;border-left:0;border-bottom:0;" height="377" alt="93JSONmessaging" src="http://viswaug.files.wordpress.com/2009/04/93jsonmessaging-thumb.png?w=644&#038;h=377" width="644" border="0" /></a> </p>
<p>As you can see from the image above, at 9.3 the ArcGIS Server REST API does the work of reading (deserialize) the JSON sent in from the client (browser) over HTTP and converts (serialize) that appropriately into a SOAP message. This SOAP message is then sent over DCOM to the ArcGIS Server 9.3. The ArcGIS Server then converts the SOAP messages to ArcObjects types and does the work it needs to do. When the work is done, the ArcObjects types are converted back to SOAP and sent back to the REST API. The REST API then converts the SOAP types back to JSON and then sends the JSON results back to the client(browser).</p>
<p>In the 9.4, the JSON is going to be generated at the ArcGIS Server itself and thus avoiding a lot of serialization &amp; deserialization to and from SOAP / JSON. Avoiding these intermediary data conversion steps are the primary reason for the increased performance of JSON output in 9.4.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/viswaug.wordpress.com/534/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/viswaug.wordpress.com/534/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/viswaug.wordpress.com/534/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/viswaug.wordpress.com/534/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/viswaug.wordpress.com/534/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/viswaug.wordpress.com/534/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/viswaug.wordpress.com/534/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/viswaug.wordpress.com/534/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/viswaug.wordpress.com/534/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/viswaug.wordpress.com/534/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=viswaug.wordpress.com&blog=1059993&post=534&subd=viswaug&ref=&feed=1" /></div><img src="http://feeds.feedburner.com/~r/Vish/~4/inz5TNzk8-Y" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://viswaug.wordpress.com/2009/04/02/reason-why-json-output-is-going-to-be-much-faster-in-arcgis-server-94/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cde0d8ca836f3c2d78087cb8a5bd593e?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">viswaug</media:title>
		</media:content>

		<media:content url="http://viswaug.files.wordpress.com/2009/04/93jsonmessaging-thumb.png" medium="image">
			<media:title type="html">93JSONmessaging</media:title>
		</media:content>
	<feedburner:origLink>http://viswaug.wordpress.com/2009/04/02/reason-why-json-output-is-going-to-be-much-faster-in-arcgis-server-94/</feedburner:origLink></item>
		<item>
		<title>GIS Standards gone crazy (EPSG especially)</title>
		<link>http://feedproxy.google.com/~r/Vish/~3/ZewCZIAyr0E/</link>
		<comments>http://viswaug.wordpress.com/2009/04/01/gis-standards-gone-crazy-epsg-especially/#comments</comments>
		<pubDate>Wed, 01 Apr 2009 03:54:15 +0000</pubDate>
		<dc:creator>viswaug</dc:creator>
				<category><![CDATA[GIS]]></category>

		<guid isPermaLink="false">http://viswaug.wordpress.com/2009/04/01/gis-standards-gone-crazy-epsg-especially/</guid>
		<description><![CDATA[A couple of weeks ago I had written about how the different axis ordering that can be defined in EPSG coordinate system standards makes the lives of any GIS software provider that wants to implement these standards a whole lot harder. Today, I came across some information that really doesn&#8217;t make any sense to me. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=viswaug.wordpress.com&blog=1059993&post=530&subd=viswaug&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>A couple of weeks ago <a href="http://viswaug.wordpress.com/2009/03/15/reversed-co-ordinate-axis-order-for-epsg4326-vs-crs84-when-requesting-wms-130-images/" target="_blank">I had written about</a> how the different axis ordering that can be defined in EPSG coordinate system standards makes the lives of any GIS software provider that wants to implement these standards a whole lot harder. Today, I came across some information that really doesn&#8217;t make any sense to me. <a href="http://www.sharpgis.net/post/2008/05/SphericalWeb-Mercator-EPSG-code-3785.aspx" target="_blank">Previously Morten had written about</a> EPSG finally getting around to adding the web mercator to their standards with the EPSG code &#8220;3785&#8243;. But in February, EPSG decided to change the EPSG code from &#8220;3785&#8243; to &#8220;3857&#8243;. Look at the change request info in the image below. That information can be obtained at <a href="http://www.epsg-registry.org">http://www.epsg-registry.org</a>. </p>
<p align="center"><a href="http://viswaug.files.wordpress.com/2009/04/epsg3857.png"><img height="247" alt="EPSG3857" src="http://viswaug.files.wordpress.com/2009/04/epsg3857-thumb.png?w=640&#038;h=247" width="640"></a> </p>
<p>&nbsp;</p>
<p>Also, as you might have already heard, <a href="http://www.opengeospatial.org/standards/kml" target="_blank">OGC had accepted KML as an OGC standard sometime last year</a>. The KML standard includes its own method of defining styles/symbology for 2D &amp; 3D features along with other things. But OGC in fact already had its own existing standards for defining 2D feature styles/symbology in map layers called the <a href="http://www.opengeospatial.org/standards/sld" target="_blank">Styled Layer Descriptor (SLD)</a>. </p>
<p>Now, the OGC has two standards to define features styles in XML which really kind of makes it a double standard.</p>
<p><a href="http://www.galdosinc.com/archives/498" target="_blank">Now, from what I read</a>, the OGC is working on combining both those standards into one. Which is going to be a tough job since there are so many overlaps between KML and other existing OGC standards.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/viswaug.wordpress.com/530/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/viswaug.wordpress.com/530/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/viswaug.wordpress.com/530/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/viswaug.wordpress.com/530/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/viswaug.wordpress.com/530/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/viswaug.wordpress.com/530/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/viswaug.wordpress.com/530/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/viswaug.wordpress.com/530/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/viswaug.wordpress.com/530/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/viswaug.wordpress.com/530/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=viswaug.wordpress.com&blog=1059993&post=530&subd=viswaug&ref=&feed=1" /></div><img src="http://feeds.feedburner.com/~r/Vish/~4/ZewCZIAyr0E" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://viswaug.wordpress.com/2009/04/01/gis-standards-gone-crazy-epsg-especially/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cde0d8ca836f3c2d78087cb8a5bd593e?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">viswaug</media:title>
		</media:content>

		<media:content url="http://viswaug.files.wordpress.com/2009/04/epsg3857-thumb.png" medium="image">
			<media:title type="html">EPSG3857</media:title>
		</media:content>
	<feedburner:origLink>http://viswaug.wordpress.com/2009/04/01/gis-standards-gone-crazy-epsg-especially/</feedburner:origLink></item>
		<item>
		<title>Lack of good transparency support in Silverlight and what it means to online mapping apps</title>
		<link>http://feedproxy.google.com/~r/Vish/~3/NHqyioCI2-0/</link>
		<comments>http://viswaug.wordpress.com/2009/04/01/lack-of-good-transparency-support-in-silverlight-and-what-it-means-to-online-mapping-maps/#comments</comments>
		<pubDate>Wed, 01 Apr 2009 02:45:34 +0000</pubDate>
		<dc:creator>viswaug</dc:creator>
				<category><![CDATA[ESRI]]></category>
		<category><![CDATA[GIS]]></category>
		<category><![CDATA[Silverlight]]></category>

		<guid isPermaLink="false">http://viswaug.wordpress.com/2009/04/01/lack-of-good-transparency-support-in-silverlight-and-what-it-means-to-online-mapping-maps/</guid>
		<description><![CDATA[The support for transparency in PNG images in Silverlight is to say the least really bad. Here is what the Microsoft docs says about PNG transparency support in Silverlight
Silverlight does not support all possible color depths that are included in the PNG specification. The following are the PNG color depths supported in Silverlight:

Indexed color: 1-bit, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=viswaug.wordpress.com&blog=1059993&post=526&subd=viswaug&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>The support for transparency in PNG images in Silverlight is to say the least really bad. Here is <a href="http://msdn.microsoft.com/en-us/library/system.windows.media.imaging.bitmapimage(VS.95).aspx" target="_blank">what the Microsoft docs says</a> about PNG transparency support in Silverlight</p>
<blockquote><p>Silverlight does not support all possible color depths that are included in the PNG specification. The following are the PNG color depths supported in Silverlight:</p>
<ul>
<li>Indexed color: 1-bit, 4-bit, or 8-bit color depth (per channel).</li>
<li>Truecolor: 24-bit color depth, or 32-bit color depth (per channel) for truecolor plus alpha.</li>
</ul>
<p>Notably, gray scale (with or without alpha), and 64-bit truecolor, are not supported in Silverlight.</p></blockquote>
<p>Note that they don’t mention anything about the support for 1, 2, 4 and 8 bit PNGs. This creates some problems when using the <a href="http://resources.esri.com/arcgisserver/apis/silverlight/" target="_blank">ESRI Silverlight API</a> and you might what to keep your eye out for it and pay good attention to how your map caches are being generated. Look at the results when I overlay ArcGIS Online’s <a href="http://server.arcgisonline.com/ArcGIS/rest/services/Reference/ESRI_Transportation_World_2D/MapServer" target="_blank">Transportation layer</a> on top of the <a href="http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_Imagery_World_2D/MapServer" target="_blank">Imagery layer</a> in the ESRI Silverlight maps.</p>
<blockquote>
<div style="font-size:10pt;background:black;color:white;font-family:inconsolata;">
<p style="margin:0;"><span style="color:#ff8040;">&lt;esri:Map </span><span style="color:#ffff9b;">x:Name</span><span style="color:#ff8040;">=</span>&#8220;MyMap&#8221;<span style="color:#ff8040;"> </span><span style="color:#ffff9b;">Grid.Row</span><span style="color:#ff8040;">=</span>&#8220;1&#8243;<span style="color:#ff8040;"> </span><span style="color:#ffff9b;">Grid.Column</span><span style="color:#ff8040;">=</span>&#8220;2&#8243;<span style="color:#ff8040;">&gt;</span></p>
<p style="margin:0;"><span style="color:#ff8040;"> &lt;esri:Map.Layers&gt;</span></p>
<p style="margin:0;"><span style="color:#ff8040;"> &lt;esri:ArcGISTiledMapServiceLayer</span></p>
<p style="margin:0;"><span style="color:#ff8040;"> </span><span style="color:#ffff9b;">ID</span><span style="color:#ff8040;">=</span>&#8220;StreetMapLayer&#8221;</p>
<p style="margin:0;"><span style="color:#ff8040;"> </span><span style="color:#ffff9b;">Url</span><span style="color:#ff8040;">=</span>&#8220;http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_Imagery_World_2D/MapServer&#8221;<span style="color:#ff8040;">/&gt;</span></p>
<p style="margin:0;"><span style="color:#ff8040;"> &lt;esri:ArcGISTiledMapServiceLayer</span></p>
<p style="margin:0;"><span style="color:#ff8040;"> </span><span style="color:#ffff9b;">ID</span><span style="color:#ff8040;">=</span>&#8220;mapLayerTransportation&#8221;</p>
<p style="margin:0;"><span style="color:#ff8040;"> </span><span style="color:#ffff9b;">Url</span><span style="color:#ff8040;">=</span>&#8220;http://server.arcgisonline.com/ArcGIS/rest/services/Reference/ESRI_Transportation_World_2D/MapServer&#8221;<span style="color:#ff8040;">/&gt;</span></p>
<p style="margin:0;"><span style="color:#ff8040;"> &lt;/esri:Map.Layers&gt;</span></p>
<p style="margin:0;"><span style="color:#ff8040;">&lt;/esri:Map&gt;</span></p>
</div>
</blockquote>
<p>And here it what the map look like. As you can see, the the tile areas outside the continental US are grayed out.</p>
<p align="center"><a href="http://viswaug.files.wordpress.com/2009/04/transportation3.png"><img style="display:inline;border-width:0;" title="Transportation3" src="http://viswaug.files.wordpress.com/2009/04/transportation3-thumb.png?w=565&#038;h=482" border="0" alt="Transportation3" width="565" height="482" /></a></p>
<p>Also, <a href="http://silverlight.net/forums/t/73949.aspx" target="_blank">check out this Silverlight forum post</a> where <a href="http://www.sharpgis.net/" target="_blank">Morten</a> schools Microsoft about the issue mentioned above.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/viswaug.wordpress.com/526/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/viswaug.wordpress.com/526/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/viswaug.wordpress.com/526/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/viswaug.wordpress.com/526/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/viswaug.wordpress.com/526/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/viswaug.wordpress.com/526/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/viswaug.wordpress.com/526/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/viswaug.wordpress.com/526/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/viswaug.wordpress.com/526/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/viswaug.wordpress.com/526/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=viswaug.wordpress.com&blog=1059993&post=526&subd=viswaug&ref=&feed=1" /></div><img src="http://feeds.feedburner.com/~r/Vish/~4/NHqyioCI2-0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://viswaug.wordpress.com/2009/04/01/lack-of-good-transparency-support-in-silverlight-and-what-it-means-to-online-mapping-maps/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cde0d8ca836f3c2d78087cb8a5bd593e?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">viswaug</media:title>
		</media:content>

		<media:content url="http://viswaug.files.wordpress.com/2009/04/transportation3-thumb.png" medium="image">
			<media:title type="html">Transportation3</media:title>
		</media:content>
	<feedburner:origLink>http://viswaug.wordpress.com/2009/04/01/lack-of-good-transparency-support-in-silverlight-and-what-it-means-to-online-mapping-maps/</feedburner:origLink></item>
		<item>
		<title>Generics support in XAML</title>
		<link>http://feedproxy.google.com/~r/Vish/~3/5iCaw-XX18s/</link>
		<comments>http://viswaug.wordpress.com/2009/03/31/generics-support-in-xaml/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 03:30:19 +0000</pubDate>
		<dc:creator>viswaug</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Silverlight]]></category>

		<guid isPermaLink="false">http://viswaug.wordpress.com/2009/03/31/generics-support-in-xaml/</guid>
		<description><![CDATA[Support for creating generic classes in XAML is still lacking. The only XAML element that lets you specify the generic type argument is only the root element of the user control. I couldn’t find any way to create an instance of a generic class in XAML yet. One had a class called “NameValue” in the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=viswaug.wordpress.com&blog=1059993&post=519&subd=viswaug&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Support for creating generic classes in XAML is still lacking. The only XAML element that lets you specify the generic type argument is only the root element of the user control. I couldn’t find any way to create an instance of a generic class in XAML yet. One had a class called “NameValue” in the project and wanted to be able to create an <a href="http://msdn.microsoft.com/en-us/library/ms668604(VS.95).aspx" target="_blank">ObservableCollection&lt;NameValue&gt;</a> in XAML. The only way I was able to do it in XAML was to create another empty class called NameValueCollection that inherited from <a href="http://msdn.microsoft.com/en-us/library/ms668604(VS.95).aspx" target="_blank">ObservableCollection&lt;NameValue&gt;</a> and then create an instance of the “NameValueCollection” in XAML instead.</p>
<blockquote><p>public class NameValueCollection : ObservableCollection&lt;NameValue&gt;     <br />{      <br />}</p>
</blockquote>
<p>I think one way generics could be supported in XAML is by creating new <a href="http://msdn.microsoft.com/en-us/library/ms747254.aspx" target="_blank">MarkupExtensions</a> for that purpose.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/viswaug.wordpress.com/519/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/viswaug.wordpress.com/519/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/viswaug.wordpress.com/519/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/viswaug.wordpress.com/519/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/viswaug.wordpress.com/519/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/viswaug.wordpress.com/519/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/viswaug.wordpress.com/519/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/viswaug.wordpress.com/519/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/viswaug.wordpress.com/519/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/viswaug.wordpress.com/519/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=viswaug.wordpress.com&blog=1059993&post=519&subd=viswaug&ref=&feed=1" /></div><img src="http://feeds.feedburner.com/~r/Vish/~4/5iCaw-XX18s" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://viswaug.wordpress.com/2009/03/31/generics-support-in-xaml/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cde0d8ca836f3c2d78087cb8a5bd593e?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">viswaug</media:title>
		</media:content>
	<feedburner:origLink>http://viswaug.wordpress.com/2009/03/31/generics-support-in-xaml/</feedburner:origLink></item>
		<item>
		<title>Avoid using properties called “Name” in your Silverlight classes</title>
		<link>http://feedproxy.google.com/~r/Vish/~3/oPzVG897kFU/</link>
		<comments>http://viswaug.wordpress.com/2009/03/31/avoid-using-properties-called-e2809cnamee2809d-in-your-silverlight-classes/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 03:04:17 +0000</pubDate>
		<dc:creator>viswaug</dc:creator>
				<category><![CDATA[Silverlight]]></category>

		<guid isPermaLink="false">http://viswaug.wordpress.com/2009/03/31/avoid-using-properties-called-e2809cnamee2809d-in-your-silverlight-classes/</guid>
		<description><![CDATA[This is something that I ran into a little while ago. I had a property called “Name” in one of my Silverlight classes that was getting created in XAML. When I created the class in XAML all the properties on the class got applied as set in XAML except for the “Name” property. As usual, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=viswaug.wordpress.com&blog=1059993&post=518&subd=viswaug&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>This is something that I ran into a little while ago. I had a property called “Name” in one of my <a href="http://www.Silverlight.net" target="_blank">Silverlight</a> classes that was getting created in XAML. When I created the class in XAML all the properties on the class got applied as set in XAML except for the “Name” property. As usual, I assumed I was doing something wrong and was trying to figure out where i messed up. After, trying to debug this for a while and loosing my self-esteem as a developer, I realized that <a href="http://www.Silverlight.net" target="_blank">Silverlight</a> just doesn’t like setting the property called “Name” in XAML. It works fine when you set it in code. It is just XAML that messed with my head for a little while there. So, avoid the mistake I made and retain some sanity.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/viswaug.wordpress.com/518/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/viswaug.wordpress.com/518/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/viswaug.wordpress.com/518/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/viswaug.wordpress.com/518/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/viswaug.wordpress.com/518/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/viswaug.wordpress.com/518/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/viswaug.wordpress.com/518/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/viswaug.wordpress.com/518/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/viswaug.wordpress.com/518/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/viswaug.wordpress.com/518/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=viswaug.wordpress.com&blog=1059993&post=518&subd=viswaug&ref=&feed=1" /></div><img src="http://feeds.feedburner.com/~r/Vish/~4/oPzVG897kFU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://viswaug.wordpress.com/2009/03/31/avoid-using-properties-called-e2809cnamee2809d-in-your-silverlight-classes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cde0d8ca836f3c2d78087cb8a5bd593e?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">viswaug</media:title>
		</media:content>
	<feedburner:origLink>http://viswaug.wordpress.com/2009/03/31/avoid-using-properties-called-e2809cnamee2809d-in-your-silverlight-classes/</feedburner:origLink></item>
	</channel>
</rss>
