Skip to content

Conversation

okauppinen
Copy link
Contributor

File settings:

  • use mid index for delimeter detection (if first line is header, white spaces caused wrong delimeter detection)
  • detect prefixColCount
  • detect EPSG code from header lines (loops 4 or 5 digits numbers)
  • change detect header lines count to use at least 2 number cells (not all) to detect first data line (prefix or line endings might be non numeric)
  • use default values from import file (user may want to use same format/syntax for exported file)
  • handle prefixColCount in jsx

Fixes:

  • parse result coordinates to float (for file export)
  • use info as tooltip instead of title (file settings popup)
  • parse file always with dimension 3 as srs and/or height might not be selected before import

Add debug transform:
Oskari.log('CoordTransHandler').enableDebug(true)
Oskari.getSandbox().findRegisteredModuleInstance('coordinatetransformation').getFlyout().getHandler().debugTransform()

@ZakarFin
Copy link
Contributor

Looks good to me, just fix the lint-errors.

@ZakarFin ZakarFin added this to the 2.1.0 milestone Sep 24, 2025
@ZakarFin ZakarFin merged commit 9eba975 into nls-oskari:develop Sep 24, 2025
1 check passed
@ZakarFin ZakarFin modified the milestones: 2.1.0, 2.1.1 Sep 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants