<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Occasional Musings on GIS and Web technology</title>
	<atom:link href="http://arkblog.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://arkblog.wordpress.com</link>
	<description>This is a personal blog which talks about specific topics on developing web applications using ESRI Server technologies</description>
	<lastBuildDate>Wed, 28 Sep 2011 10:05:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='arkblog.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Occasional Musings on GIS and Web technology</title>
		<link>http://arkblog.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://arkblog.wordpress.com/osd.xml" title="Occasional Musings on GIS and Web technology" />
	<atom:link rel='hub' href='http://arkblog.wordpress.com/?pushpress=hub'/>
		<item>
		<title>New Sample : Swipe Tool</title>
		<link>http://arkblog.wordpress.com/2010/01/28/new-sample-swipe-tool/</link>
		<comments>http://arkblog.wordpress.com/2010/01/28/new-sample-swipe-tool/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 19:38:56 +0000</pubDate>
		<dc:creator>sathyaprasad</dc:creator>
				<category><![CDATA[HTML + Javscript + CSS]]></category>
		<category><![CDATA[JS API]]></category>
		<category><![CDATA[ArcGIS]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[css clip]]></category>
		<category><![CDATA[dojo]]></category>
		<category><![CDATA[ESRI]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[samples]]></category>
		<category><![CDATA[swipe]]></category>
		<category><![CDATA[swipe tool]]></category>
		<category><![CDATA[web mapping]]></category>

		<guid isPermaLink="false">http://arkblog.wordpress.com/?p=203</guid>
		<description><![CDATA[It&#8217;s been  a while since my last blog post thanks to Twitter.  This week I posted a new sample on the JavaScript Code Gallery (http://bit.ly/swipetool) called &#8220;Swipe Tool&#8221;. As the name suggests its a swipe tool and if you are familiar with ArcGIS Desktop or ArcGIS Explorer you know what this means, for other its [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arkblog.wordpress.com&amp;blog=1812069&amp;post=203&amp;subd=arkblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a rel="attachment wp-att-208" href="http://arkblog.wordpress.com/2010/01/28/new-sample-swipe-tool/sceenshot/"><img class="alignright size-medium wp-image-208" style="border:1px solid #ccc;" title="swipetool" src="http://arkblog.files.wordpress.com/2010/01/sceenshot.jpg?w=200&#038;h=100" alt="Swipe Tool in Action" width="200" height="100" /></a>It&#8217;s been  a while since my last blog post thanks to Twitter.  This week I posted a new sample on the JavaScript Code Gallery (<a href="http://bit.ly/swipetool" target="_blank">http://bit.ly/swipetool</a>) called &#8220;Swipe Tool&#8221;. As the name suggests its a swipe tool and if you are familiar with ArcGIS Desktop or ArcGIS Explorer you know what this means, for other its a way to see what underneath a layer. Can be used as a good comparison tool.</p>
<p>Check it out live : <a href="http://sathyaprasad.appspot.com/swipe.html" target="_blank">http://sathyaprasad.appspot.com/swipe.html</a></p>
<p><span id="more-203"></span>At first it might sound like not a big deal, but the fact is that no such tool existed till now for the ArcGIS JavaScript API (to best of my knowledge none exists for other JavaScript Mapping API&#8217;s too) makes it a big deal. After seeing the New York Times Flash based swipe tool application (<a href="http://www.nytimes.com/interactive/2010/01/14/world/20100114-haiti-imagery.html" target="_blank">link</a>) to see the after and before images of the recent crisis in Haiti, it was time to get a swipe tool for the JavaScript API developers.</p>
<p>Did I mention that this tool just uses JavaScript and CSS. Challenge was to make it perform, work on all supported browsers, configure to work with any layer (tiled or dynamic or graphics), have a decent UI (like a slider) and not make any extra map image requests and also allow users to zoom/pan while swiping (believe me this was a hard one).</p>
<p>I did go through the challenges one at a time and was able to get the tool to do all the things. Well you will not believe how simple the solution was. The thinking was all the images from the layers are on the map, just clip it.  CSS does support &#8220;clip&#8221; and this tool makes full use of that. Check out the code for more details.</p>
<p>Hope you like this tool and use it in your applications.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/arkblog.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/arkblog.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/arkblog.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/arkblog.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/arkblog.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/arkblog.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/arkblog.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/arkblog.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/arkblog.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/arkblog.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/arkblog.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/arkblog.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/arkblog.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/arkblog.wordpress.com/203/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arkblog.wordpress.com&amp;blog=1812069&amp;post=203&amp;subd=arkblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://arkblog.wordpress.com/2010/01/28/new-sample-swipe-tool/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d260507d6b4976d41f6d2d415aba9a6b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">truth</media:title>
		</media:content>

		<media:content url="http://arkblog.files.wordpress.com/2010/01/sceenshot.jpg?w=300" medium="image">
			<media:title type="html">swipetool</media:title>
		</media:content>
	</item>
		<item>
		<title>One year @ APL</title>
		<link>http://arkblog.wordpress.com/2009/11/16/one-year-apl/</link>
		<comments>http://arkblog.wordpress.com/2009/11/16/one-year-apl/#comments</comments>
		<pubDate>Mon, 16 Nov 2009 19:33:07 +0000</pubDate>
		<dc:creator>sathyaprasad</dc:creator>
				<category><![CDATA[ESRI]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[apl]]></category>
		<category><![CDATA[awesome]]></category>

		<guid isPermaLink="false">http://arkblog.wordpress.com/?p=175</guid>
		<description><![CDATA[Completed one year with Applications Prototype Lab, ESRI. Its been great, got to work on lots of projects, met amazing people and learnt a lot in the process. Here are a few pics of my work place &#8230; enjoy!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arkblog.wordpress.com&amp;blog=1812069&amp;post=175&amp;subd=arkblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Completed one year with <a href="http://blogs.esri.com/Dev/blogs/apl/default.aspx" target="_blank">Applications Prototype Lab</a>, <a href="http://www.esri.com" target="_blank">ESRI</a>. Its been great, got to work on lots of projects, met amazing people and learnt a lot in the process. Here are a few pics of my work place &#8230; enjoy!<span id="more-175"></span></p>

<a href='http://arkblog.wordpress.com/2009/11/16/one-year-apl/img_0029-1/' title='IMG_0029-1'><img width="150" height="112" src="http://arkblog.files.wordpress.com/2009/11/img_0029-1.jpg?w=150&#038;h=112" class="attachment-thumbnail" alt="My Office - 1" title="IMG_0029-1" /></a>
<a href='http://arkblog.wordpress.com/2009/11/16/one-year-apl/img_0030-1/' title='IMG_0030-1'><img width="150" height="112" src="http://arkblog.files.wordpress.com/2009/11/img_0030-1.jpg?w=150&#038;h=112" class="attachment-thumbnail" alt="My office - 2" title="IMG_0030-1" /></a>
<a href='http://arkblog.wordpress.com/2009/11/16/one-year-apl/img_0031-1/' title='IMG_0031-1'><img width="150" height="112" src="http://arkblog.files.wordpress.com/2009/11/img_0031-1.jpg?w=150&#038;h=112" class="attachment-thumbnail" alt="APL workspace" title="IMG_0031-1" /></a>
<a href='http://arkblog.wordpress.com/2009/11/16/one-year-apl/img_0032-1/' title='IMG_0032-1'><img width="150" height="112" src="http://arkblog.files.wordpress.com/2009/11/img_0032-1.jpg?w=150&#038;h=112" class="attachment-thumbnail" alt="Corporate Reception Area" title="IMG_0032-1" /></a>
<a href='http://arkblog.wordpress.com/2009/11/16/one-year-apl/img_0034-1/' title='IMG_0034-1'><img width="150" height="112" src="http://arkblog.files.wordpress.com/2009/11/img_0034-1.jpg?w=150&#038;h=112" class="attachment-thumbnail" alt="Entrance - right" title="IMG_0034-1" /></a>
<a href='http://arkblog.wordpress.com/2009/11/16/one-year-apl/img_0035-1/' title='IMG_0035-1'><img width="111" height="150" src="http://arkblog.files.wordpress.com/2009/11/img_0035-1.jpg?w=111&#038;h=150" class="attachment-thumbnail" alt="350 New York St" title="IMG_0035-1" /></a>
<a href='http://arkblog.wordpress.com/2009/11/16/one-year-apl/img_0036-1/' title='IMG_0036-1'><img width="150" height="112" src="http://arkblog.files.wordpress.com/2009/11/img_0036-1.jpg?w=150&#038;h=112" class="attachment-thumbnail" alt="Entrance - left" title="IMG_0036-1" /></a>

<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/arkblog.wordpress.com/175/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/arkblog.wordpress.com/175/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/arkblog.wordpress.com/175/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/arkblog.wordpress.com/175/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/arkblog.wordpress.com/175/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/arkblog.wordpress.com/175/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/arkblog.wordpress.com/175/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/arkblog.wordpress.com/175/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/arkblog.wordpress.com/175/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/arkblog.wordpress.com/175/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/arkblog.wordpress.com/175/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/arkblog.wordpress.com/175/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/arkblog.wordpress.com/175/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/arkblog.wordpress.com/175/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arkblog.wordpress.com&amp;blog=1812069&amp;post=175&amp;subd=arkblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://arkblog.wordpress.com/2009/11/16/one-year-apl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d260507d6b4976d41f6d2d415aba9a6b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">truth</media:title>
		</media:content>

		<media:content url="http://arkblog.files.wordpress.com/2009/11/img_0029-1.jpg?w=150" medium="image">
			<media:title type="html">IMG_0029-1</media:title>
		</media:content>

		<media:content url="http://arkblog.files.wordpress.com/2009/11/img_0030-1.jpg?w=150" medium="image">
			<media:title type="html">IMG_0030-1</media:title>
		</media:content>

		<media:content url="http://arkblog.files.wordpress.com/2009/11/img_0031-1.jpg?w=150" medium="image">
			<media:title type="html">IMG_0031-1</media:title>
		</media:content>

		<media:content url="http://arkblog.files.wordpress.com/2009/11/img_0032-1.jpg?w=150" medium="image">
			<media:title type="html">IMG_0032-1</media:title>
		</media:content>

		<media:content url="http://arkblog.files.wordpress.com/2009/11/img_0034-1.jpg?w=150" medium="image">
			<media:title type="html">IMG_0034-1</media:title>
		</media:content>

		<media:content url="http://arkblog.files.wordpress.com/2009/11/img_0035-1.jpg?w=111" medium="image">
			<media:title type="html">IMG_0035-1</media:title>
		</media:content>

		<media:content url="http://arkblog.files.wordpress.com/2009/11/img_0036-1.jpg?w=150" medium="image">
			<media:title type="html">IMG_0036-1</media:title>
		</media:content>
	</item>
		<item>
		<title>New sample : GeoIP + ArcGIS &#8211; Where Am I</title>
		<link>http://arkblog.wordpress.com/2009/06/18/new-sample-geoip-arcgis-where-am-i/</link>
		<comments>http://arkblog.wordpress.com/2009/06/18/new-sample-geoip-arcgis-where-am-i/#comments</comments>
		<pubDate>Fri, 19 Jun 2009 06:51:24 +0000</pubDate>
		<dc:creator>sathyaprasad</dc:creator>
				<category><![CDATA[ArcGIS Server]]></category>
		<category><![CDATA[HTML + Javscript + CSS]]></category>
		<category><![CDATA[JS API]]></category>
		<category><![CDATA[dojo]]></category>
		<category><![CDATA[geoip]]></category>
		<category><![CDATA[where am i]]></category>

		<guid isPermaLink="false">http://arkblog.wordpress.com/?p=171</guid>
		<description><![CDATA[New sample shows how to use the free GeoIP service to find the location and show the lat/lon of the visitor on a map. Here is the link to the sample : http://sathyaprasad.appspot.com/geoip.html If you go to my homepage http://sathyaprasad.appspot.com you can see how I have used the smaller version of the sample inside of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arkblog.wordpress.com&amp;blog=1812069&amp;post=171&amp;subd=arkblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>New sample shows how to use the free GeoIP service to find the location and show the lat/lon of the visitor on a map. Here is the link to the sample : <a href="http://sathyaprasad.appspot.com/geoip.html" target="_blank">http://sathyaprasad.appspot.com/geoip.html</a></p>
<p>If you go to my homepage <a href="http://sathyaprasad.appspot.com" target="_blank">http://sathyaprasad.appspot.com</a> you can see how I have used the smaller version of the sample inside of a page using an iframe to locate the website visitors. Feel free to copy the code and use it in your site.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/arkblog.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/arkblog.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/arkblog.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/arkblog.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/arkblog.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/arkblog.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/arkblog.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/arkblog.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/arkblog.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/arkblog.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/arkblog.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/arkblog.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/arkblog.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/arkblog.wordpress.com/171/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arkblog.wordpress.com&amp;blog=1812069&amp;post=171&amp;subd=arkblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://arkblog.wordpress.com/2009/06/18/new-sample-geoip-arcgis-where-am-i/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d260507d6b4976d41f6d2d415aba9a6b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">truth</media:title>
		</media:content>
	</item>
		<item>
		<title>New sample &#8211; OpenLayers API + ArcGIS Services</title>
		<link>http://arkblog.wordpress.com/2009/06/16/new-sample-posted/</link>
		<comments>http://arkblog.wordpress.com/2009/06/16/new-sample-posted/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 17:41:05 +0000</pubDate>
		<dc:creator>sathyaprasad</dc:creator>
				<category><![CDATA[ArcGIS Server]]></category>
		<category><![CDATA[HTML + Javscript + CSS]]></category>
		<category><![CDATA[ArcGIS]]></category>
		<category><![CDATA[ESRI]]></category>
		<category><![CDATA[openlayers]]></category>
		<category><![CDATA[rest]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://arkblog.wordpress.com/?p=166</guid>
		<description><![CDATA[Posted a new sample showing how to consume ArGIS Services (dynamic and cached) using OpenLayers API. Check it out: http://sathyaprasad.appspot.com/openlayers.html<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arkblog.wordpress.com&amp;blog=1812069&amp;post=166&amp;subd=arkblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Posted a new sample showing how to consume ArGIS Services (dynamic and cached) using OpenLayers API.</p>
<p>Check it out: <a href="http://sathyaprasad.appspot.com/openlayers.html">http://sathyaprasad.appspot.com/openlayers.html</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/arkblog.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/arkblog.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/arkblog.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/arkblog.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/arkblog.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/arkblog.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/arkblog.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/arkblog.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/arkblog.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/arkblog.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/arkblog.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/arkblog.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/arkblog.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/arkblog.wordpress.com/166/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arkblog.wordpress.com&amp;blog=1812069&amp;post=166&amp;subd=arkblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://arkblog.wordpress.com/2009/06/16/new-sample-posted/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d260507d6b4976d41f6d2d415aba9a6b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">truth</media:title>
		</media:content>
	</item>
		<item>
		<title>Here&#8217;s a wierd one &#8211; Address already in use</title>
		<link>http://arkblog.wordpress.com/2009/06/03/heres-a-wierd-one-address-already-in-use/</link>
		<comments>http://arkblog.wordpress.com/2009/06/03/heres-a-wierd-one-address-already-in-use/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 20:36:45 +0000</pubDate>
		<dc:creator>sathyaprasad</dc:creator>
				<category><![CDATA[ArcGIS Server]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[address already in use]]></category>
		<category><![CDATA[arcgis rest]]></category>
		<category><![CDATA[bindexception]]></category>
		<category><![CDATA[port 8300]]></category>

		<guid isPermaLink="false">http://arkblog.wordpress.com/?p=162</guid>
		<description><![CDATA[Today I encounterd a strange error- I started the ArcGIS Manager Service to use the Restful Services Directory and to my surprise it did not work. I have installed ArcGIS Server 9.3.1 for a few weeks now and was working fine. I tried the following url&#8217;s: http://localhost:8399/arcgis/rest &#8211; restful services direcoty &#8211; did not work [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arkblog.wordpress.com&amp;blog=1812069&amp;post=162&amp;subd=arkblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today I encounterd a strange error-</p>
<p>I started the <strong>ArcGIS Manager Service</strong> to use the Restful Services Directory and to my surprise it did not work. I have installed ArcGIS Server 9.3.1 for a few weeks now and was working fine.</p>
<p>I tried the following url&#8217;s:</p>
<p><span style="color:#800000;">http://localhost:8399/arcgis/rest</span> &#8211; restful services direcoty &#8211; did not work</p>
<p><span style="color:#800000;">http://localhost:8399/arcgis/services?wsd</span><span style="color:#800000;">l </span> &#8211; services catalog soap end point &#8211; did not work</p>
<p><span style="color:#800000;">http://localhost:8399</span> &#8211; directory listing of  &#8221;C:\Program Files\ArcGIS\java\web_output&#8221; - did not work<span id="more-162"></span></p>
<p>Wearing my trouble shooting hat, I checked the log files at location: &#8220;<strong>C:\Program Files\ArcGIS\java\manager\service\logs</strong>&#8220;</p>
<p>1. <strong>manager_stderr.txt</strong> &#8211; did not indicate any issues</p>
<p>2.<strong> managerappserver0.log</strong> &#8211; here I found the following error:</p>
<p><code>Jun 3, 2009 12:46:00 PM org.apache.catalina.core.StandardServer await<br />
SEVERE: StandardServer.await: create[8300]:<br />
java.net.BindException: Address already in use: JVM_Bind<br />
at java.net.PlainSocketImpl.socketBind(Native Method)<br />
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)<br />
at java.net.ServerSocket.bind(ServerSocket.java:319)<br />
at java.net.ServerSocket.(ServerSocket.java:185)<br />
at org.apache.catalina.core.StandardServer.await(StandardServer.java:346)<br />
at org.apache.catalina.startup.Catalina.await(Catalina.java:600)<br />
at org.apache.catalina.startup.Catalina.start(Catalina.java:560)<br />
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br />
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br />
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br />
at java.lang.reflect.Method.invoke(Method.java:585)<br />
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)<br />
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)<br />
</code></p>
<p>The error message indicates that port 8300 was blocked/taken in my machine.</p>
<p>The cuplrit was the Aptana IDE which was open and the port 8300 was used up.</p>
<p>Digging deeper: Aptana IDE is bundled with the Jaxer support. Jaxer Console for internal Jaxer Server uses a free port between 8300-8500. It so happened that Since ArcGIS Server Manager was not yet started when I opened Aptana IDE, it used the 8300. So the order matters. Could&#8217;nt find a simple way to change the port range within Aptana. This could be fodder for a different post.</p>
<p>Incase you are wondering why is ArcGIS Server Manager using port 8300 (the well known ports are 8399 and 8099) then the answer is here &#8220;C:\Program Files\ArcGIS\java\manager\service\tomcat\managerappserver\conf\server.xml&#8221;. The manager appserver (tomcat) uses port 8300 as shutdown port. And yes, you can edit shutdown port from 8300 to 8299 (or any other unique port)  and restart the ArcGIS Server Manager service.</p>
<p>Easier Solution would be to close Aptana IDE. Restart <strong>ArcGIS Server Manager</strong> (manager.exe) service and then open Aptana IDE.</p>
<p>Voila, all back to normal &#8230; back to work now &#8230;</p>
<p>Let me know if anyone else had the same issue.</p>
<p><em><span style="color:#ff0000;">Note: This post is not applicable to ArcGIS Server .Net</span></em></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/arkblog.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/arkblog.wordpress.com/162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/arkblog.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/arkblog.wordpress.com/162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/arkblog.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/arkblog.wordpress.com/162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/arkblog.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/arkblog.wordpress.com/162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/arkblog.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/arkblog.wordpress.com/162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/arkblog.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/arkblog.wordpress.com/162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/arkblog.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/arkblog.wordpress.com/162/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arkblog.wordpress.com&amp;blog=1812069&amp;post=162&amp;subd=arkblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://arkblog.wordpress.com/2009/06/03/heres-a-wierd-one-address-already-in-use/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d260507d6b4976d41f6d2d415aba9a6b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">truth</media:title>
		</media:content>
	</item>
		<item>
		<title>Installing and running the Custom Rest Service &#8211; Mapservice legends sample</title>
		<link>http://arkblog.wordpress.com/2009/05/19/installing-and-running-the-custom-rest-service-mapservice-legends-sample/</link>
		<comments>http://arkblog.wordpress.com/2009/05/19/installing-and-running-the-custom-rest-service-mapservice-legends-sample/#comments</comments>
		<pubDate>Tue, 19 May 2009 19:09:21 +0000</pubDate>
		<dc:creator>sathyaprasad</dc:creator>
				<category><![CDATA[ArcGIS Server]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[9.3.1]]></category>
		<category><![CDATA[codegallery]]></category>
		<category><![CDATA[custom]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[ganymede]]></category>
		<category><![CDATA[legends]]></category>
		<category><![CDATA[mapservice]]></category>
		<category><![CDATA[restservice]]></category>
		<category><![CDATA[sample]]></category>
		<category><![CDATA[webadf]]></category>

		<guid isPermaLink="false">http://arkblog.wordpress.com/2009/05/19/installing-and-running-the-custom-rest-service-mapservice-legends-sample/</guid>
		<description><![CDATA[I recently saw that there has been lots of discussion on the custom rest service legend sample posted on the code gallery in terms of getting the sample up and running successfully. If you have no clue on what I am talking about, here is the link. This post should help you get the sample [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arkblog.wordpress.com&amp;blog=1812069&amp;post=135&amp;subd=arkblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I recently saw that there has been lots of discussion on the custom rest service legend sample posted on the code gallery in terms of getting the sample up and running successfully. If you have no clue on what I am talking about, here is the <a href="http://resources.esri.com/arcgisserver/apis/javascript/arcgis/index.cfm?fa=codeGalleryDetails&amp;scriptID=16096">link.</a></p>
<p>This post should help you get the sample running in no time (almost):</p>
<p><em>I am using Eclipse (screen-shots show version 3.4/Ganymede, 3.3/Europa should work as well) as my IDE and ArcGIS Server 9.3.1 Java ADF libraries.</em></p>
<p><strong>1. Download the sample on to the disk:</strong></p>
<p><a href="http://arkblog.files.wordpress.com/2009/05/1.jpg"><img class="alignnone size-medium wp-image-137" title="sample" src="http://arkblog.files.wordpress.com/2009/05/1.jpg?w=300&#038;h=238" alt="sample" width="300" height="238" /></a></p>
<p><span id="more-135"></span></p>
<p><img class="alignnone size-medium wp-image-136" style="border:1px solid black;" title="download" src="http://arkblog.files.wordpress.com/2009/05/2.jpg?w=300&#038;h=238" alt="download" width="300" height="238" /></p>
<p><a href="http://arkblog.files.wordpress.com/2009/05/3.jpg"><img class="alignnone size-full wp-image-149" title="unzip" src="http://arkblog.files.wordpress.com/2009/05/3.jpg?w=300&#038;h=233" alt="unzip" width="300" height="233" /></a></p>
<p><strong>The sample comes with &#8220;json.jar&#8221; library, as shown in the screen-shot here:</strong></p>
<p><a href="http://arkblog.files.wordpress.com/2009/05/4.jpg"><img class="alignnone size-medium wp-image-150" title="library-included" src="http://arkblog.files.wordpress.com/2009/05/4.jpg?w=300&#038;h=233" alt="library-included" width="300" height="233" /></a></p>
<p><strong>2. Create a new project in eclipse</strong></p>
<p><a href="http://arkblog.files.wordpress.com/2009/05/seven.jpg"><img class="alignnone size-medium wp-image-142" title="new-project-1" src="http://arkblog.files.wordpress.com/2009/05/seven.jpg?w=300&#038;h=227" alt="new-project-1" width="300" height="227" /></a></p>
<p><a href="http://arkblog.files.wordpress.com/2009/05/eight.jpg"><img class="alignnone size-medium wp-image-140" title="new-project-2" src="http://arkblog.files.wordpress.com/2009/05/eight.jpg?w=258&#038;h=300" alt="new-project-2" width="258" height="300" /></a></p>
<p><a href="http://arkblog.files.wordpress.com/2009/05/nine.jpg"><img class="alignnone size-medium wp-image-141" title="new-project-3" src="http://arkblog.files.wordpress.com/2009/05/nine.jpg?w=258&#038;h=300" alt="new-project-3" width="258" height="300" /></a></p>
<p><a href="http://arkblog.files.wordpress.com/2009/05/ten.jpg"><img class="alignnone size-medium wp-image-139" title="new-project-4" src="http://arkblog.files.wordpress.com/2009/05/ten.jpg?w=287&#038;h=300" alt="new-project-4" width="287" height="300" /></a></p>
<p><strong>3. Import the source files and web-inf folder from the sample to the project</strong></p>
<p><a href="http://arkblog.files.wordpress.com/2009/05/after-import.jpg"><img class="alignnone size-full wp-image-153" style="border:1px solid black;" title="after-import" src="http://arkblog.files.wordpress.com/2009/05/after-import.jpg?w=268&#038;h=292" alt="after-import" width="268" height="292" /></a></p>
<p><strong>As you see, IDE complains that there are missing imports. We are going to fix them in step 4</strong></p>
<p><strong>4. Copy (drag and drop) the following libraries into the project from the Web ADF library collection</strong><br />
<em>Note: You do not need ArcGIS Server to run this sample, just the Java Web ADF libraries is good. You can copy the required libraries from other machine if needed<br />
</em><br />
<a href="http://arkblog.files.wordpress.com/2009/05/five.jpg"><img class="alignnone size-medium wp-image-147" title="select-libraries" src="http://arkblog.files.wordpress.com/2009/05/five.jpg?w=300&#038;h=281" alt="select-libraries" width="300" height="281" /></a></p>
<p><strong>After completing steps 3 and 4 you project should look like:</strong></p>
<p><a href="http://arkblog.files.wordpress.com/2009/05/11.jpg"><img class="alignnone size-medium wp-image-143" title="after-adding-libraries" src="http://arkblog.files.wordpress.com/2009/05/11.jpg?w=200&#038;h=300" alt="after-adding-libraries" width="200" height="300" /></a></p>
<p><strong>5. Run the web app (Assumption is that you have eclipse configured with web server like tomcat or jetty. I am using tomcat 6)</strong></p>
<p><a href="http://arkblog.files.wordpress.com/2009/05/tomcat.jpg"><img class="alignnone size-medium wp-image-151" title="run-with-tomcat" src="http://arkblog.files.wordpress.com/2009/05/tomcat.jpg?w=230&#038;h=300" alt="run-with-tomcat" width="230" height="300" /></a>    </p>
<p><a href="http://arkblog.files.wordpress.com/2009/05/12.jpg"><img class="alignnone size-medium wp-image-144" title="run1" src="http://arkblog.files.wordpress.com/2009/05/12.jpg?w=300&#038;h=227" alt="run1" width="300" height="227" /></a><br />
 <br />
<a href="http://arkblog.files.wordpress.com/2009/05/13.jpg"><img class="alignnone size-medium wp-image-145" title="run2" src="http://arkblog.files.wordpress.com/2009/05/13.jpg?w=300&#038;h=226" alt="run2" width="300" height="226" /></a></p>
<p><strong>6. Optionally, you can export this into a war file for deployment</strong></p>
<p><a href="http://arkblog.files.wordpress.com/2009/05/14.jpg"><img class="alignnone size-medium wp-image-146" title="export-to-war" src="http://arkblog.files.wordpress.com/2009/05/14.jpg?w=300&#038;h=226" alt="export-to-war" width="300" height="226" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/arkblog.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/arkblog.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/arkblog.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/arkblog.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/arkblog.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/arkblog.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/arkblog.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/arkblog.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/arkblog.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/arkblog.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/arkblog.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/arkblog.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/arkblog.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/arkblog.wordpress.com/135/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arkblog.wordpress.com&amp;blog=1812069&amp;post=135&amp;subd=arkblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://arkblog.wordpress.com/2009/05/19/installing-and-running-the-custom-rest-service-mapservice-legends-sample/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d260507d6b4976d41f6d2d415aba9a6b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">truth</media:title>
		</media:content>

		<media:content url="http://arkblog.files.wordpress.com/2009/05/1.jpg?w=300" medium="image">
			<media:title type="html">sample</media:title>
		</media:content>

		<media:content url="http://arkblog.files.wordpress.com/2009/05/2.jpg?w=300" medium="image">
			<media:title type="html">download</media:title>
		</media:content>

		<media:content url="http://arkblog.files.wordpress.com/2009/05/3.jpg?w=300" medium="image">
			<media:title type="html">unzip</media:title>
		</media:content>

		<media:content url="http://arkblog.files.wordpress.com/2009/05/4.jpg?w=300" medium="image">
			<media:title type="html">library-included</media:title>
		</media:content>

		<media:content url="http://arkblog.files.wordpress.com/2009/05/seven.jpg?w=300" medium="image">
			<media:title type="html">new-project-1</media:title>
		</media:content>

		<media:content url="http://arkblog.files.wordpress.com/2009/05/eight.jpg?w=258" medium="image">
			<media:title type="html">new-project-2</media:title>
		</media:content>

		<media:content url="http://arkblog.files.wordpress.com/2009/05/nine.jpg?w=258" medium="image">
			<media:title type="html">new-project-3</media:title>
		</media:content>

		<media:content url="http://arkblog.files.wordpress.com/2009/05/ten.jpg?w=287" medium="image">
			<media:title type="html">new-project-4</media:title>
		</media:content>

		<media:content url="http://arkblog.files.wordpress.com/2009/05/after-import.jpg" medium="image">
			<media:title type="html">after-import</media:title>
		</media:content>

		<media:content url="http://arkblog.files.wordpress.com/2009/05/five.jpg?w=300" medium="image">
			<media:title type="html">select-libraries</media:title>
		</media:content>

		<media:content url="http://arkblog.files.wordpress.com/2009/05/11.jpg?w=200" medium="image">
			<media:title type="html">after-adding-libraries</media:title>
		</media:content>

		<media:content url="http://arkblog.files.wordpress.com/2009/05/tomcat.jpg?w=230" medium="image">
			<media:title type="html">run-with-tomcat</media:title>
		</media:content>

		<media:content url="http://arkblog.files.wordpress.com/2009/05/12.jpg?w=300" medium="image">
			<media:title type="html">run1</media:title>
		</media:content>

		<media:content url="http://arkblog.files.wordpress.com/2009/05/13.jpg?w=300" medium="image">
			<media:title type="html">run2</media:title>
		</media:content>

		<media:content url="http://arkblog.files.wordpress.com/2009/05/14.jpg?w=300" medium="image">
			<media:title type="html">export-to-war</media:title>
		</media:content>
	</item>
		<item>
		<title>Devsummit 2009 Demo &#8211; infoTips posted on code gallery for download</title>
		<link>http://arkblog.wordpress.com/2009/04/01/devsummit-2009-demo-infotips-posted-on-code-gallery-for-download/</link>
		<comments>http://arkblog.wordpress.com/2009/04/01/devsummit-2009-demo-infotips-posted-on-code-gallery-for-download/#comments</comments>
		<pubDate>Wed, 01 Apr 2009 23:47:44 +0000</pubDate>
		<dc:creator>sathyaprasad</dc:creator>
				<category><![CDATA[ArcGIS Server]]></category>
		<category><![CDATA[JS API]]></category>

		<guid isPermaLink="false">http://arkblog.wordpress.com/?p=121</guid>
		<description><![CDATA[Just posted a new sample on code gallery. This sample was demoed in the devsummit 2009 session and as promised I have upload a zip file with samples, documentation and source file. Here are quick links to the sample : Resource Center &#8211; Code Gallery Post View it live link Rate the sample and post [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arkblog.wordpress.com&amp;blog=1812069&amp;post=121&amp;subd=arkblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Just posted a new sample on code gallery. This sample was demoed in the devsummit 2009 session and as promised I have upload a zip file with samples, documentation and source file.</p>
<p>Here are quick links to the sample :</p>
<p><a href="http://resources.esri.com/arcgisserver/apis/javascript/arcgis/index.cfm?fa=codeGalleryDetails&amp;scriptID=16189">Resource Center &#8211; Code Gallery Post</a></p>
<p><a href="http://serverapps.esri.com/javascript_examples/infoTipSample">View it live link</a></p>
<p>Rate the sample and post any comments directly at that site or here in my blog. Based on the comments I will add more functionality to the infoTip class.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/arkblog.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/arkblog.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/arkblog.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/arkblog.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/arkblog.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/arkblog.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/arkblog.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/arkblog.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/arkblog.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/arkblog.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/arkblog.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/arkblog.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/arkblog.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/arkblog.wordpress.com/121/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arkblog.wordpress.com&amp;blog=1812069&amp;post=121&amp;subd=arkblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://arkblog.wordpress.com/2009/04/01/devsummit-2009-demo-infotips-posted-on-code-gallery-for-download/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d260507d6b4976d41f6d2d415aba9a6b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">truth</media:title>
		</media:content>
	</item>
		<item>
		<title>Working with esri.graphics</title>
		<link>http://arkblog.wordpress.com/2009/04/01/working-with-esrigraphics/</link>
		<comments>http://arkblog.wordpress.com/2009/04/01/working-with-esrigraphics/#comments</comments>
		<pubDate>Wed, 01 Apr 2009 22:54:16 +0000</pubDate>
		<dc:creator>sathyaprasad</dc:creator>
				<category><![CDATA[ArcGIS Server]]></category>
		<category><![CDATA[JS API]]></category>

		<guid isPermaLink="false">http://arkblog.wordpress.com/?p=125</guid>
		<description><![CDATA[Few common scenarios when you are working with the graphics layer (@ version 1.3) in the ArcGIS Server JS API 1. map.graphics returns the graphics layer 2. map.graphics.graphics returns the array of graphic elements (geometry, symbol, attribute, infotemplate) added to the graphics layer To remove all graphic elements in the graphic layer map.graphics.clear(); To show/hide [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arkblog.wordpress.com&amp;blog=1812069&amp;post=125&amp;subd=arkblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Few common scenarios when you are working with the graphics layer (@ version 1.3) in the ArcGIS Server JS API</p>
<p>1. map.graphics returns the graphics layer<br />
2. map.graphics.graphics returns the array of graphic elements (geometry, symbol, attribute, infotemplate) added to the graphics layer</p>
<p>To remove all graphic elements in the graphic layer<br />
<code>map.graphics.clear();</code></p>
<p>To show/hide specific graphic element<br />
<code>map.graphics.graphics[index].show();<br />
map.graphics.graphics[index].hide();</code></p>
<p>To check if any specific graphic element is being shown or not:<br />
<code>// 'none' is hidden and 'block' is visible<br />
map.graphics.graphics[index].getDojoShape().rawNode.style.display</code></p>
<p>Loop through all the graphic elements<br />
<code>var graphics = map.graphics.graphics;<br />
for (var i=0; i&lt; graphics.length; i++)<br />
{<br />
  // do something with graphics[i]<br />
}</code></p>
<p>even better</p>
<p><code><br />
dojo.forEach(map.graphics.graphics, "console.log(item.getDojoShape().rawNode.style.display)");<br />
//or<br />
dojo.forEach(map.graphics.graphics, "console.log(item,index,array)");<br />
//or<br />
dojo.forEach(map.graphics.graphics, function(item){//item is a graphic element });<br />
</code></p>
<p>Note: @version 1.4 you will have ability to add multiple graphics layers (in addition to the default graphics layer) and can control the stack order (z-index).</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/arkblog.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/arkblog.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/arkblog.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/arkblog.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/arkblog.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/arkblog.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/arkblog.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/arkblog.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/arkblog.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/arkblog.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/arkblog.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/arkblog.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/arkblog.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/arkblog.wordpress.com/125/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arkblog.wordpress.com&amp;blog=1812069&amp;post=125&amp;subd=arkblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://arkblog.wordpress.com/2009/04/01/working-with-esrigraphics/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d260507d6b4976d41f6d2d415aba9a6b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">truth</media:title>
		</media:content>
	</item>
		<item>
		<title>Ready to use Sample layouts using Dojo</title>
		<link>http://arkblog.wordpress.com/2009/01/21/118/</link>
		<comments>http://arkblog.wordpress.com/2009/01/21/118/#comments</comments>
		<pubDate>Wed, 21 Jan 2009 19:40:46 +0000</pubDate>
		<dc:creator>sathyaprasad</dc:creator>
				<category><![CDATA[ArcGIS Server]]></category>
		<category><![CDATA[JS API]]></category>
		<category><![CDATA[bordercontainer]]></category>
		<category><![CDATA[contentpane]]></category>
		<category><![CDATA[dojo]]></category>
		<category><![CDATA[layout]]></category>

		<guid isPermaLink="false">http://arkblog.wordpress.com/?p=118</guid>
		<description><![CDATA[Just posted a blog entry on the ArcGIS Server Blog. Check it out. Blog talks about how to use Dojo Dijits &#8211; BorderContainer (dijit.layout.BorderContainer) and ContentPane (dijit.layout.ContentPane) to design your layouts for application. I have created a bunch of sample layouts with most of the commonly used layouts, check out the links below. You an [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arkblog.wordpress.com&amp;blog=1812069&amp;post=118&amp;subd=arkblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Just posted a blog entry on the <a href="http://blogs.esri.com/Dev/blogs/arcgisserver/archive/2009/01/21/Using-the-Dojo-BorderContainer-to-design-application-layouts.aspx">ArcGIS Server Blog</a>. Check it out.</p>
<p>Blog talks about how to use Dojo Dijits &#8211; BorderContainer (dijit.layout.BorderContainer) and ContentPane (dijit.layout.ContentPane) to design your layouts for application. I have created a bunch of sample layouts with most of the commonly used layouts, check out the links below.</p>
<p>You an try the live sample at: <a href="http://serverapps.esri.com/templates/index.html">http://serverapps.esri.com/templates/index.html</a></p>
<p>You can download the samples at: <a href="http://resources.esri.com/arcgisserver/apis/javascript/arcgis/index.cfm?fa=codeGalleryDetails&amp;scriptID=15998">Resource Center Code Gallery</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/arkblog.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/arkblog.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/arkblog.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/arkblog.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/arkblog.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/arkblog.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/arkblog.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/arkblog.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/arkblog.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/arkblog.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/arkblog.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/arkblog.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/arkblog.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/arkblog.wordpress.com/118/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arkblog.wordpress.com&amp;blog=1812069&amp;post=118&amp;subd=arkblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://arkblog.wordpress.com/2009/01/21/118/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d260507d6b4976d41f6d2d415aba9a6b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">truth</media:title>
		</media:content>
	</item>
		<item>
		<title>Good Javascript and Dojo Resources</title>
		<link>http://arkblog.wordpress.com/2008/12/10/good-javascript-and-dojo-resources/</link>
		<comments>http://arkblog.wordpress.com/2008/12/10/good-javascript-and-dojo-resources/#comments</comments>
		<pubDate>Thu, 11 Dec 2008 00:15:54 +0000</pubDate>
		<dc:creator>sathyaprasad</dc:creator>
				<category><![CDATA[HTML + Javscript + CSS]]></category>

		<guid isPermaLink="false">http://arkblog.wordpress.com/?p=100</guid>
		<description><![CDATA[Here is a list of Javascript and Dojo learning resources (thanks Grayson) that I use. If you know of any good links, add in a comment and I will update the post. Javascript Essential Javascript &#8211; A Javascript Tutorial http://www.comptechdoc.org/independent/web/cgi/javamanual/ http://www.w3schools.com/jsref/default.asp http://javascript.crockford.com/ Dojo http://dojotoolkit.org/key-links Dojo Feature Explorer http://www.sitepen.com/labs/dojo.php http://archive.dojotoolkit.org/nightly/checkout/ (Great source for learning how to use [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arkblog.wordpress.com&amp;blog=1812069&amp;post=100&amp;subd=arkblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here is a list of Javascript and Dojo learning resources (thanks Grayson) that I use. If you know of any good links, add in a comment and I will update the post.</p>
<p><strong>Javascript</strong></p>
<p><a href="http://www.hunlock.com/blogs/Essential_Javascript_--_A_Javascript_Tutorial">Essential Javascript &#8211; A Javascript Tutorial</a></p>
<p><a href="http://www.comptechdoc.org/independent/web/cgi/javamanual/">http://www.comptechdoc.org/independent/web/cgi/javamanual/</a></p>
<p><a href="http://www.w3schools.com/jsref/default.asp">http://www.w3schools.com/jsref/default.asp</a></p>
<p><a href="http://javascript.crockford.com/">http://javascript.crockford.com/</a></p>
<p><strong>Dojo</strong></p>
<p><strong><span><a href="http://dojotoolkit.org/key-links">http://dojotoolkit.org/key-links</a></span></strong></p>
<p><strong><span><a href="http://dojocampus.org/explorer">Dojo Feature Explorer</a></span></strong></p>
<p><strong><span><a href="http://www.sitepen.com/labs/dojo.php">h</a></span><span><a href="http://www.sitepen.com/labs/dojo.php">ttp://www.sitepen.com/labs/dojo.php</a></span></strong></p>
<p><strong><span><span><a href="http://archive.dojotoolkit.org/nightly/checkout/">http://archive.dojotoolkit.org/nightly/checkout/</a> (Great source for learning how to use dijits and dojox widgets, check out the tests folder)</span></span></strong></p>
<p><strong><span><span><a href="http://www.roseindia.net/dojo/">http://www.roseindia.net/dojo/</a></span></span></strong></p>
<p><strong><span><span><a href="http://news.oreilly.com/2008/08/10-helpings-of-dojo-goodness.html">10 helpings of Dojo goodness</a></span></span></strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/arkblog.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/arkblog.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/arkblog.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/arkblog.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/arkblog.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/arkblog.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/arkblog.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/arkblog.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/arkblog.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/arkblog.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/arkblog.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/arkblog.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/arkblog.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/arkblog.wordpress.com/100/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arkblog.wordpress.com&amp;blog=1812069&amp;post=100&amp;subd=arkblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://arkblog.wordpress.com/2008/12/10/good-javascript-and-dojo-resources/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d260507d6b4976d41f6d2d415aba9a6b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">truth</media:title>
		</media:content>
	</item>
	</channel>
</rss>
