Skip to content

Better tiles render and webmercator projection - #149

Merged
LabordePierre merged 7 commits into
ThalesGroup:mainfrom
labordep:dev-projections
Jan 16, 2026
Merged

LabordePierre merged 7 commits into
ThalesGroup:mainfrom
labordep:dev-projections

Conversation

@labordep

Copy link
Copy Markdown
Contributor

Projections:

  • Add WebMercator projection and setup by default (in fact previous used Mercator projection was similar to WebMercator projection)
  • Add classic Mercator projection
  • Small UTM projection cleaning
  • Create benchs in a new class
  • refactoring of projection side, more clear methods names
  • remove not used methods
    MapTilesLayer :
  • Enhanced current tile z level processing : only one time at each scale changes.
  • Better tiles rendering (with limited magic numbers and computed gap)
  • Can be used with others projections (i.e. UTM) but with cool glitches :)
    Add tests

Bench :
Time for project and reverse project 1 milions of positions :

  • Web Mercator : 274ms
  • Mercator : 1441ms
  • UTM : 2346ms

…projections, probably due to another things)
…fixes.

Projection traits: fix explicit requirement call, add projection name, implement printOn method.
Auto-refactoring on deprecated methods.
Projections:
- Add WebMercator projection and setup by default (in fact previous used Mercator projection was similar to WebMercator projection)
- Add classic Mercator projection
- Small UTM projection cleaning 
- Create benchs in a new class
- refactoring of projection side, more clear methods names
- remove not used methods
MapTilesLayer :
- Enhanced current tile z level processing : only one time at each scale changes.
- Better tiles rendering (with limited magic numbers and computed gap)
- Can be used with others projections (i.e. UTM) but with cool glitches :)
Add tests

Bench :
Time for project and reverse project 1 milions of positions :
- Web Mercator : 274ms
- Mercator : 1441ms
- UTM : 2346ms
@LabordePierre LabordePierre self-assigned this Jan 13, 2026
@LabordePierre LabordePierre added bug Something isn't working enhancement New feature or request technical work Some technical stuff: technical debt, refactoring, cleanup, performance, writing unit tests, etc. labels Jan 13, 2026
@labordep

Copy link
Copy Markdown
Contributor Author

Need to merge ThalesGroup/GeoTools#35 before.

@LabordePierre LabordePierre added pending Waiting for something and removed pending Waiting for something labels Jan 13, 2026
@LabordePierre

Copy link
Copy Markdown
Contributor

Thanks @LANDAISB I will process your review.

@labordep
labordep requested a review from LANDAISB January 16, 2026 08:47
@LabordePierre
LabordePierre merged commit 4e19638 into ThalesGroup:main Jan 16, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request technical work Some technical stuff: technical debt, refactoring, cleanup, performance, writing unit tests, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants