-
-
Notifications
You must be signed in to change notification settings - Fork 220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On duplicate Source ID, make ALL dups have a number index, e.g. srcId.N
#670
Comments
Agree, we should probably fix the docs, unless we want to change the algorithm. I'm not against changing it, but it might be a bit tricky to implement? |
Yeah. I haven't dug into the code about this part. If I give it a try, may I get your guide? @nyurik |
Sure, but this is not trivial task (but not too difficult either). Current process:
So to modify this, you would need to do the following:
This should pretty much solve the issue, except for one thing -- the internal metadata that gets generated by each source would also need to be updated somehow, e.g. by adding a new source trait method like |
Could we update get table source sql first and then call resolve like this resolve(points.1,schema.points.geom1) @nyurik |
@sharkAndshark I'm not sure what you mean. The |
srcId.N
Yeah.You are right.I was thinking group and rename it But it not resolved problems this way. |
I'm not too certain this problem is worth the effort at this point. Other issues might be more urgent, like making it very simple to set up all the static resources -- e.g. bring up martin + style + fonts + maplibre lib in one go, or at least document a way to do that easily with other tools, ... |
If Martin could transform and caching fonts between Woff,ttf,sdf.That would be cool.Like there is a ttf in Martin,and client can request pbf(Martin transform them internally).But let's talk about them in another issue/discussion. |
Does this description reflect Martin's actual actions?
Doc says:
I start a Martin server with test postgis database and fetch the catalog API:
It's not
table.1
andtable.2
buttable
andtable.1
The text was updated successfully, but these errors were encountered: