<?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>Blog by Gagan</title>
	<atom:link href="http://gaganb.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://gaganb.wordpress.com</link>
	<description>Making GIS Simple</description>
	<lastBuildDate>Sat, 28 Jan 2012 07:47:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='gaganb.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Blog by Gagan</title>
		<link>http://gaganb.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://gaganb.wordpress.com/osd.xml" title="Blog by Gagan" />
	<atom:link rel='hub' href='http://gaganb.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Trace Along Featue in OpenLayers</title>
		<link>http://gaganb.wordpress.com/2011/08/19/trace-along-featue-in-openlayers/</link>
		<comments>http://gaganb.wordpress.com/2011/08/19/trace-along-featue-in-openlayers/#comments</comments>
		<pubDate>Fri, 19 Aug 2011 06:34:57 +0000</pubDate>
		<dc:creator>Gagan</dc:creator>
				<category><![CDATA[GIS]]></category>
		<category><![CDATA[OpenLayers]]></category>
		<category><![CDATA[Vector Data]]></category>
		<category><![CDATA[Web GIS]]></category>
		<category><![CDATA[Digitize]]></category>
		<category><![CDATA[follow-feature]]></category>
		<category><![CDATA[Openlayers]]></category>
		<category><![CDATA[Trace]]></category>
		<category><![CDATA[Vector Data Editing]]></category>

		<guid isPermaLink="false">http://gaganb.wordpress.com/?p=147</guid>
		<description><![CDATA[Trace control in openlayers allow to trace feature along another feature.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gaganb.wordpress.com&amp;blog=11126513&amp;post=147&amp;subd=gaganb&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The requirement for vector editing at web browser is increasing. Future would not be a web based GIS editor package rather plugable tools for vector editing in the web site. In this regards OpenLayers serve a good platform as a library. I have developed a tool for tracing the feature along existing feature. Here is the working <a title="Trace Along Featuer" href="http://geometricnet.sourceforge.net/examples/trace.html" target="_blank">example</a>. I am looking for the feedback on this control regarding the enhancement as well as any bug. Want to test trace control, check the <a title="Patch for trace control in OpenLayers" href="http://trac.osgeo.org/openlayers/attachment/ticket/3460/trace.patch" target="_blank">patch for openlayers</a>.</p>
<p><a href="http://geometricnet.sourceforge.net/examples/trace.html"><img class="alignnone size-medium wp-image-152" title="trace-along-feature-openlayers" src="http://gaganb.files.wordpress.com/2011/08/trace-along-feature-openlayers1.png?w=300&#038;h=212" alt="" width="300" height="212" /></a></p>
<p>There is one more functionality I would like to add in this control, trace polygon in another direction by pressing shift/ctrl. If any more suggestion please let me know.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gaganb.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gaganb.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gaganb.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gaganb.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gaganb.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gaganb.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gaganb.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gaganb.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gaganb.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gaganb.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gaganb.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gaganb.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gaganb.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gaganb.wordpress.com/147/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gaganb.wordpress.com&amp;blog=11126513&amp;post=147&amp;subd=gaganb&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gaganb.wordpress.com/2011/08/19/trace-along-featue-in-openlayers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/39d75f04e1a21ba653b41ac75ec1b026?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gaganb</media:title>
		</media:content>

		<media:content url="http://gaganb.files.wordpress.com/2011/08/trace-along-feature-openlayers1.png?w=300" medium="image">
			<media:title type="html">trace-along-feature-openlayers</media:title>
		</media:content>
	</item>
		<item>
		<title>Delete network feature with GeometricNet</title>
		<link>http://gaganb.wordpress.com/2011/02/23/delete-network-feature-with-geometricnet/</link>
		<comments>http://gaganb.wordpress.com/2011/02/23/delete-network-feature-with-geometricnet/#comments</comments>
		<pubDate>Wed, 23 Feb 2011 11:01:51 +0000</pubDate>
		<dc:creator>Gagan</dc:creator>
				<category><![CDATA[Geometric Network]]></category>
		<category><![CDATA[GIS]]></category>
		<category><![CDATA[Network GIS]]></category>
		<category><![CDATA[OpenLayers]]></category>
		<category><![CDATA[Utility GIS]]></category>
		<category><![CDATA[Web GIS]]></category>
		<category><![CDATA[GIS Topology]]></category>
		<category><![CDATA[Netwrok GIS]]></category>
		<category><![CDATA[Openlayers]]></category>
		<category><![CDATA[Road Network]]></category>
		<category><![CDATA[Utility Network]]></category>
		<category><![CDATA[Vector Data Editing]]></category>

		<guid isPermaLink="false">http://gaganb.wordpress.com/?p=139</guid>
		<description><![CDATA[In GeometricNet (Geometric Network) ability to delete network features edge and node.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gaganb.wordpress.com&amp;blog=11126513&amp;post=139&amp;subd=gaganb&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In <a title="GeometricNet (Geometric Network)" href="http://sourceforge.net/projects/geometricnet/" target="_blank">GeometricNet </a>I am adding more functionality, one of them recently added is ability to delete network features edge and node.  Shown  the same in the <a title="Delete network Feature" href="http://geometricnet.sourceforge.net/examples/modify-network-delete.html" target="_blank">example</a> and available in the latest version &#8211; <a title="Latest version of GeometricNet" href="http://sourceforge.net/projects/geometricnet/files/" target="_blank">GeometricNet-alpha-0.5.3</a></p>
<p>GeometricNet is still in nascent stage, many more concepts and functionality need to be incorporated. My purpose of hosting the alpha code was that I would be getting the feedback from developers on this project. So that improvements can be done. I am getting a good feedback and improving the same. Still the project is not in the state to be directly used by the users, but developers can use this or part of this project for any network related project.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gaganb.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gaganb.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gaganb.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gaganb.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gaganb.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gaganb.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gaganb.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gaganb.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gaganb.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gaganb.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gaganb.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gaganb.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gaganb.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gaganb.wordpress.com/139/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gaganb.wordpress.com&amp;blog=11126513&amp;post=139&amp;subd=gaganb&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gaganb.wordpress.com/2011/02/23/delete-network-feature-with-geometricnet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/39d75f04e1a21ba653b41ac75ec1b026?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gaganb</media:title>
		</media:content>
	</item>
		<item>
		<title>Search Nearby using Rtree</title>
		<link>http://gaganb.wordpress.com/2011/02/18/search-nearby-using-rtree/</link>
		<comments>http://gaganb.wordpress.com/2011/02/18/search-nearby-using-rtree/#comments</comments>
		<pubDate>Fri, 18 Feb 2011 14:00:34 +0000</pubDate>
		<dc:creator>Gagan</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[Rtree]]></category>
		<category><![CDATA[Spatial Index]]></category>
		<category><![CDATA[Geospatial]]></category>
		<category><![CDATA[GIS]]></category>
		<category><![CDATA[LBS]]></category>

		<guid isPermaLink="false">http://gaganb.wordpress.com/?p=119</guid>
		<description><![CDATA[Sample code to showcase rtree python library. <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gaganb.wordpress.com&amp;blog=11126513&amp;post=119&amp;subd=gaganb&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Searching POIs nearby to user location or any location feature in LBS service is critical component (in fact everyone  knows that, nothing new). But exciting is <a title="R-tree spatial index for python " href="http://pypi.python.org/pypi/Rtree/" target="_blank">rtree</a> library in python. Well here is small example code using python <a title="R-tree spatial index for python " href="http://pypi.python.org/pypi/Rtree/" target="_blank">rtree</a> library that uses internally <a title="Spatial Index Library " href="http://www2.research.att.com/%7Emarioh/spatialindex/index.html" target="_blank">libspatialindex</a>.</p>
<p>Here is a sampel code how rtree can be utilized to index all of your POIs</p>
<p><pre class="brush: python;">
from rtree import index
# locations=array of {id:1,coordinate:(x1,y1),name:&quot;htel abc&quot;}
def create_index(locations,index_name):
	idx=index.Index(index_name)
	for location in locations:
		id = location['id']
		x = location['coordinate'][0]
		y = location['coordinate'][1]
	idx.insert(id,(x,y))
	del idx
</pre></p>
<p>In this sample a function <em>create_index</em> just loop through all of POIs and create a rtree index. It creates index files with<em> index_name</em> (index_name.idx and index_name.dat). So when you want to search the nearby location you load index with these files. The next sample code shows how easily one can find the near locations.</p>
<p><pre class="brush: python;">
# returns list of ids
#coordinate - (x1,y1), count - no of ids to be returned
def find_nearby(coordinate,count,index_name):
    idx = index.Index(index_name)
    x = coordinate[0]
    y = coordinate[1]
    return idx.nearest((x,y),count)
</pre></p>
<p>So keep indexing your locations and find nearby very easily.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gaganb.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gaganb.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gaganb.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gaganb.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gaganb.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gaganb.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gaganb.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gaganb.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gaganb.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gaganb.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gaganb.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gaganb.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gaganb.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gaganb.wordpress.com/119/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gaganb.wordpress.com&amp;blog=11126513&amp;post=119&amp;subd=gaganb&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gaganb.wordpress.com/2011/02/18/search-nearby-using-rtree/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/39d75f04e1a21ba653b41ac75ec1b026?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gaganb</media:title>
		</media:content>
	</item>
		<item>
		<title>Undo Redo Vector Edits in OpenLayers</title>
		<link>http://gaganb.wordpress.com/2010/12/16/undo-redo-vector-edits-in-openlayers/</link>
		<comments>http://gaganb.wordpress.com/2010/12/16/undo-redo-vector-edits-in-openlayers/#comments</comments>
		<pubDate>Thu, 16 Dec 2010 06:43:39 +0000</pubDate>
		<dc:creator>Gagan</dc:creator>
				<category><![CDATA[OpenLayers]]></category>
		<category><![CDATA[Vector Data]]></category>
		<category><![CDATA[Web GIS]]></category>
		<category><![CDATA[Geospatial]]></category>
		<category><![CDATA[GIS]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Openlayers]]></category>
		<category><![CDATA[Openlayers Control]]></category>
		<category><![CDATA[Undo Redo]]></category>
		<category><![CDATA[Vector Data Editing]]></category>
		<category><![CDATA[Vector Feature]]></category>

		<guid isPermaLink="false">http://gaganb.wordpress.com/?p=108</guid>
		<description><![CDATA[Developed OpenLayers control UndoRedo to do undo and redo on vector/feature edits done using OpenLayers library. <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gaganb.wordpress.com&amp;blog=11126513&amp;post=108&amp;subd=gaganb&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>OpenLayers has given a good platform for vector data rendering on web. OpenLayers library also allows vector data manipulation or edit. For making vector data editing more easy I have created a control to undo or redo the vector edits. In the <a title="Undo Redo Vector Edits in OpenLayers" href="http://geometricnet.sourceforge.net/examples/undo-redo.html" target="_blank">example for undo redo</a>,  I have added controls for undo and redo the vector edits done. The basic example of OpenLayers, modify features has been extended very easily to incorporate undo redo control with help of <a title="UndoRedo Control Class" href="http://geometricnet.sourceforge.net/lib/UndoRedo.js" target="_blank">UndoRedo class</a>.</p>
<p><a href="http://geometricnet.sourceforge.net/examples/undo-redo.html"><img class="alignnone size-medium wp-image-110" title="undo-redo-vector-openlayers" src="http://gaganb.files.wordpress.com/2010/12/undo-redo-vector-openlayers.jpg?w=300&#038;h=267" alt="" width="300" height="267" /></a></p>
<p>In this implementation i.e UndoRedo class has two stacks for undo features and redo features. On any edit of vector feature I insert the feature in undo stack. Like if there is a update of the feature the old feature get inserted into undo stack. So on undo action the updated  feature is  moved out to redo stack and old feature is moved to layer. The only issue here is with delete feature, openlayers library on delete action does not remove the feature (as it is required to send that info to server on commit) but change the state to &#8220;Delete&#8221;. I have done a little modification on delete, I remove the feature from layer to undo stack. So at this stage if somebody commits, the deleted features would not be deleted from server. To over come this issue I&#8217;ll write a function that will move back the deleted features to layer with state  &#8220;Delete&#8221; and style {display:&#8221;none&#8221;}  so that deleted features could also be removed from server.  This function has to be triggered before commit i.e. on start event of save strategy. I&#8217;ll update this control with this function by that time please test <a title="Undo Redo Vector Edits in OpenLayers" href="http://geometricnet.sourceforge.net/examples/undo-redo.html" target="_blank">undo redo control example</a> and in case of any bug let me know.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gaganb.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gaganb.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gaganb.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gaganb.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gaganb.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gaganb.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gaganb.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gaganb.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gaganb.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gaganb.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gaganb.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gaganb.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gaganb.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gaganb.wordpress.com/108/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gaganb.wordpress.com&amp;blog=11126513&amp;post=108&amp;subd=gaganb&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gaganb.wordpress.com/2010/12/16/undo-redo-vector-edits-in-openlayers/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/39d75f04e1a21ba653b41ac75ec1b026?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gaganb</media:title>
		</media:content>

		<media:content url="http://gaganb.files.wordpress.com/2010/12/undo-redo-vector-openlayers.jpg?w=300" medium="image">
			<media:title type="html">undo-redo-vector-openlayers</media:title>
		</media:content>
	</item>
		<item>
		<title>Move Network Node with Edge</title>
		<link>http://gaganb.wordpress.com/2010/12/10/move-network-node-with-edge/</link>
		<comments>http://gaganb.wordpress.com/2010/12/10/move-network-node-with-edge/#comments</comments>
		<pubDate>Fri, 10 Dec 2010 07:28:38 +0000</pubDate>
		<dc:creator>Gagan</dc:creator>
				<category><![CDATA[Geometric Network]]></category>
		<category><![CDATA[Network GIS]]></category>
		<category><![CDATA[OpenLayers]]></category>
		<category><![CDATA[Utility GIS]]></category>
		<category><![CDATA[Web GIS]]></category>
		<category><![CDATA[Network Editing]]></category>
		<category><![CDATA[Network topology]]></category>
		<category><![CDATA[Openlayers]]></category>
		<category><![CDATA[Pipe Network]]></category>
		<category><![CDATA[Utility Network]]></category>
		<category><![CDATA[Vector Data Editing]]></category>

		<guid isPermaLink="false">http://gaganb.wordpress.com/?p=99</guid>
		<description><![CDATA[Modifying a Network is a basic requirement for any GIS Network Editor, most of the COTS GIS packages have this facility. But critical user expectation is to move a node along with it&#8217;s associated edges. Keeping in mind this requirement I have added a functionality to modify a network node along with edges in GeometricNet [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gaganb.wordpress.com&amp;blog=11126513&amp;post=99&amp;subd=gaganb&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Modifying a Network is a basic requirement for any GIS Network Editor, most of the COTS GIS packages have this facility. But critical user expectation is to move a node along with it&#8217;s associated edges. Keeping in mind this requirement I have added a functionality to modify a network node along with edges in <a title="Geometric Network on SourceForge" href="http://sourceforge.net/projects/geometricnet/" target="_blank">GeometricNet (Geometric Network)</a>.</p>
<p>Please check the <a title="Modify Electric Network" href="http://geometricnet.sourceforge.net/examples/modify-network.html" target="_blank">example &#8211; modify network</a> where user can select a tool <em>&#8220;Move Node&#8221;</em> from tool panel and select any existing node and move it to the required position. The connecting edges to this node are also moved simultaneously with node movement. After modification you can save your modification with save tool.</p>
<p>Some more <a title="GeometricNet Wiki" href="http://geometricnet.sourceforge.net/" target="_blank">examples of Geometric Network</a> (GeometricNet)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gaganb.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gaganb.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gaganb.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gaganb.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gaganb.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gaganb.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gaganb.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gaganb.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gaganb.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gaganb.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gaganb.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gaganb.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gaganb.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gaganb.wordpress.com/99/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gaganb.wordpress.com&amp;blog=11126513&amp;post=99&amp;subd=gaganb&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gaganb.wordpress.com/2010/12/10/move-network-node-with-edge/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/39d75f04e1a21ba653b41ac75ec1b026?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gaganb</media:title>
		</media:content>
	</item>
		<item>
		<title>Draw Line direction on OpenLayers Feature</title>
		<link>http://gaganb.wordpress.com/2010/09/30/draw-line-direction-on-openlayers-feature/</link>
		<comments>http://gaganb.wordpress.com/2010/09/30/draw-line-direction-on-openlayers-feature/#comments</comments>
		<pubDate>Thu, 30 Sep 2010 16:12:36 +0000</pubDate>
		<dc:creator>Gagan</dc:creator>
				<category><![CDATA[OpenLayers]]></category>
		<category><![CDATA[Arrow on Line]]></category>
		<category><![CDATA[Flow Direction]]></category>
		<category><![CDATA[Geometry direction]]></category>
		<category><![CDATA[Line Direction]]></category>
		<category><![CDATA[LineString]]></category>
		<category><![CDATA[Openlayers]]></category>

		<guid isPermaLink="false">http://gaganb.wordpress.com/?p=89</guid>
		<description><![CDATA[Draw the  geometry line direction using OpenLayers<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gaganb.wordpress.com&amp;blog=11126513&amp;post=89&amp;subd=gaganb&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Many times its required to draw the line direction on LineString of OpenLayers. It may be to show the flow of water in pipe, one-way roads or directed geometric network. I have written generic code to draw the line direction using OpenLayers. Here is <a title="Line Direction" href="http://geometricnet.sourceforge.net/examples/directions.html" target="_blank">example</a> to check my <a title="Direction.js" href="http://geometricnet.sourceforge.net/examples/Direction.js" target="_blank">code</a> how it is working.</p>
<p>Basically I create a point feature and set the angle attribute of this feature same as of the line at that position. And position of point/direction-arrow could be start, end or middle of the LineString or segment. For each segment of linestring  a arrow can be added. Not shown in the  <a title="Line Direction" href="http://geometricnet.sourceforge.net/examples/directions.html" target="_blank">example</a> but the position can be set any where on the linestring by giving the measure value (between 0-1) to the function &#8220;<em>getPointOnLine( )</em>&#8221; in <a title="Direction.js" href="http://geometricnet.sourceforge.net/examples/Direction.js" target="_blank">Direction.js<br />
</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gaganb.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gaganb.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gaganb.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gaganb.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gaganb.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gaganb.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gaganb.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gaganb.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gaganb.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gaganb.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gaganb.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gaganb.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gaganb.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gaganb.wordpress.com/89/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gaganb.wordpress.com&amp;blog=11126513&amp;post=89&amp;subd=gaganb&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gaganb.wordpress.com/2010/09/30/draw-line-direction-on-openlayers-feature/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/39d75f04e1a21ba653b41ac75ec1b026?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gaganb</media:title>
		</media:content>
	</item>
		<item>
		<title>Electric Network with Geometric Network</title>
		<link>http://gaganb.wordpress.com/2010/09/28/electric-network-with-geometric-network/</link>
		<comments>http://gaganb.wordpress.com/2010/09/28/electric-network-with-geometric-network/#comments</comments>
		<pubDate>Tue, 28 Sep 2010 04:38:36 +0000</pubDate>
		<dc:creator>Gagan</dc:creator>
				<category><![CDATA[Geometric Network]]></category>
		<category><![CDATA[Network GIS]]></category>
		<category><![CDATA[Utility GIS]]></category>
		<category><![CDATA[Web GIS]]></category>
		<category><![CDATA[Electrical Network]]></category>
		<category><![CDATA[GeometricNet]]></category>
		<category><![CDATA[Openlayers]]></category>
		<category><![CDATA[Power Distribution Newtowrk]]></category>
		<category><![CDATA[Utility Network]]></category>

		<guid isPermaLink="false">http://gaganb.wordpress.com/?p=77</guid>
		<description><![CDATA[Electrical Network or power distribution network creation using Geometric Network (GeometricNet) JavaScript library. GeometricNet is based on OpenLayers. <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gaganb.wordpress.com&amp;blog=11126513&amp;post=77&amp;subd=gaganb&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In my last blog <a href="http://gaganb.wordpress.com/2010/08/29/shortest-path-with-geometric-network/" target="_blank">&#8220;Shortest path with Geometric Network&#8221;</a> I had shown that how easily a road network can be created with <a href="http://geometricnet.sourceforge.net/" target="_blank">GeometricNet</a> library. We can also find the shortest path as well using A-star algorithm.</p>
<p>Now I have created a example for <a href="http://geometricnet.sourceforge.net/examples/load-electric-network.html" target="_blank">electrical network</a>. Here a existing network of power distribution is loaded in the window along with many network creation tools. Functionality of utility network are simulated here with this examples. Like a distribution  line can not start from substation, only high voltage line can start.  Another constraint is  from a pole one can take fixed number connections, so I have consider four and only four line can be drawn <em>&#8216;to&#8217;</em> connection points. As electrical network is directed network, so a line can not be drawn &#8216;<em>from</em>&#8216;  connection point to pole. There are many other Utility GIS functionalities are implemented like while drawing edge (electrical line /wire ) default end node (poles / network element ) , splitting the edge if another edge touch the same and check the edge to edge snapping rule. Please explore the more in the example.</p>
<p><a href="http://geometricnet.sourceforge.net/examples/load-electric-network.html" target="_blank"><img class="alignnone size-medium wp-image-79" title="electric-network" src="http://gaganb.files.wordpress.com/2010/09/electric-network.png?w=300&#038;h=176" alt="" width="300" height="176" /></a></p>
<p>I am not electrical engineer so all rules are with my basic understanding of electric network / power distribution. So to tackle this issue is very essential, like all GIS software, utility GIS  or AM/FM/GIS software are developed by software engineer or non domain expert. Here I have designed a <a href="http://geometricnet.sourceforge.net/examples/load-electric-network-config.js" target="_blank">configuration file</a> that contains all the network behavior.  So by using this configuration file, I separate the domain expertise from GeometricNet library.  This  configuration file tags are self explanatory and simple.  Further to this, I am working on feature modification of  the network.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gaganb.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gaganb.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gaganb.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gaganb.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gaganb.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gaganb.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gaganb.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gaganb.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gaganb.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gaganb.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gaganb.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gaganb.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gaganb.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gaganb.wordpress.com/77/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gaganb.wordpress.com&amp;blog=11126513&amp;post=77&amp;subd=gaganb&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gaganb.wordpress.com/2010/09/28/electric-network-with-geometric-network/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/39d75f04e1a21ba653b41ac75ec1b026?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gaganb</media:title>
		</media:content>

		<media:content url="http://gaganb.files.wordpress.com/2010/09/electric-network.png?w=300" medium="image">
			<media:title type="html">electric-network</media:title>
		</media:content>
	</item>
		<item>
		<title>Shortest Path with Geometric Network</title>
		<link>http://gaganb.wordpress.com/2010/08/29/shortest-path-with-geometric-network/</link>
		<comments>http://gaganb.wordpress.com/2010/08/29/shortest-path-with-geometric-network/#comments</comments>
		<pubDate>Sun, 29 Aug 2010 07:49:18 +0000</pubDate>
		<dc:creator>Gagan</dc:creator>
				<category><![CDATA[Geometric Network]]></category>
		<category><![CDATA[A-Star Algorithm]]></category>
		<category><![CDATA[GIS]]></category>
		<category><![CDATA[Graph]]></category>
		<category><![CDATA[Road Network]]></category>
		<category><![CDATA[Utility GIS]]></category>
		<category><![CDATA[Web GIS]]></category>

		<guid isPermaLink="false">http://gaganb.wordpress.com/?p=66</guid>
		<description><![CDATA[In my project GeometricNet (Geometric Network) I have added the functionality to find the shortest path between two nodes. This is based on A-Start Algorithm . A JavaScript  implementation of A- Star is nicely done by Brian Grinstead,  same code I have included in my project. Actually scalability of the graph and related operations like [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gaganb.wordpress.com&amp;blog=11126513&amp;post=66&amp;subd=gaganb&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In my project <a href="http://sourceforge.net/projects/geometricnet/" target="_blank">GeometricNet (Geometric Network)</a> I have added the functionality to find the shortest path between two nodes. This is based on A-Start Algorithm . A JavaScript  implementation of A- Star is nicely done by <a href="http://www.briangrinstead.com/blog/astar-search-algorithm-in-javascript" target="_blank">Brian  Grinstead</a>,  same code I have included in my project. Actually scalability of the graph and related operations like shortest path on javascript is doubtful considering amount of vector data need to be loaded ( say full network of a city roads) and operation time.  I&#8217;ll test both in coming days and post the result for same.  Here is demo of the <a href="http://geometricnet.sourceforge.net/examples/shortest-path.html" target="_blank">shortest path with Geometric Network</a>.                                                                                                <a href="http://geometricnet.sourceforge.net/examples/shortest-path.html"><img class="alignnone size-full wp-image-67" title="geometricnet" src="http://gaganb.files.wordpress.com/2010/08/geometricnet.jpg?w=595" alt=""   /></a></p>
<p>By drawing  a edge network with draw edge tool, it will create network topology itself.  The graph is implemented with modified adjacency list data structure. By drawing the flags near any two nodes initiate the process to find the shortest path between these nodes. The shortest path is shown by selecting the edges of the path.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gaganb.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gaganb.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gaganb.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gaganb.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gaganb.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gaganb.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gaganb.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gaganb.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gaganb.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gaganb.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gaganb.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gaganb.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gaganb.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gaganb.wordpress.com/66/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gaganb.wordpress.com&amp;blog=11126513&amp;post=66&amp;subd=gaganb&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gaganb.wordpress.com/2010/08/29/shortest-path-with-geometric-network/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/39d75f04e1a21ba653b41ac75ec1b026?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gaganb</media:title>
		</media:content>

		<media:content url="http://gaganb.files.wordpress.com/2010/08/geometricnet.jpg" medium="image">
			<media:title type="html">geometricnet</media:title>
		</media:content>
	</item>
		<item>
		<title>Geometric Network on SourceForge</title>
		<link>http://gaganb.wordpress.com/2010/08/16/geometric-network-on-sourceforge/</link>
		<comments>http://gaganb.wordpress.com/2010/08/16/geometric-network-on-sourceforge/#comments</comments>
		<pubDate>Mon, 16 Aug 2010 05:23:41 +0000</pubDate>
		<dc:creator>Gagan</dc:creator>
				<category><![CDATA[Geometric Network]]></category>
		<category><![CDATA[Geospatial]]></category>
		<category><![CDATA[Openlayers]]></category>
		<category><![CDATA[Utility Network]]></category>
		<category><![CDATA[Vector Data Editing]]></category>
		<category><![CDATA[Web GIS]]></category>

		<guid isPermaLink="false">http://gaganb.wordpress.com/?p=60</guid>
		<description><![CDATA[Geometric Network open source project created on SourceForge<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gaganb.wordpress.com&amp;blog=11126513&amp;post=60&amp;subd=gaganb&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:left;">In my last blog <a href="http://gaganb.wordpress.com/2010/07/22/geometric-network-with-openlayers/" target="_blank">Geometric Network creation with OpenLayers</a>, I had shown the potential of OpenLayers that can be used to manipulate the vector data on web. Based on OpenLayers I have started a open source project <a href="http://sourceforge.net/projects/geometricnet/" target="_blank">GeometricNet (Geometric Network)</a> on SourceForge. GeometricNet is JavaScript library extended from OpenLayers. GeometricNet can be used to create topological correct geometric network in Web-GIS environment created with OpenLayers.</p>
<p><a href="http://sourceforge.net/projects/geometricnet/" target="_blank"><img class="alignnone size-full wp-image-61" title="geometricnet" src="http://gaganb.files.wordpress.com/2010/08/geometricnet.png?w=595" alt=""   /></a></p>
<p>Right now project is in alpha stage. But developers familiar with OpenLayers can use this project easily.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gaganb.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gaganb.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gaganb.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gaganb.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gaganb.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gaganb.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gaganb.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gaganb.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gaganb.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gaganb.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gaganb.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gaganb.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gaganb.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gaganb.wordpress.com/60/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gaganb.wordpress.com&amp;blog=11126513&amp;post=60&amp;subd=gaganb&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gaganb.wordpress.com/2010/08/16/geometric-network-on-sourceforge/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/39d75f04e1a21ba653b41ac75ec1b026?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gaganb</media:title>
		</media:content>

		<media:content url="http://gaganb.files.wordpress.com/2010/08/geometricnet.png" medium="image">
			<media:title type="html">geometricnet</media:title>
		</media:content>
	</item>
		<item>
		<title>Geometric Network creation with OpenLayers</title>
		<link>http://gaganb.wordpress.com/2010/07/22/geometric-network-with-openlayers/</link>
		<comments>http://gaganb.wordpress.com/2010/07/22/geometric-network-with-openlayers/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 11:06:32 +0000</pubDate>
		<dc:creator>Gagan</dc:creator>
				<category><![CDATA[Geometric Network]]></category>
		<category><![CDATA[Network GIS]]></category>
		<category><![CDATA[OpenLayers]]></category>
		<category><![CDATA[Utility GIS]]></category>
		<category><![CDATA[Web GIS]]></category>
		<category><![CDATA[GIS]]></category>
		<category><![CDATA[GIS Topology]]></category>
		<category><![CDATA[Graph]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Network topology]]></category>
		<category><![CDATA[Openlayers]]></category>
		<category><![CDATA[Pipe Network]]></category>
		<category><![CDATA[Road Network]]></category>
		<category><![CDATA[Vector Feature]]></category>

		<guid isPermaLink="false">http://gaganb.wordpress.com/?p=28</guid>
		<description><![CDATA[Geometric Netwrok creation with OpenLayers. Useful for Utility GIS.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gaganb.wordpress.com&amp;blog=11126513&amp;post=28&amp;subd=gaganb&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Vector feature rendering and creation with <a href="http://openlayers.org/" target="_blank">OpenLayers</a> has opened sky to simulate desktop GIS capabilities on web GIS. One basic requirement of any GIS software is to create topologically correct data.  OpenLayers <a href="http://dev.openlayers.org/apidocs/files/OpenLayers/Layer/Vector-js.html" target="_blank">Vector layer</a> can easily create vector data with <a href="http://dev.openlayers.org/apidocs/files/OpenLayers/Feature/Vector-js.html" target="_blank">Feature.Vector</a> class. But still advance topologies are not available like network topology.</p>
<p>Network topology or geometric network is a set of connected edges and junctions, along with connectivity rules that are used to represent and model the behavior of a common network infrastructure in the real world. Water distribution, road network, electrical lines, gas pipelines, telephone services, and water flow in a stream are all examples of resource flows that can be modeled and analyzed using a geometric network.(Source ESRI <a href="http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=What_is_a_geometric_network?" target="_blank">read more …</a>)</p>
<p>My idea is to create geometric network with OpenLayers.How i have done, basicaly there are two layers <em>Edge</em> and <em>Node</em> extended from Vector Layer class of OpenLayers. Vector layer can draw the <em>edge feature</em> that inherits from Feature.Vector class of OpenLayers. If a edge is drawn associated nodes are created automatically and if node is added edge is splited. The association between  edges and nodes are maintained any time. In a network connecting edges to a node or vice-versa can be found easily.</p>
<p>Here is the demo to show the <a href="http://geometricnet.sourceforge.net/examples/road-network.html" target="_blank">network creation with OpenLayers</a></p>
<p><a href="http://geometricnet.sourceforge.net/examples/road-network.html" target="_blank"><img class="alignnone size-full wp-image-32" title="network-openlayers" src="http://gaganb.files.wordpress.com/2010/07/network-openlayers.png?w=595" alt=""   /></a></p>
<p>This demonstrats drawing of the network with correct topology. For example to draw the road network with edges and node that are associated to each other. The following abilities are shown here:<br />
- draw edge; draw node only if it intersects with network<br />
- draw node on edge and split the edge at that point<br />
- draw edge intersecting the existing edge(s), create a node at intersection as well as split the edges<br />
- maintains the edge-node network topology, while splitting the edges or adding the node.<br />
Move mouse over the feature to see the network properties in text box.</p>
<p>I would  expand this work in following direction<br />
- serializing and serializing of this data (or objects)<br />
- how this network data can be utilized to create graph  and to <a href="http://gaganb.wordpress.com/2010/04/24/a-star-algorithm-using-javascript/" target="_blank">find shortest path </a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gaganb.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gaganb.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gaganb.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gaganb.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gaganb.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gaganb.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gaganb.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gaganb.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gaganb.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gaganb.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gaganb.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gaganb.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gaganb.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gaganb.wordpress.com/28/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gaganb.wordpress.com&amp;blog=11126513&amp;post=28&amp;subd=gaganb&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gaganb.wordpress.com/2010/07/22/geometric-network-with-openlayers/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/39d75f04e1a21ba653b41ac75ec1b026?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gaganb</media:title>
		</media:content>

		<media:content url="http://gaganb.files.wordpress.com/2010/07/network-openlayers.png" medium="image">
			<media:title type="html">network-openlayers</media:title>
		</media:content>
	</item>
	</channel>
</rss>
