Skip to content

Releases: Desplandis/itowns

Release 2.43.1

20 Jun 21:18
Compare
Choose a tag to compare

2.43.1 (2024-04-30)

Bug Fixes

  • LASLoader: fix default CDN URL (4d029ef)
  • PointCloud: correct some issues after refacto (65c4008)

Workflow and chores

2.43.0 (2024-04-02)

Features

  • ESM distribution (ab36885)
  • gltf: add a GLTFParser to parse gltf 1.0 and 2.0 files (e6eb4cf)
  • Remove WebGL1 support (5bd5c32)
  • TiledGeometryLayer: layer can now hide skirt (06c7181)
  • VectorTileSource: add support for multiple source (c51e64a)

Bug Fixes

  • 3dtiles: fix tiles disappearing when zooming in and out (c04e784)
  • elevation: Fix elevation layer removal from view (4f361c3)
  • example: migrate sources to IGN geoplateforme (f6baf69)
  • examples: fix new IGN VT style url (17124ec)
  • examples: fix some issues with entwine planar example (7d05a0f)
  • examples: migrate ign and grandlyon urls (3f3ed82)
  • Feature2Mesh: fix proj on base alti (49e48b5)
  • PointCloud: fix precision error for entwinePointTileLayer (bf38a72)
  • PotreeDebug: fix oversight (e5810d7)
  • RasterTile: Fix RasterTile removeEvent when view.dispose is called (33d0e8d)
  • tutorials: migrate urls to IGN geoplateforme (5d324ca)

Performance Improvements

  • 3dtiles: fix loading time overhead due to internal structures pre-filling (5d2f384)

Examples

  • ept: Allow navigation on the pointcloud (ec7ae6c)

Code Refactoring

  • babelrc: add geojson and remove gltf from import extension (dd3f80d)
  • example: entwine_simple_loader add use of param in url (89d6fbd)
  • Fetcher: supp extent in parsed file (1240db6)
  • PointCloudLayer: add new scheme and gradients to generate texture for use in the shader (a557914)
  • source: supp supportedFetchers and add Fetcher.get(format) (9fa4cde)
  • test: add CanvasGradient in bootstrap.js (99be96e)
  • test: add tests for Fetcher.js (2fb3298)
  • test: unit test clean up (f6b6bf4)
  • test: use sinon for multisource (3b0709b)
  • unitTests: use sinon to mock hidden itowns.Fetcher and add json file localy (9dcfed3)

Workflow and chores

  • release v2.43.0 (066e4e5)
  • coverage: replace nyc by c8 (f55ee06)
  • deps-dev: bump express from 4.18.2 to 4.19.2 (9be39b7)
  • deps-dev: bump follow-redirects from 1.15.4 to 1.15.6 (3163f5f)
  • deps-dev: bump ip from 1.1.8 to 1.1.9 (5d84b37)
  • deps-dev: bump webpack-dev-middleware from 5.3.3 to 5.3.4 (d53c1a5)
  • deps: bump copc and remove unecessary ignore of fs (d4779cc)
  • npm install @xmldom/xmldom --save-dev (1c8256c)
  • npm install sinon --save-dev (4d21c1e)
  • replace the CDN from unpkg to jsdelivr (c7ff763)
  • scripts: mark cjs scripts explicitely (c6bae49)

Documentation

  • tutorials: minor typo and syntax fixes (7680ccf)
  • tutorials: replace deprecated callback (c6ba5fb)

Tests

  • wfs: fix wfs to 25d example test (1cb36a7)

BREAKING CHANGES

    • WebGL1 context is no longer supported.
  • The itowns library drops the CommonJS distribution in favor of
    a standard ECMAScript module (ESM) distribution.
  • 3dtiles: * C3DTFeature constructor parameters changed from
    (tileId, batchId, groups, info, userData, object3d) to
    (tileId, batchId, groups, userData, object3d)
  • C3DTilesLayer.findBatchTable() is not exposed in the API anymore

2.42.0 (2024-02-05)

