[Qgis-user] Converting an OSM XML file to a SpatiaLite DB file

Andre Joost andre+joost at nurfuerspam.de
Wed Jun 10 20:56:35 PDT 2015


Am 10.06.2015 um 20:22 schrieb Lucas Bernard Grigri:

>
>                 FAILED TO IMPORT OSM DATA:
>                 XML ERROR: PREMATURE END OF DOCUMENT
>
> Please let me know if you have experienced this same problem and how to
> go about fixing it.

You can look into the imported data with any text editor. It should end 
with an </osm> tag.

However, if you try to download too much data, the server refuses your 
request, and you will get an empty file. In that case, start with a 
smaller area in the canvas.


HTH,
André Joost





More information about the Qgis-user mailing list