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 converted a shapefile to kml using ogr2ogr. Glancing at the output, it looks correct -- it has a <Schema ...> and each <ExtendedData> references the schema (I uploaded a snippet here).

However, when I open the kml in QGIS and select "View attribute table", I only see a default list of attributes (Name, description, timestamp, begin...). Is this a limitation of the KML reader, or an error in the file?

share|improve this question

1 Answer 1

I have the same issue; KML files created by a tablet app where the custom added schema is not retained when converted. I can open the KML in Google Earth and confirm the attribute schema is there, but when I bring it into QGis I only see "Description" and nothign else. I downloaded OGR2GUI64 and converted but the shapefiles don't show the user-added schema.

FME does see the extra schema and allows me to retain it when converting, but I don't have $3000 for that software, and really I just need to get KML into either SHP or MDB/GDB so looking for a simple one-trick-pony which can handle the job. Seems like it should be simple given the commonly used file types involved!

share|improve this answer

Your Answer

 
discard

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.