Thanks for the advice. To answer your question, my grid is not a regular grid. 
My grid is defined in one of my shapefiles. When you look at the shapefile in 
Attribute table, this is what you see:

IED     X             Y        KS
1   453780.594 3961930.333     3
2   515181.635 3977431.333     3
3   568577.604 4179629.000     3


where IED is the cell number I mentioned before, X and Y are in UTM 
coordinates, don't know what KS (it's always 3). So the ascii file I want to 
add has 2 columns, the first being 1 through length of file that corresponds 
with the IED value in my shapefile and the second column is the data.

Thanks,
Katie


-----Original Message-----
From: Swapnil Chaudhari [mailto:[email protected]]
Sent: Sat 12/5/2009 7:17 AM
To: Carbonari, Katie (IS)
Cc: [email protected]
Subject: Re: [Qgis-user] Question on how to add data to shapefiles
 


Dear Katie, 

There is a way to get this work done, I'm not sure if it is the right way 
though. 

Use the plugin name delimited text layer. You will have to save your ASCII file 
to .csv format which is possible in windows notepad. 

Feed in the details when you open the plugin. 

What surprises me is, ".....There are 200,000 lines in each ASCII file, with 
each line corresponding to the cell numbers in the shapefiles." I'm not sure 
what you mean by cell number. Is it raster that has been converted to vector. 



Hope it works 

Cheers 



On Fri, 04 Dec 2009 21:54:01 +0530  wrote

>





>



>



Good morning. I'm new to GIS and very new to QGIS. I have 3 files I need to 
visualize. 2 are shapefiles that I easily visualized in QGIS. The other file is 
an ASCII text file that has various parameters. There are 200,000 lines in each 
ASCII file, with each line corresponding to the cell numbers in the shapefiles. 
I want to visualize the data in the ASCII file using the same grid in the 
shapfiles. Does anyone know a way to do this? Any help would be appreciated.

>



>

Thanks,

>

Katie









_______________________________________________



Qgis-user mailing list



[email protected]



http://lists.osgeo.org/mailman/listinfo/qgis-user




_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to