{"action":"opened","issue":{"url":"https://api.github.com/repos/openlayers/ol3/issues/5397","repository_url":"https://api.github.com/repos/openlayers/ol3","labels_url":"https://api.github.com/repos/openlayers/ol3/issues/5397/labels{/name}","comments_url":"https://api.github.com/repos/openlayers/ol3/issues/5397/comments","events_url":"https://api.github.com/repos/openlayers/ol3/issues/5397/events","html_url":"https://github.com/openlayers/ol3/issues/5397","id":156901372,"number":5397,"title":"ol.format.WFS.prototype.writeTransaction doesn't  use options.srsname","user":{"login":"anzhihun","id":1855738,"avatar_url":"https://avatars.githubusercontent.com/u/1855738?v=3","gravatar_id":"","url":"https://api.github.com/users/anzhihun","html_url":"https://github.com/anzhihun","followers_url":"https://api.github.com/users/anzhihun/followers","following_url":"https://api.github.com/users/anzhihun/following{/other_user}","gists_url":"https://api.github.com/users/anzhihun/gists{/gist_id}","starred_url":"https://api.github.com/users/anzhihun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anzhihun/subscriptions","organizations_url":"https://api.github.com/users/anzhihun/orgs","repos_url":"https://api.github.com/users/anzhihun/repos","events_url":"https://api.github.com/users/anzhihun/events{/privacy}","received_events_url":"https://api.github.com/users/anzhihun/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-26T04:33:38Z","updated_at":"2016-05-26T04:33:38Z","closed_at":null,"body":"When  using  [ol.format.WFS.prototype.writeTransaction](https://github.com/openlayers/ol3/blob/v3.16.0/src/ol/format/wfsformat.js#L842) to insert new features to geoserver,  I found the coordinates is wrong. Because `writeTransaction` doesn't  use  options.srsname, see [https://github.com/openlayers/ol3/blob/v3.16.0/src/ol/format/wfsformat.js#L859](https://github.com/openlayers/ol3/blob/v3.16.0/src/ol/format/wfsformat.js#L859). After changing code to below: \r\n```javascript\r\nobj = {node: node, featureNS: options.featureNS,\r\n      featureType: options.featureType, featurePrefix: options.featurePrefix, srsName: options.srsName};\r\n```\r\nThe coordinates inserted are right.  \r\nIs it a bug or is something wrong with me? Thanks!"}}
{"actor":{"display_login":"anzhihun"}}