Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I'm a GIS beginner here. I'm trying to add a delimited text layer in QGIS. The plug-in is okay. I have created a table in Excel, saved as CSV file, imported the file with QGIS, selected the delimiters (comma for csv files), XY fields long/lat, but when I click okay the next message shows up:

The layer file:///D:/josimar,agromet/IIAM-est%C3%A1gio/J.Biosse%20small%20database22222.csv?delimiter=%5B,%5D&delimiterType=regexp&xField=Long&yField=Lat is not a valid layer and can not be added to the map.

What could be wrong?

share|improve this question

closed as too localized by underdark Feb 27 '13 at 19:34

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Please post the first few lines of the file. Also try to load the file from a different path, e.g. copy it to D:/test.csv. There seem to be special characters in the path. –  underdark Feb 19 '13 at 14:49
    
ok. i'll try to load it from a different path. and i'll also change the name. –  Josimar Feb 19 '13 at 14:58
    
well, that's not the problem. i tried moving the file to a different path. it's not working either. perhaps the problem is with the data. when i saved as a csv file with excel it says that some features are not totally compatible with the csv format. –  Josimar Feb 19 '13 at 15:29
    
As said before: Please post some lines. Maybe we can spot the problem –  underdark Feb 19 '13 at 17:30
1  
thanks sir. the problem was with the file. once i organized it evrything went just fine –  Josimar Feb 27 '13 at 19:14

2 Answers 2

How are your coordinates formatted? They'll need to be a decimal, not in degrees-minutes-seconds. Here's a MS Knowledge Base article showing an easy way to convert to decimal:

http://support.microsoft.com/kb/213449

share|improve this answer
    
thanks, but the coordinates were already in decimal. i think that's not the problem –  Josimar Feb 19 '13 at 14:19
    
Sorry about that, that's usually the problem. After you make all the choices in the menu, does your information fill in the sample text box at the bottom? –  HeyOverThere Feb 19 '13 at 14:38
    
Yes. it fills. something like an attribute table is shown down there. –  Josimar Feb 19 '13 at 14:56
    
the problem was with the file, i solved it. thanks a lot –  Josimar Feb 27 '13 at 19:15

There are several non-ASCII characters and a comma in the path to your file. I guess that spoils the correct work. Can you try it from another folder?

share|improve this answer
    
okay. i'll try to do it. –  Josimar Feb 19 '13 at 15:22
    
well, that's not the problem. i tried moving the file to a different path. it's not working either. perhaps the problem is with the data. when i saved as a csv file with excel it says that some features are not totally compatible with the csv format. –  Josimar Feb 19 '13 at 15:28
1  
Thats normal for excel, because formatting and functions get lost when saving to csv. Can you share sample datasets? –  Andre Joost Feb 19 '13 at 18:54
    
yes, formatting was the problem. now it's all just fine. thanks a lot –  Josimar Feb 27 '13 at 19:15

Not the answer you're looking for? Browse other questions tagged or ask your own question.