Human Readable URL’s a ?Practical? Example

by magpie on October 17, 2007

I’ve been work­ing on mov­ing my husband’s weather data pages from our old host­ing sys­tem to our new host­ing sys­tem. As part of the new look I’m adding links to some of the sources of weather infor­ma­tion that he uses reg­u­larly. One of these is the NOAA local fore­cast page. A few days after he sent me the URL he sent me an updated one:

He writes:

I’d always kept a favorite link to the NOAA web site, where I get weather fore­casts. they have a lit­tle click­able map where you can click your spe­cific loca­tion and get a spe­cific fore­cast. but it’s a lit­tle map, and accu­racy is dif­fi­cult, so I just clicked around ’til it said ‘5 miles east of duvall’ and fig­ured that was close enough. But no (OCD? me? not a chance, baby!). a few days ago I hap­pened to notice that the URL is obvi­ously encod­ing the dec­i­mal lat-long in a sim­ple to read (and mod­ify!) for­mat:
http://www.wrh.noaa.gov/forecast/...
&textField1=47.7425&textField2=-121.98444

textField1 and textField2 are obvi­ously lat­i­tude and lon­gi­tude, in dec­i­mal for­mat. so I went to our local county GIS sys­tem, found my house, got the exact lat/long and cus­tomized the URL in my favorites folder. tada: a url that is cus­tomized ‘exactly’ for our loca­tion. not that it makes much dif­fer­ence, but it illus­trates the use­ful­ness of trans­par­ent URLs.

Pretty slick huh? The URL is prob­a­bly not eas­ily read­able to most peo­ple to to a weather geek the lat­i­tude and lon­gi­tude num­bers are both mean­ing­ful and recognizable.

Comments on this entry are closed.

Previous post:

Next post: