Closed jgravois closed 7 years ago
Still the wrong place, this needs to happen inside Winnow otherwise we're adding an additional loop over all features
Check out this part of Winnow: https://github.com/koopjs/winnow/blob/master/src/executeQuery.js#L60-L73
Actually it needs to happen in this code block https://github.com/koopjs/winnow/blob/master/src/select/fields.js#L8-L10
if options.toEsri
is set, we should not include type
in the select clause
'type' is a GeoJSON thing
http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Feature_object/02r3000000n8000000