Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
```diff
! Warning ! This repository is considered deprecated
```
please go to [https://github.com/eodash/eodash](https://github.com/eodash/eodash) for latest updates!

# Welcome to eodash

[![DOI](https://zenodo.org/badge/264235389.svg)](https://zenodo.org/badge/latestdoi/264235389)
Expand Down
4 changes: 3 additions & 1 deletion app/src/config/esa.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import E13dMapTimes from '@/config/data_dates_e13d.json';
import shTimeFunction from '../shTimeFunction';

const wkb = new WKB();

Check failure on line 14 in app/src/config/esa.js

View workflow job for this annotation

GitHub Actions / deploy

'wkb' is assigned a value but never used
const geojsonFormat = new GeoJSON();

export const dataPath = './eodash-data/internal/';
Expand Down Expand Up @@ -43,7 +43,9 @@
responseJson.forEach((ftr) => {
const { geometry, ...properties } = ftr;
// conversion to GeoJSON because followup parts of code depend on that
const geom = geojsonFormat.writeGeometryObject(wkb.readGeometry(geometry));
// was changed on 11.8.2025 because geodb started returning geojson geometry directly, instead of wkb
// const geom = geojsonFormat.writeGeometryObject(wkb.readGeometry(geometry));
const geom = geometry;
if (geom.type === 'MultiPoint' || geom.type === 'MultiPolygon') {
geom.coordinates.forEach((coordPair) => {
const singleGeometry = {
Expand Down
8 changes: 6 additions & 2 deletions app/src/config/layers.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import { DateTime } from 'luxon';
import { Wkt } from 'wicket';

const wkb = new WKB();

Check failure on line 9 in app/src/config/layers.js

View workflow job for this annotation

GitHub Actions / deploy

'wkb' is assigned a value but never used
const geojsonFormat = new GeoJSON();
const wkt = new Wkt();

Expand Down Expand Up @@ -395,7 +395,9 @@
const areaAsGeom = geojsonFormat.readGeometry(area);
data.forEach((row) => {
// for each entry, extract just those points that actually intersect the area
const geom = geojsonFormat.writeGeometryObject(wkb.readGeometry(row.geometry));
// was changed on 11.8.2025 because geodb started returning geojson geometry directly, instead of wkb
// const geom = geojsonFormat.writeGeometryObject(wkb.readGeometry(row.geometry));
const geom = row.geometry

Check failure on line 400 in app/src/config/layers.js

View workflow job for this annotation

GitHub Actions / deploy

Missing semicolon
let intersectingFtrs = 0;
if (geom.type === 'MultiPoint') {
// split multipoint to points
Expand Down Expand Up @@ -462,7 +464,9 @@
if (Array.isArray(data)) {
const areaAsGeom = geojsonFormat.readGeometry(area);
data.forEach((ftr) => {
const geom = geojsonFormat.writeGeometryObject(wkb.readGeometry(ftr.geometry));
// was changed on 11.8.2025 because geodb started returning geojson geometry directly, instead of wkb
// const geom = geojsonFormat.writeGeometryObject(wkb.readGeometry(ftr.geometry));
const geom = ftr.geometry

Check failure on line 469 in app/src/config/layers.js

View workflow job for this annotation

GitHub Actions / deploy

Missing semicolon
if (geom.type === 'MultiPoint') {
// split multipoint to points
geom.coordinates.forEach((coordPair) => {
Expand Down
4 changes: 3 additions & 1 deletion app/src/config/trilateral.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
} from '@/helpers/customAreaObjects';

const wkt = new Wkt();
const wkb = new WKB();

Check failure on line 19 in app/src/config/trilateral.js

View workflow job for this annotation

GitHub Actions / deploy

'wkb' is assigned a value but never used
const geojsonFormat = new GeoJSON();

Check failure on line 20 in app/src/config/trilateral.js

View workflow job for this annotation

GitHub Actions / deploy

'geojsonFormat' is assigned a value but never used

export const STACEndpoint = 'https://eurodatacube.github.io/eodash-catalog/trilateral/catalog.json';

Expand All @@ -30,7 +30,9 @@
responseJson.forEach((ftr) => {
const { geometry, ...properties } = ftr;
// conversion to GeoJSON because followup parts of code depend on that
const geom = geojsonFormat.writeGeometryObject(wkb.readGeometry(geometry));
// was changed on 11.8.2025 because geodb started returning geojson geometry directly, instead of wkb
// const geom = geojsonFormat.writeGeometryObject(wkb.readGeometry(geometry));
const geom = geometry;
if (geom.type === 'MultiPoint' || geom.type === 'MultiPolygon') {
geom.coordinates.forEach((coordPair) => {
const singleGeometry = {
Expand Down
Loading