I'm trying to load a GeoJSON file with about 5K features in QGIS, and it fails, saying Invalid Data Source without further details. If I remove features down to 1K, it works. Is there a limit on the size of GeoJSON files that can be handled by QGIS? How can I understand what's going on?

I'm using QGIS version 2.8.2-Wien on Mac.

closed as off-topic by underdark Jun 20 '15 at 9:54

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions describing a problem that can't be reproduced and seemingly went away on its own (or went away when a typo was fixed) are off-topic as they are unlikely to help future readers." – underdark
If this question can be reworded to fit the rules in the help center, please edit the question.

  • I can't shed light on this, but I'm currently looking at a GeoJSON feature collection of point geometries with lots of attributes... and there are > 18,000 points. Are you using a Feature Collection Object? – Richard Law Jun 19 '15 at 23:09
  • There might be an invalid geometry (or mixed geometry) in the 4k feautures you deleted. If you split the data into 5 files with 1K, do you get all features? – AndreJ Jun 20 '15 at 5:06
  • My bad. It was just a NaN instead of NULL that wasn't recognized by ogr. Problem solved. – Mulone Jun 20 '15 at 7:35

Browse other questions tagged or ask your own question.