title: How to get lat/lng coordinates from GEOMETRY('POINT') with Sequelize?
body: <p>I have an MS SQL database that contains a table with latitude/longitude positions of some devices. These positions are stored in a GEOGRAPHY field. Now I want to get these positions from my node app with Sequelize.</p>
  
  <p>Here's my sequelize model definition:</p>
  
  <pre><code>db.define('StationLocation', {
      StationId: { type: Sequelize.INTEGER },
      Position: { type: Sequelize.GEOMETRY('POINT') }
    }
  )
  </code></pre>
  
  <p>And here's what I currently get:</p>
  
  <pre><code>{  
     "id":4,
     "StationId":1,
     "Position":{  
        "type":"Buffer",
        "data":[  
           230,
           16,
           0,
           0,
           1,
           12,
           25,
           159,
           112,
           57,
           112,
           200,
           73,
           64,
           0,
           0,
           0,
           128,
           184,
           247,
           26,
           64
        ]
     }
  }
  </code></pre>
  
  <p>How can I convert this to latitude and longitude values? Is Sequelize able to do this?</p>
  
  <p><strong><em>Update</em></strong>: In the example above, the position is this:</p>
  
  <pre><code>Latitude: 51.565924816122966
  Longitude: 6.741914749145508
  </code></pre>
  
  <p>Here's my query:</p>
  
  <pre><code>StationLocation
  .findAll({ raw: true })
  .then(function(allStationLocations) {
      console.dir(allStationLocations[0].coordinates); // Just for debugging
      res.send(JSON.stringify(allStationLocations));
  });
  </code></pre>
  
  <p>This translates to this SQL statement:</p>
  
  <pre><code>SELECT [id], [StationId], [Position] FROM [StationLocations] AS [StationLocation];
  </code></pre>