Skip to content
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

Subsources! #17

Open
bertspaan opened this issue Jun 5, 2015 · 3 comments
Open

Subsources! #17

bertspaan opened this issue Jun 5, 2015 · 3 comments
Assignees

Comments

@bertspaan
Copy link
Member

Idea:

Allow subsets per data source, for example bag.streets, bag.buildings, tgn.places, tgn.terms, et cetera. An owner can make as many sub sources, as long as he owns the parent source (or maybe subsources are created implicitly when adding PITs or relations to them). Users can query on parent sources (source=bag or source=bag.*), or on a single subsource (source=bag.streets).

This is a good idea, because:

  • Some data sources consist of different types of data, with different meta data (in data field) per PIT
  • Using subsources, Core itself can add a subsource for inferred relations (e.g. tgn.places.inferred)
  • It's easy to update/delete a subset of your data, without touching the rest

@mmmenno, @phpetra, @wires what do you think?

This should be implemented in API, IO, Core and Viewer as well!

@bertspaan bertspaan self-assigned this Jun 5, 2015
@mmmenno
Copy link

mmmenno commented Jun 5, 2015

For gemeentegeschiedenis I had to make 2 datasets: 1 for the actual gemeentes and 1 for the geometries. I can imagine that doesn't make sense to users.

With tgn I was breaking my head over the question how to add foreign places without creating yet another dataset with a name like 'tgn-not-nl'. This idea sounds like just the solution I was looking for!

How much time will it take to make this work? Should we not concentrate on other issues first?

@bertspaan
Copy link
Member Author

@mmmenno yes, we should concentrate on other issues first, but this is something we can slowly implement, we do not have to do it at once.

@mmmenno
Copy link

mmmenno commented Jun 7, 2015

@bertspaan I'd say let's do it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants