Get Firefox!

Home Free Software Faq Blog GNU/Linux Faq Free Media Faq's NRI Faq Immigration Faq Plea for Action Notes My P2P Search Portal About me..

Sun, 30 Aug 2009

Extracting OSM data with Osmosis

For those of you who might have played with OSM , might have always felt a need to download and view it on their laptop offline.
The files are typically at a contry level or a state level and most of them are pretty huge and memory hogging.
In any case if you feel a need to extract out a bounding box from a huge .osm file here is what you can do.

First download Osmosis from http://wiki.openstreetmap.org/wiki/Osmosis#Downloading
Since it is java based it will pretty much run on all platforms where java will run.
Then download the state or country maps in osm format from  OSM or from Cloudmate
The file format which we need to download the file will be something like <Country or State Name>.osm.bz2 like in my case it is california.osm.bz2
Once you download that file you need to unzip it using a command like bzip2 -d california.osm

Now say for example you want to only extract OSM data from a bounding box between Top Left Longitude -122.093566 / Top Left Latitude 37.39062 and Bottom Right Longitude -122.093566 / Top Right Latitude 37.39062 which is an Area of Sunnyvale and Mountain View, California you would give a command like

./osmosis --read-xml /mnt/officedesktop/maps/california.osm --bounding-box top=37.39062  left=-122.093566    right=-121.939929  bottom=37.318027  --write-xml svl.xml

The output of the command will be called svl.xml

This way you can extract out bounding boxes for areas of your interest and use it in applications like Gosmore

posted at: 22:14 | category: /worklog | permanent link to this entry

Sun, 16 Aug 2009

Operator Plugin to lookup Geo encoded coordinated on Openstreetmaps

If you use the Operator Extension  for microformats and whenever you come across a Geo(Microformat) encoded URL  and want to lookup that location on our beloved  Open Street maps , I have written an Operator  plugin for doing just that.
The plugin is available @  http://bhavesh.freeshell.org/downloads/osm.js .You can save the text file using your browser with the name as osm.js.
Once you download it you need to copy the osm.js file in your operator folder.It wiill be something like <Firefox Profile Folder>\profile\operator on Windows and <Firefox Profile Folder>\operator
Please note that you need to install the Operator Extension before you can copy the osm.js file.Once installed you will be able to see the file in the Preferences or Options of Operator like below
OSM in operator menu
You will then need to restart firefox to have Operator load the new plugin.

If everything goes well you should see the following in the Menu of Operator inf Firefox.
OSM in Firefox Menu

If you run into any issues you can send me an email @ email address  Please mention osm.js in subject line so I can distinguish between spam and real emails.

posted at: 22:46 | category: /worklog | permanent link to this entry

Fri, 14 Aug 2009

The Westerner Motel in Grand Canyon

photo of ''
THE WESTERNER MOTEL
(928)-635-4312
530 W, Route 66,
Williams AZ, 86046
USA

***We stayed in this lodge for a night after our visit to grand canyon.It is about an hours drive from the south rim of the grand canyon, it has some restaurants around it.
The rooms were clean and we liked the place especially for the price we paid.

posted at: 01:12 | category: /lodgingreview | permanent link to this entry

Travelodge Hurricane Zion National Park Area

photo of ''
Travelodge Hurricane Zion National Park Area
435-635-4647
280 West State Street
Hurricane UT, 84737
USA

***We stayed in this lodge for 2 nights for our visits to Zion National park and Bryce National park.The location was very good because to go to both these parks it is a convenient drive and as it is to Drive to Bryce national park you have to go thru the Zion Natioinal Park.
It is conveniently located to some restaurants and grocecry stores.
The rooms were clean and overall for the price we paid we liked this motel.

posted at: 00:58 | category: /lodgingreview | permanent link to this entry

Hamilton Beach Wave MakerŪ 10 Speed Blender

photo of 'Hamilton Beach Wave MakerŪ 10 Speed Blender'

Rating : * 

So the other day I went to Sears and saw this blender and bought it without researching.It was one of those impulsive buys. 

I was extremely disappointed with this blender.It just did not have the power to mix anything. It was extremely noisy.
I think this product should be renamed as Noise maker instead of Wave maker. 
Overall I would say stay away from this product.

posted at: 00:38 | category: /reviews | permanent link to this entry

Rodeway Inn & Suites Near Convention Center

Photo of Rodeway Inn
Rodeway Inn & Suites Near Convention Center
714 251 6262
2145 S Harbor Blvd
Anaheim CA, 92802
USA
....
The hotel was very close to disneyland and shuttles(not free) run about every 20 mins from this hotel. 
The hotel is well kept and was very clean. 
The staff was very very helpful and courteous and went out of their way to help me when the wireless was not working there. 
Continental breakfast was good too.
It was reasonably priced compared to all the other hotels in the nearby area.

posted at: 00:23 | category: /lodgingreview | permanent link to this entry

Thu, 13 Aug 2009

TomTom ONE 130S

I finally bought  a car gps (till now i had a gps mouse to connect to a laptop).The gps i bought is the refurbished tomtom 130s, more details @ http://www.tomtom.com/products/product.php?ID=488&Category=0&Lid=4 for about $67 after rebate.

First impression
No power adapter for connecting it to the wall.
Can only charge battery via computer or car charger.
Sofware updates was very quick and automatic  as soon as you install TomTom Home and connect the gps to the laptop.
You can completely operate the Tomtom from the laptop in a mode called "Operate One" where in instead of tapping on the GPS screen you can use the mouse your computer.
No SD card input or bluetooth as advertised.
Adding favorites is not that easy because it stores the latitute/longitude as the name of the favorite so unless you rename it quickly it will be hard to remember Lat/Long.Also renaming favorites is very hidden under the Change Preferences->Manage Favorites.

Tips


After using it for my major road trip here is my feedback on this gps.

Pros
  • Simple interface
  • Hackable
  • Good community around it which has lots of software (most of them free).
  • QuickGPS feature works.
  • Cheapest with a lot of bells and whistles.
  • Very compact fits in a pocket.I carry it everywhere I go.
Cons
  • No SD card
  • No POI modifications or categorization.
  • Llimited to about 80 favorites only.
  • Battery life of only about 2 hours
  • Lacks multiple route planning facitlity
  • Lacks planning route  on desktop and then moving it to the gps.

posted at: 23:48 | category: /reviews | permanent link to this entry