Skip to content

2.27.0

Compare
Choose a tag to compare
@robyngit robyngit released this 08 Nov 14:53
· 389 commits to main since this release
d2544b0

New Features πŸŽ‰

New Cesium Map Tools πŸ—ΊοΈ

Polygon Drawing Tool:
This release introduces a tool for drawing arbitrary polygons on the Earth's surface within any Cesium map. Although not yet active, this feature paves the way for more advanced geospatial functionalities: future tools will enable plotting and downloading data subsets based on user-specified regions. For further details, see issue #2180.

Screenshot of a mapping application interface showing a drawn polygon over a geographic area with bodies of water named Merchant Lake and Happy Isle Lake. The polygon has marked vertices with red circles and is superimposed over a satellite-style map. On the top right, there is a latitude and longitude reading (Lat 45.72173 Lon -78.50086) and a scale indicating 500 meters. On the left, a vertical toolbar includes buttons for 'Draw Polygon,' 'Clear Polygon,' and 'Save,' with icons for home, a pencil, and a question mark for additional options or help.

Navigation Help:
The Cesium map now includes navigation instructions for new users. Accessible through a question mark icon, the new help panel offers guidance on map movements such as panning, zooming, and rotating. The help panel can also be customized to display tailored help text, like specific feedback instructions for a particular map. Details in issue #2173.

Screenshot of a mapping application with navigation instructions on the left and a satellite image of a region on the right. The navigation panel is labeled 'NAVIGATION INSTRUCTIONS' and shows input methods: 'Mouse' and 'Touch.' Below, instructions are provided for 'Pan view' with left click and drag, 'Zoom view' with right click and drag or mouse wheel scroll, and 'Rotate view' with middle click and drag, or CTRL plus left/right click and drag. On the right side, a vertical toolbar shows icons for navigation, drawing, help, and a highlighted 'HELP' button.

Geographic Coordinate Validation in the Editor ✍️

The EML editor now more thoroughly prevents the entry of invalid geographic coordinates. This means no more bounding boxes with inverted latitude and longitude values or those that erroneously span the international dateline or include the poles. It's a safeguard against common errors that can lead to issues in data interpretation and use. For more information, see issue #2159.

Screenshot of a user interface displaying errors for geographic coordinate inputs. The first error states 'Bounding box crosses the anti-meridian. Please use multiple boxes that meet at the anti-meridian instead.' with northwest coordinates of 0 and 20 and southeast coordinates of 0 and 10 highlighted in red. The second error says 'Coordinates include a pole. Latitudes should be >90 and <90.' with both northwest and southeast coordinates showing 90 and 0 highlighted in red. The third error reads 'North latitude should be greater than South. Please swap the values.' with northwest coordinates of 50 and 0 and southeast coordinates of 60 and 0 highlighted in red.

Misc Improvements

  • Made Cesium Map models, views, & collections more modular (See #2189).
  • Updated gems used to build the documentation website:
    • Nokogiri: 1.13.9 β†’ 1.15.4
    • Github-pages: 214 β†’ 228
    • Minima (theme): 2.0 β†’ 2.5
    • Jekyll-feed (Atom feed generator): 0.6 β†’ 0.15
    • Tzinfo (time zone library): 1.2 β†’ 2.0
    • Activesupport: 6.0.6.1 β†’ 7.1.1
    • Additional dependencies: to their latest compatible versions

Bug Fixes πŸ› οΈ

  • Addressed display issues with small bounding boxes on the Google maps on dataset landing pages (See #2198).
  • Fixed a bug where the table-of-contents in portals was misplaced when the section content was short (See #2195).
  • Resolved a display issue with the feature detail panel size in the Cesium map (See #2192).
  • Corrected a bug that prevented an error message from being shown if the server returned an unexpected result on dataset landing pages (See #2144).
  • Fixed a bug where new metadata records were sometimes being automatically populated with taxa information from previous records (relevant to repositories using the Quick Add taxa feature) (See #2196).
  • Enabled KNB users to set their own datasets to private (See #2215).

Developer Notes πŸ”§

  • The gem updates for the documentation site may require developers to re-run the bundle install command before building the documentation site with bundle exec jekyll serve.

See the complete changelog: 2.26.0...2.27.0.