[Qgis-user] Question on how to add data to shapefiles

Woolard, Zachary S. zwoolard at moorecountync.gov
Fri Dec 11 09:49:20 PST 2009


It may be the number of records that you are joining.  I think you said
you had 200,000 lines in your text file. Try breaking it up into smaller
tables of say 50,000 records and see if that makes a difference.

Zach

 

________________________________

From: qgis-user-bounces at lists.osgeo.org
[mailto:qgis-user-bounces at lists.osgeo.org] On Behalf Of Carbonari, Katie
(IS)
Sent: Friday, December 11, 2009 10:50 AM
To: Kumaran Narayanaswamy; Swapnil Chaudhari
Cc: qgis-user at lists.osgeo.org
Subject: RE: [Qgis-user] Question on how to add data to shapefiles

 

Thanks for the advice but I'm having some issues using the Join
Attribute Tool. Every time I try to join 2 files (they are 2 shapefiles,
both with the same ID column), QGIS freezes quickly and needs to be
restarted. Anyone else have this problem?

Thanks,
Katie


-----Original Message-----
From: Kumaran Narayanaswamy
[mailto:kumaran.narayanaswamy at kcubeconsulting.com]
Sent: Mon 12/7/2009 8:34 PM
To: Carbonari, Katie (IS); 'Swapnil Chaudhari'
Cc: qgis-user at lists.osgeo.org
Subject: RE: [Qgis-user] Question on how to add data to shapefiles

Hello Katie,



You can use the Ftools Plugin -  Join Attribute tool to do this. Store
your
ASCII file as DBF file and using the Join attribute tool using the Join
field (IED) you can link the attributes to the shape file.



Hope this helps.



Regards

Kumaran



From: qgis-user-bounces at lists.osgeo.org
[mailto:qgis-user-bounces at lists.osgeo.org] On Behalf Of Carbonari, Katie
(IS)
Sent: Monday, December 07, 2009 7:24 PM
To: Swapnil Chaudhari
Cc: qgis-user at lists.osgeo.org
Subject: RE: [Qgis-user] Question on how to add data to shapefiles





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:sslan at rediffmail.com]
Sent: Sat 12/5/2009 7:17 AM
To: Carbonari, Katie (IS)
Cc: qgis-user at lists.osgeo.org
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



Qgis-user at lists.osgeo.org



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







-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20091211/480a3eeb/attachment.html>


More information about the Qgis-user mailing list