Skip to content

Commit

Permalink
Update CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Nov 24, 2024
1 parent 9e3b78f commit 6ebca42
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@

## Version History

### v1.3.0

- :rocket: Avoid posting Null Island Cameras

### v1.2.0

- :rocket: Add Video Config entry
Expand Down
5 changes: 5 additions & 0 deletions task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,11 @@ export default class Task extends ETL {

const source = view.sources[0];

if (feat.geometry.coordinates[0] === 0 && feat.geometry.coordinates[1] === 0) {
console.warn(`ok - skipping ${camera.tooltip} - Null Island Coordinates`)
continue;
}

features.push({
id: feat.id.replace('camera/', ''),
type: 'Feature',
Expand Down

0 comments on commit 6ebca42

Please sign in to comment.