<?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/"
	>

<channel>
	<title>DBWS.NET &#187; regex latitude longitude</title>
	<atom:link href="http://www.dbws.net/blog/tag/regex-latitude-longitude/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dbws.net/blog</link>
	<description>Software development mutterings and maybe a little something about myself.</description>
	<lastBuildDate>Wed, 09 Nov 2011 16:56:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>RegEx validation of Latitude and Longitude</title>
		<link>http://www.dbws.net/blog/2009/10/23/regex-validation-of-latitude-and-longitude/</link>
		<comments>http://www.dbws.net/blog/2009/10/23/regex-validation-of-latitude-and-longitude/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 09:31:58 +0000</pubDate>
		<dc:creator>Bolo</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[regex latitude longitude]]></category>

		<guid isPermaLink="false">http://www.dbws.net/blog/2009/10/23/regex-validation-of-latitude-and-longitude/</guid>
		<description><![CDATA[Below are regex patterns to match against valid latitude and longitude. Both formats are based on Decimal coordinates. Latitude range is from -90 to +90 Longitude from -180 to +180 For Latitude the regex pattern is (-?[0-8]?[0-9](\.\d*)?)&#124;-?90(\.[0]*)? For Longitude use (-?([1]?[0-7][1-9]&#124;[1-9]?[0-9])?(\.\d*)?)&#124;-?180(\.[0]*)? This will also restrict the decimal values being &#62; 0 for both +- 90&#8242; [...]]]></description>
			<content:encoded><![CDATA[<p>Below are regex patterns to match against valid latitude and longitude.</p>
<p>Both formats are based on Decimal coordinates.</p>
<p>Latitude range is from -90 to +90</p>
<p>Longitude from -180 to +180</p>
<p>For Latitude the regex pattern is</p>
<p><code>(-?[0-8]?[0-9](\.\d*)?)|-?90(\.[0]*)?</code></p>
<p>For Longitude use</p>
<p><code>(-?([1]?[0-7][1-9]|[1-9]?[0-9])?(\.\d*)?)|-?180(\.[0]*)?</code></p>
<p>This will also restrict the decimal values being &gt; 0 for both +- 90&#8242; and +- 180</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dbws.net/blog/2009/10/23/regex-validation-of-latitude-and-longitude/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

