Replies: 3 comments 7 replies
-
|
🧵 How to define a projection? |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
🧵 Other implementations that worked well? |
Beta Was this translation helpful? Give feedback.
2 replies
-
|
🧵 APIs? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Following from #611 proposal to add projection support, lets move the complex discussion here as it allows threads. These are some of the questions I personally had, but I'm sure there are a lot more options to consider.
IMPORTANT please use threads where appropriate, rather than creating a new top level answer (unless its a new topic)
Configuration vs Per-Request
Do we force site admins to explicitly allow which sources should support which projection, or do we let users do that?
/src/z/x/yand/src/3857/z/x/yI suspect we should really let the site admin pre-configure additional sources due to above, but not certain yet.
URL pattern
/src/proj/z/x/yor/src@proj/z/x/y-- The@is like saying "this source in this projection". Symbol IDs currently cannot contain this symbol, so that's ok./src/z/x/y, and let the admins define the needed ones explicitly in the config? E.g. they could createmysourceandmysource_4326- keeping the system far simpler, and solving many unknowns except the configuration one.Config
This one is really tricky, and I don't know a good answer. I think we should adapt OGC work as much as possible if applicable, especially since OpenLayers supports a lot of it - and could use this API out of the box(?). Defining projections is tricky, so we should:
epsg:4326should "just work". We may also (eventually) allow to do local custom definitions -martin:foo_baris a custom martin projection defined in the config?Tile storage format
Re-projections
PG support
ST_AsMVTbe able to handle it? (More specifically -ST_AsMVTGeom)See also
Which other systems have already done this, esp those that worked well? Links needed.
Beta Was this translation helpful? Give feedback.
All reactions