RMLio / RML-Mapper

Generate High Quality Linked Data from multiple originally (semi-)structured data (legacy)
http://RML.io
52 stars 20 forks source link

Cannot get first field of a CSV #26

Closed p1d1d1 closed 6 years ago

p1d1d1 commented 6 years ago

I'm not able to get values from the first field of a .csv

With these files: map.txt stops.txt

(rename map to map.ttl and stops to stops.csv)

I'm not able to get the "Long" field

pheyvaer commented 6 years ago

@p1d1d1 This happens because stops.txt has a BOM. This should be removed when using UTF-8. You can remove it via sed -i '1s/^\xEF\xBB\xBF//' stops.txt if you are working with Linux.

p1d1d1 commented 6 years ago

Thanks for the hint.