Skip to content

Commit

Permalink
📦 1.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
dmfenton committed Mar 28, 2017
1 parent edb0652 commit e592db6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [1.3.1] - 2017-03-16
## [1.3.2] - 2017-03-28
### Changed
* Better way of handling oid overwrite

## [1.3.1] - 2017-03-28
### Fixed
* Don't overwrite OBJECTID field if it already exists

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "featureserver",
"version": "1.3.1",
"version": "1.3.2",
"description": "*An open source implementation of the GeoServices specification*",
"main": "dist/index.js",
"directories": {
Expand Down
2 changes: 1 addition & 1 deletion src/query.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function query (data, params = {}) {
// TODO this should happen within winnow
// TODO support datasets that already have an integer unique ID
// add objectIds as long as this is not a stats request
if (!params.outStatistics && !data.features[0].OBJECTID) {
if (!params.outStatistics && data.features[0].OBJECTID !== undefined) {
data.features.forEach((f, i) => {
f.properties.OBJECTID = i
})
Expand Down

0 comments on commit e592db6

Please sign in to comment.