Monday, November 21, 2011

How to install a software in Ubuntu for Window User PART 3

Please see if part 1 and 2 if required
How to install a software in Ubuntu for Window User PART 1
How to install a software in Ubuntu for Window User PART 2



Still There are some software's/Package's which can not be installed in usual manner

for example if you want to install Skype

Go to skype site http://www.skype.com/intl/en/get-skype/on-your-computer/linux/

download the .deb file for Ubuntu 10.4+ ( select 32 bit or 64 bit depending upon your computer hardware and operating system )


.deb file  ( equivalent to .exe file in windows but needs a software to open it)


open this file with Ubuntu software center

and software is installed

done





Friday, November 18, 2011

How to install a software in Ubuntu for Window User PART 2


How to install a software in Ubuntu for Window User PART 1

please see part 1 if required

if  Software is present in the Ubuntu software  center and you could not install it

1. check your internet connection
2. check yours sources.list to see whether that source is present.
3. Search Google for repositories address and edit sources.list




To edit sources.list

You have to go to Terminal


Terminal: it is an application which windows users may never have used. it is command based interface just like DOS. So type a command to edit file sources.list


gksudo gedit /etc/apt/sources.list



copy and paste address of new repositories and save


now you need to update your system before you can install any package


so type a command in terminal



sudo get-apt update



now you can go to ubuntu software center or you can install your pacakage in Terminal also



sudo get-apt install package name



Hint: type few letters of package and press tab you will see the exact package name

please see next post if you could not install be this methods
How to install a software in Ubuntu for Window User PART 3




How to install a software in Ubuntu for Window User part 1

First Thing First


You need to learn new Terminology

You do not go to a site for downloading the software but you go to a 'repository  '

1. Repository  It is storage location where one or number of  package's ( software) are stored

2. Package   well for window user it is software only.

3. Source.list : it is the file where all your repository's address is stored

So You need a Package now. Go to an application Called Ubuntu Software Center and search for the package.


if package is there and install is written in front on it just press install and job is done.

if not then see my next post






Tryst with Ubuntu (Linux) -a long time Window user

Linux keeps attracting me because of its free nature , free from viruses and fast speed .
The idea of  sharing your knowledge is very attractive.
So many versions of linux are in market .
Ubuntu is one, which i installed on my laptop along with windows Vista.
As I was beginner for Ubuntu so I let the Ubuntu install  on its own without any manual partioning.
So romance with Ubuntu continued for some days.  After some days i deleted one windows partition for some space and  next i realized that my computer did not boot saying grub failure .

Word Grub was new to me
GRand Unified Bootloader (http://www.gnu.org/software/grub/)

Searching on the net i came to know that Grub is a boot loader for multiple boot systems and i must have accidently deleted Ubuntu partition containing Grub loader. My First Heart Break

So next thing was how to correct this problem.

So after lot of searching i corrected this problem by correcting MBR ( Master boot Record) by a free utility ( link i will post soon) and Windows came alive

I thought i will never use Ubuntu again as it put it wasted lot of my time . ( I was wrong i am again using Ubuntu now i will tell you why in my next post). But i learnt a lot of new things which is helping me in my second affair with Ubuntu. I hope this will be a long association.






















Thursday, November 10, 2011

To Add X Y Z co-ordinates to point shapefile


  1. Create a point shapefile and add points to it.
  2. Add created shape file in Arcmap.
  3. Open its attribute table.
  4. Add field – given name and select double as its Format.
  5. Right click on the added Field and select Calculate geometry
  6. Select in the given field X-co-ordinate or y-co-ordinate as desired.
  7. Repeat for second coordinate
  8. To add Z-co-ordinate you need DEM of that area; add DEM to Arcmap
  9. Use extract values to point tool in spatial analyst tool to add Z-co-ordinate
  10. Select input raster as DEM.

Creating a New Point shapefile in ArcGIS 9.3


  1. Start Arc Catalogue
  2. Move to folder where you want to create shape file
  3. Right click in that folder and select New shapefile
  4. Feature type “point”
  5. Edit –Coordinate system
  6. Select appropriate Geographic or/and Co-ordinate
  7. Move to Arc-map and add created shape file  in Arc-map
  8. Start Editor
  9. Use sketch tool to create points
  10. Save and stop Editor.

Saturday, November 5, 2011

How to create and project a Point shapefile from XY coordinates using from dbf or Excel files


Creating shape file from points in GIS


  1. use Excel 2003 or earlier to create a dbf III file .dbf format
  2. Keep one sheet only. remove all the remaining sheets
  3. give labels in first row for longitudes and Latitudes in first two columns 
  4. Type  data  in two columns X and Y  in decimal degrees
  5. save file as dbfIII format as filename.dbf
  6. open filename.dbf file in Arcmap
  7. Display XY data in arcmap by right clicling on the file 
  8. select label for X for longitudes and Y for Latitudes field
  9. give only geographic coordinate systems of the points
  10. Project the file using project tools located in data management and feature project tools in arcgis 9.3 
  11. export the projected file 


To Use directly Excel file  see the reference below


Follow the below instructions to turn an Excel file containing latitude/longitude

coordinates into a Shapefile using ArcMap.



Open ArcMap.

  1. Add your Excel worksheet (97-2003 or 2007) to ArcMap 9.3 just as you would spatial data,
  2. Filename.xls(x) will appear in the table of contents (TOC). Right-click on the worksheet
  3. name in the TOC, and choose "Display XY Data..."
  4. In the dialog box, the X Field should be Longitude and the Y Field should be Latitude.
  5. If you know the spatial reference of the input coordinates, click the "Edit..." button and
  6. select it.
  7. For example, if your coordinates are based on a WGS84 Geographic Coordinate System, Click
  8. the "Edit..." button, then the "Select..." button, Geographic Coordinate Systems 
  9. If you do not select a spatial reference, the shapefile will have an Unknown Coordinate System.
  10. Click OK.
  11. The coordinates should plot as a point event theme. Note that it is not a shapefile, just an event theme. To create a shapefile from the event theme, right-click the layer in the TOC and select Data and  Export Data... Then select a location for the new shapefile, name it and click OK.
  12. TIP: Make sure that coordinates South of the Equator and West of the Prime Meridian arenegative, or your points will plot in the wrong hemisphere!


Reference

http://www.lib.unc.edu/reference/gis/faq/xy.html