diff --git a/lib/Exporter.js b/lib/Exporter.js
index <HASH>..<HASH> 100644
--- a/lib/Exporter.js
+++ b/lib/Exporter.js
@@ -10,9 +10,11 @@ exports.exportToFormat = function( format, dir, key, geojson, callback ){
         callback(null, outFile.replace('geojson', 'json'));
       } else if (ogrFormats[format]) {
         var cmd = ['ogr2ogr', '-f', ogrFormats[format], ( format == 'zip' ) ? outFile.replace('zip','shp') : outFile, inFile];
-        if (format == 'csv' && geojson.features[0].geometry.type == 'Point'){
-          cmd.push('-lco');
-          cmd.push('GEOMETRY=AS_XY');
+        if (format == 'csv') {
+          if ( !geojson.features[0].geometry || geojson.features[0].geometry.type == 'Point'){
+            cmd.push('-lco');
+            cmd.push('GEOMETRY=AS_XY');
+          }
         } else if (format == 'zip' || format == 'shp'){
           cmd.push('-lco');
           cmd.push('ENCODING=UTF-8');
fix for null geom in ogr2ogr