Features

  • Add bboxUrlPrecision parameter (09a037d)
  • Add Cloud Optimized GeoTIFF (COG) sample (#2250) (f707e26)
  • controls: add meta key support in state controls (74f8b50)
  • Coordinates: add toArray method. (ebadc9c)
  • deps: Update proj4 from 2.9.0 to 2.9.2 (24eac28)
  • deps: Update three from 0.154.0 to 0.159.0 (a2f9105)
  • drop support of old browsers (e81e117)
  • Feature2Mesh: Stylize points mesh. (b7538b0)
  • LASParser: change lasparser package from loaders.gl to copc (aa9d97e)
  • View: add getters for threejs renderer and camera (57ed8d3)
  • view: add WebXR support. (1d10290)

Bug Fixes

  • C3DTilesLayer: handle tileContent with several child containing C3DTFeature. (219e015)
  • ColorLayer: Fix rendering issue on white to invisible effect (04cad6c), closes #2236
  • examples: change watercolor tile url (1bfd639)
  • examples: Fix stereo effects example (3919b72), closes /github.com/mrdoob/three.js/wiki/Migration-Guide#147--148
  • package-lock.json: Restore resolved and integrity properties (6737c93), closes npm/cli#4263
  • pointcloud: Add SSE calculation for orthographic projections (cae9463)
  • points: Correct orthographic vertex projection (e6e1d80)
  • StateControl: use uncaught key event (7fae54c)
  • tests: prevent overwriting navigator.userAgent (f146262)
  • VectorTile: loading texture on VectorTile when node.pendingSubdivision !need improvement! (e464bdc)

Performance Improvements

  • 3dtiles: Transform 3d tiles region bounding volumes to spheres (f0eaf96)

Code Refactoring

  • bboxDigits: Apply code review (b118942)
  • Feature2Mesh: add gestion feature with variable size (4d44cd3)
  • FeatureContext: use Context on LabelLayer and Feature2Texture (4abab9b)
  • FeatureCtx: move class FeatureContext to Style and rename (2428d56)
  • Feature: remove geometry.properties.style -> use style fct at Feature level (b736f72)
  • FeatureToolTip: update with new gestion of Style (356e695)
  • points: Uniformize naming with three's points shader (d46cd44)
  • Style: change setFromGeojsonProperties() to static (8cf99b6)
  • style: change Style.drawingFromContext(ctx) to Style.getFromContext(ctx) for hierarchization of style properties ([17bbe88](https://github.com/iTowns/itowns/com...
Read more

Release 2.42.0

05 Feb 15:17
Compare
Choose a tag to compare

2.42.0 (2024-02-05)

Features

  • Add bboxUrlPrecision parameter (09a037d)
  • Add Cloud Optimized GeoTIFF (COG) sample (#2250) (f707e26)
  • controls: add meta key support in state controls (74f8b50)
  • Coordinates: add toArray method. (ebadc9c)
  • deps: Update proj4 from 2.9.0 to 2.9.2 (24eac28)
  • deps: Update three from 0.154.0 to 0.159.0 (a2f9105)
  • Feature2Mesh: Stylize points mesh. (b7538b0)
  • LASParser: change lasparser package from loaders.gl to copc (aa9d97e)
  • View: add getters for threejs renderer and camera (57ed8d3)
  • view: add WebXR support. (1d10290)

Bug Fixes

  • C3DTilesLayer: handle tileContent with several child containing C3DTFeature. (219e015)
  • ColorLayer: Fix rendering issue on white to invisible effect (04cad6c), closes #2236
  • examples: change watercolor tile url (1bfd639)
  • examples: Fix stereo effects example (3919b72), closes /github.com/mrdoob/three.js/wiki/Migration-Guide#147--148
  • package-lock.json: Restore resolved and integrity properties (6737c93), closes npm/cli#4263
  • pointcloud: Add SSE calculation for orthographic projections (cae9463)
  • points: Correct orthographic vertex projection (e6e1d80)
  • StateControl: use uncaught key event (7fae54c)
  • tests: prevent overwriting navigator.userAgent (f146262)
  • VectorTile: loading texture on VectorTile when node.pendingSubdivision !need improvement! (e464bdc)

Performance Improvements

  • 3dtiles: Transform 3d tiles region bounding volumes to spheres (f0eaf96)

Code Refactoring

  • bboxDigits: Apply code review (b118942)
  • Feature2Mesh: add gestion feature with variable size (4d44cd3)
  • FeatureContext: use Context on LabelLayer and Feature2Texture (4abab9b)
  • FeatureCtx: move class FeatureContext to Style and rename (2428d56)
  • Feature: remove geometry.properties.style -> use style fct at Feature level (b736f72)
  • FeatureToolTip: update with new gestion of Style (356e695)
  • points: Uniformize naming with three's points shader (d46cd44)
  • Style: change setFromGeojsonProperties() to static (8cf99b6)
  • style: change Style.drawingFromContext(ctx) to Style.getFromContext(ctx) for hierarchization of style properties (17bbe88)
  • Style: change Style.setFromVectorTileLayer to static (5f22009)
  • StyleContext: add setFeature to access feature.type (6b44ef9)
  • Style: fuse drawStylefromContext() and symbolStylefromContext() into applyContext() (db3e455)
  • Style: homogenize gestion fill.pattern between all existing (396edfb)
  • Style: Style hierachisation in Layer.Style instanciation (55849f6)
  • Style: supp collection.style and delete notion of style.parent (40f83b3)
  • Style: supp getTextFromProperties() ad it's done with getContext() (565dd63)

Workflow and chores

  • release v2.42.0 (b4d3ccd)
  • deps-dev: bump @babel/traverse from 7.22.5 to 7.23.2 (66171c7)
  • deps-dev: bump follow-redirects from 1.15.2 to 1.15.4 (9761d58)
  • deps-dev: Update conventional-changelog from 3.0.0 to 4.1.0 (5f084bf)
  • deps-dev: Update eslint and its plugins (1e9371e)
  • deps-dev: Update some developer dependencies (4d74d4a)
  • deps-dev: Update webpack and its loaders (cdaf12f)
  • deps: add copc.js dependency (f89df8c)
  • deps: supp package loaders.gl/las (14884f3)
  • deps: Update @loaders.gl/las from 3.4.4 to 4.0.4 (30ded56)
  • deps: Update @tmcw/togeojson from 5.6.2 to 5.8.1 (e52fba6)
  • deps: Update regenerator-runtime from 0.13.11 to 0.14.0 (878a256)
  • dev-deps: Update puppeteer from 19.4.0 to 21.6.0 (a681103)
  • dev-deps: Update semver due to moderate vulnerability (5a6c7e3)
  • examples: ESMify collada example (b82622d)
  • examples: ESMify multiple 2.5D maps (ac9cea4)
  • Feature: rename base_altitudeDefault to camelCase (658992d)
  • webpack: stop watching node modules in dev mode (47d0c7c)

Documentation

  • ColorLayer: Update doc on effect_type and effect_parameter (d508831)
  • README: remove typo (6329129)
  • style: specify features supported with labels (de88737)
  • View: document View properties (ef8d3f4)

BREAKING CHANGES

  • 3dtiles: Remove region, box and sphere properties of C3DTBoundingVolume.
    They have been replaced by volume property which contains a THREE.Box3 (for
    box) or a THREE.Sphere (for sphere or region). Initial bounding volume type
    can be retrieved with the initialVolumeType property.
  • C3DTilesLayer: C3DTFeature constructor changed from (tileId, batchId, groups, info, userData) to (tileId, batchId, groups, info, userData, object3d)

2.41.0 (2023-10-16)

Features

  • 3dtiles: add method to enable ktx2 loader for gltf (a260109)
  • points: Add attenuated mode for points size rendering (6db3c5e)
  • points: Add option to render points in shape square or circle (363f137)
  • VectorTile: add coordProj in pushCoordinatesValues() to get access to position when using style.base_altitude. (451e5d6)

Bug Fixes

  • example: fix example Gpx 3d and functional test (781a47d)
  • fix Glob error when lauching npm install on windows (e56bf65)
  • picking: Fix point reference of picking (#2192) (1cd4db9)

Examples

  • VectorTile: new example using official mapbox flux, showing buildings placed at ground level. (cefebce)

Code Refactoring

  • Feature: Feature.pushCoordinates() change in arguments order (44e9532)
  • VectorTile: Code clean up (284c46b)
  • View: Deprecate WebGL 1.0 support (1cf7075)

Workflow and chores

  • release v2.41.0 (d47e36c)
  • add commit message checker (9370312)
  • integration: add release commit to message check (b88de83)
  • release: add npm install to npm bump command ([c...
Read more