Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to convert an OpenStreetMap file into a shapefile, but I am having problems with the "tags" field being cut-off after 80 characters. With QGIS 1.4, I use the OpenStreetMap plugin to 'Load OSM from file'. The file loads in QGIS. If I right-click on the 'lines' layer and select 'Save as shapefile', I end up with a shapefile but one that has an 80 char limit on "tags". How can I increase this 80 character limit?

share|improve this question
The issue is with the field limitation with Shapefiles not QGIS. You can create a code (.txt) list and join that to the shapefile to get the full tag. – Mapperz May 18 '11 at 18:19
The issue is not an 80 character limit in shapefiles, as @John correctly points out. The truncation is likely the fault of the conversion process. – whuber Aug 11 '11 at 14:35
up vote 6 down vote accepted

You can also import the data into a PostgreSQL/Postgis database and you will not have that limit. Use the osm2pgsql utility

share|improve this answer

Unless you have a specific need to use the shapefile format, Spatialite is a good option: its built-in to QGIS, has no limits on the length of fields and is supported by most of the open source tools.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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