<?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>Joe Junkin &#187; Mapping</title>
	<atom:link href="http://joe.junkin.com/category/mapping/feed/" rel="self" type="application/rss+xml" />
	<link>http://joe.junkin.com</link>
	<description>Life as it happens</description>
	<lastBuildDate>Thu, 14 Jan 2010 23:34:22 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Login to reil.com</title>
		<link>http://joe.junkin.com/2007/06/11/login-to-reilcom/</link>
		<comments>http://joe.junkin.com/2007/06/11/login-to-reilcom/#comments</comments>
		<pubDate>Mon, 11 Jun 2007 20:51:20 +0000</pubDate>
		<dc:creator>jjunkin</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[GIS]]></category>
		<category><![CDATA[MLS]]></category>
		<category><![CDATA[Mapping]]></category>
		<category><![CDATA[Real Estate]]></category>

		<guid isPermaLink="false">http://joe.junkin.com/2007/06/11/login-to-reilcom/</guid>
		<description><![CDATA[REIL.com uses digest authentication. I am using perl to pull down the data so first I need to login to the reil.com server with proper authorization. I was unable to find a lot of documentation on how this process works. The usual method for exposing web services is via SOAP, but this service uses HTTP [...]]]></description>
			<content:encoded><![CDATA[<p>REIL.com uses digest authentication. I am using perl to pull down the data so first I need to login to the reil.com server with proper authorization. I was unable to find a lot of documentation on how this process works. The usual method for exposing web services is via SOAP, but this service uses HTTP Digest Authentication. I have not used it much but it appears that the main benefit is not sending the password in clear text over a non-ssl connection. It is not as secure as SSL by any means but is better than a clear text transmission of the password.<br />
<span id="more-26"></span><br />
The process appeared daunting at first, due to the lack of examples and documentation. The process was clear, attempt login to the server, the server rejects the login and requires login and finally the user sends validation. There are fields in the response header sent by the server that are used in the last step authentication.</p>
<p>What was not clear to me is how LWP::UserAgent to perform this feat. I could see that the mechanism was in LWP::Authen::Digest &#8211; authenticate, but i wasn&#8217;t sure how to access it. The docs mentioned overriding LWP:UserAgent&#8217;s get_basic_credentials sub to supply a password.</p>
<p><code><br />
#!/usr/bin/perl<br />
package RequestAgent;<br />
@ISA = qw(LWP::UserAgent);<br />
use strict;<br />
use LWP::UserAgent;<br />
sub new {<br />
my $self = LWP::UserAgent::new(@_);<br />
$self-&gt;agent("lwp-request/$main::VERSION");<br />
$self;<br />
}<br />
sub get_basic_credentials{<br />
my($self, $realm, $uri) = @_;<br />
return('myUsername','myPassword');<br />
}</code><code>So once this module was created, I just used the following code and everything worked as it was supposed to.</p>
<p></code></p>
]]></content:encoded>
			<wfw:commentRss>http://joe.junkin.com/2007/06/11/login-to-reilcom/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Access to MLS reil.com</title>
		<link>http://joe.junkin.com/2007/06/11/access-to-mls-reilcom/</link>
		<comments>http://joe.junkin.com/2007/06/11/access-to-mls-reilcom/#comments</comments>
		<pubDate>Mon, 11 Jun 2007 20:34:46 +0000</pubDate>
		<dc:creator>jjunkin</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[GIS]]></category>
		<category><![CDATA[Mapping]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://joe.junkin.com/2007/06/11/access-to-mls-reilcom/</guid>
		<description><![CDATA[IÂ haveÂ been working on a projectÂ to pull information from a localÂ MLS service, reil.com. They provide MLS data for the San francisco Bay area such as Palo Alto and Menlo Park. I amÂ building websites for someÂ local Real Estate AgentsÂ that display current MLS properties in a google map. The data will be pulled from reil.com to a local [...]]]></description>
			<content:encoded><![CDATA[<p>IÂ haveÂ been working on a projectÂ to pull information from a localÂ MLS service, reil.com. They provide MLS data for the San francisco Bay area such as Palo Alto and Menlo Park. I amÂ building websites for someÂ local Real Estate AgentsÂ that display current MLS properties in a google map. The data will be pulled from reil.com to a local database and syncronized at various periods throughout the day.Â The information will be displayed on a googlemap. The data will appear based on the current proximity of the map. So when the user drags the map the system will re-search the database give the new boundries.</p>
]]></content:encoded>
			<wfw:commentRss>http://joe.junkin.com/2007/06/11/access-to-mls-reilcom/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Working with the Zillow API</title>
		<link>http://joe.junkin.com/2007/04/16/zillow-api/</link>
		<comments>http://joe.junkin.com/2007/04/16/zillow-api/#comments</comments>
		<pubDate>Mon, 16 Apr 2007 23:15:45 +0000</pubDate>
		<dc:creator>jjunkin</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[GIS]]></category>
		<category><![CDATA[Google Maps]]></category>
		<category><![CDATA[Mapping]]></category>
		<category><![CDATA[Zillow]]></category>

		<guid isPermaLink="false">http://joe.junkin.com/?p=26</guid>
		<description><![CDATA[WeÂ recently completed a website that displays propertyÂ estimates using the data from http://zillow.com:
http://www.estimatepropertyvalues.com
Zillow provides excellent documentation on how to utilize their API&#8217;s which made is easy to configure. This applicationÂ pulls zillow data in real time andÂ displaysÂ it alongside and within a googleÂ map. Each plot on the map holds a tabbedÂ view of information includingÂ property details and charts.Â The application [...]]]></description>
			<content:encoded><![CDATA[<p>WeÂ recently completed a website that displays propertyÂ estimates using the data from <a href="http://zillow.com" title="zillow.com">http://zillow.com</a>:</p>
<p><a href="http://www.estimatepropertyvalues.com" title="www.estimatepropertyvalues.com ">http://www.estimatepropertyvalues.com</a></p>
<p>Zillow provides excellent documentation on how to utilize their API&#8217;s which made is easy to configure. This applicationÂ pulls zillow data in real time andÂ displaysÂ it alongside and within a googleÂ map. Each plot on the map holds a tabbedÂ view of information includingÂ property details and charts.Â The application is designed to operate using mostly ajax calls for faster responses. The main challenge here was how to display a large quantity of data in a clean, uncluttered fasion.</p>
<p><span id="more-19"></span><br />
Zillow provides a few different calls that allow retrieval of property &#8216;zestimate&#8217; valuations and other information like lot size and square footage. The system also has &#8216;comparisons&#8217; that display a number of properties that are similar in size/price/location.I found the API calls to be extremely fast. The only issue I found was fetching images for the comparisons. For each property i pulled 10 comparisons and then loaded up the zestimate results for those, as well as the zestimate charts. These charts were a problem to fetch and load during an ajax call and caused a huge delay in drawing the property location icons on the google map. What I wanted to do was defer the image loading until after I had written all of the text-based HTML.</p>
<p>My solution was to proxy the image call. Instead of placing the direct link to zillowÂ for each chart, the url goes back to my server.Â My server thenÂ finds the imageÂ andÂ streamsÂ it directly back. This works perfectly as image loading is deferred and the processing does no impact the initial drawing of the comparison properties on the map.Â </p>
]]></content:encoded>
			<wfw:commentRss>http://joe.junkin.com/2007/04/16/zillow-api/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
