Skip to content

add TileProviders.jl source code to this repo#47

Closed
asinghvi17 wants to merge 66 commits intomasterfrom
tileproviders
Closed

add TileProviders.jl source code to this repo#47
asinghvi17 wants to merge 66 commits intomasterfrom
tileproviders

Conversation

@asinghvi17
Copy link
Member

No description provided.

felixcremer and others added 17 commits November 7, 2023 16:39
reset to 0.1.3 because it was not tagged yet. 
Also set the compat for Dates to 1.0 to prepare for the detached standard libraries.
* Bump codecov/codecov-action from 3 to 4

Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](codecov/codecov-action@v3...v4)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update .github/workflows/CI.yml

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Martijn Visser <mgvisser@gmail.com>
Bumps [julia-actions/setup-julia](https://github.com/julia-actions/setup-julia) from 1 to 2.
- [Release notes](https://github.com/julia-actions/setup-julia/releases)
- [Commits](julia-actions/setup-julia@v1...v2)

---
updated-dependencies:
- dependency-name: julia-actions/setup-julia
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [julia-actions/cache](https://github.com/julia-actions/cache) from 1 to 2.
- [Release notes](https://github.com/julia-actions/cache/releases)
- [Commits](julia-actions/cache@v1...v2)

---
updated-dependencies:
- dependency-name: julia-actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4 to 5.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](codecov/codecov-action@v4...v5)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@rafaqz
Copy link
Member

rafaqz commented Apr 14, 2025

This one I don't get... TileProviders is fine as it is?

It's already used directly by Leaflet.jl that needs nothing in MapTiles.jl.

What do we gain from the move?

@asinghvi17
Copy link
Member Author

Just to move everything in the map tile world into a monorepo. Should make life a lot easier if/when we start rendering vector tiles.

@visr
Copy link
Member

visr commented Apr 14, 2025

It's already used directly by Leaflet.jl that needs nothing in MapTiles.jl.

To be clear this doesn't make TileProvider

@visr visr closed this Apr 14, 2025
@visr visr reopened this Apr 14, 2025
@visr
Copy link
Member

visr commented Apr 14, 2025

Woops sorry for the close/reopen

It's already used directly by Leaflet.jl that needs nothing in MapTiles.jl.

To be clear this doesn't change anything about TileProviders.jl other than the location of the code.

I have no strong preference about doing this or not. Would be nice if the url https://juliageo.org/TileProviders.jl/dev/ keeps working.

And don't squash on merge to keep the commits.

@asinghvi17
Copy link
Member Author

Right, the idea here was to make this a Makie like monorepo. Then changes to interface are far easier to make if we need them (e.g, new interface functions for crs, boundingbox, preferred downloader, etc.)

@rafaqz
Copy link
Member

rafaqz commented Apr 14, 2025

I'm really happy to have MapTilesBase.jl here in a subdir but I don't see the need to have TileProviders here until there is some real friction with where it currently is.

I find monorepos lack discoverability, and are mostly justified when you need to do regular changes to many of the repos at once. But TileProviders.jl barely ever needs changes.

(and the changes you are suggesting would still be one or two PRs much smaller than this one)

To be clear this doesn't change anything about TileProviders.jl other than the location of the code.

@visr what it changes is the context of development and discoverability for packages and custom usecases that just need those url paths. TileProviders.jl was meant to be a dead simple standalone package with a very clear and bounded use case - listing all the tile providers.

@visr
Copy link
Member

visr commented Apr 14, 2025

Regardless if we merge this, I think we should move MapTiles to the /MapTiles subdir if we'll get MapTileBase. Just like Deltares/Wflow.jl#578. Makie has Makie at the root, and if you look under .julia/packages/Makie you'll see all subdir packages are there even though they don't do anything.

If we merge this I'd probably also drop the .jl from TileProviders.

@rafaqz
Copy link
Member

rafaqz commented Apr 14, 2025

That makes total sense - there is no need for the "main" package to contain the code of all the other packages in the repo.

@asinghvi17
Copy link
Member Author

There's a valid point that TileProviders should be outside MapTiles. Maybe MapTiles.jl can pull TileProviders in and define the MapTilesInterface on TileProviders then, removing the need to monorepo-ize this.

@visr that suggestion also makes sense - will move MapTiles.jl to a subdir in a future PR.

Closing this for now since we aren't moving TileProviders source code here.

@asinghvi17 asinghvi17 closed this Apr 14, 2025
@visr
Copy link
Member

visr commented Apr 14, 2025

@rafaqz yeah I'm aware, I'm not arguing for this change, was just making sure you understood the PR. Indeed if it had always been a well defined package I don't see a clear benefit to this PR (I do for MapTilesBase).

Do note that Pkg handles url subdir installs pretty well.

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.

8 participants