title: Pushing GeoJSON file from client to PostGIS on AWS
body: <p>I am trying to push a GeoJSON file to PostGIS on AWS, and I am hitting an error I don't understand.</p>
  
  <p>I have tried both of the following commands:</p>
  
  <pre><code>ogr2ogr -f PostgreSQL PG:"dbname='postgres' host='host.rds.amazonaws.com' port='5432' user='user' password='pass'" "/Users/user/Desktop/output.json" -nln test_table -lco engine=GeoJSON
  
  ogr2ogr -f PostgreSQL PG:"dbname='postgres' host='host.rds.amazonaws.com' port='5432' user='user' password='pass'" "/Users/user/Desktop/output.json" -nln test_table
  </code></pre>
  
  <p>I'm getting this error:</p>
  
  <pre><code>Unable to open datasource `/Users/reallymemorable/Desktop/output.json' with the following drivers.
    -&gt; `PCIDSK'
    -&gt; `PDF'
    -&gt; `MBTiles'
    -&gt; `ESRI Shapefile'
    -&gt; `MapInfo File'
    -&gt; `UK .NTF'
    -&gt; `OGR_SDTS'
    -&gt; `S57'
    -&gt; `DGN'
    -&gt; `OGR_VRT'
    -&gt; `REC'
    -&gt; `Memory'
    -&gt; `BNA'
    -&gt; `CSV'
    -&gt; `GML'
    -&gt; `GPX'
    -&gt; `KML'
    -&gt; `GeoJSON'
    -&gt; `ESRIJSON'
    -&gt; `TopoJSON'
    -&gt; `OGR_GMT'
    -&gt; `GPKG'
    -&gt; `SQLite'
    -&gt; `WAsP'
    -&gt; `PostgreSQL'
    -&gt; `OpenFileGDB'
    -&gt; `XPlane'
    -&gt; `DXF'
    -&gt; `CAD'
    -&gt; `Geoconcept'
    -&gt; `GeoRSS'
    -&gt; `GPSTrackMaker'
    -&gt; `VFK'
    -&gt; `PGDUMP'
    -&gt; `OSM'
    -&gt; `GPSBabel'
    -&gt; `SUA'
    -&gt; `OpenAir'
    -&gt; `OGR_PDS'
    -&gt; `WFS'
    -&gt; `WFS3'
    -&gt; `HTF'
    -&gt; `AeronavFAA'
    -&gt; `EDIGEO'
    -&gt; `GFT'
    -&gt; `SVG'
    -&gt; `CouchDB'
    -&gt; `Cloudant'
    -&gt; `Idrisi'
    -&gt; `ARCGEN'
    -&gt; `SEGUKOOA'
    -&gt; `SEGY'
    -&gt; `XLS'
    -&gt; `ElasticSearch'
    -&gt; `Carto'
    -&gt; `AmigoCloud'
    -&gt; `SXF'
    -&gt; `Selafin'
    -&gt; `JML'
    -&gt; `PLSCENES'
    -&gt; `CSW'
    -&gt; `VDV'
    -&gt; `MVT'
    -&gt; `TIGER'
    -&gt; `AVCBin'
    -&gt; `AVCE00'
    -&gt; `HTTP'
  </code></pre>
  
  <p>Are these MacOS drivers being referred to?  Or PostGIS drivers?  AWS drivers?  Is there something simply wrong with my ogr2ogr commands?</p>