histograph / data

http://histograph.io
MIT License
0 stars 4 forks source link

Subsources! #17

Open bertspaan opened 9 years ago

bertspaan commented 9 years ago

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:

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

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

mmmenno commented 9 years ago

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 commented 9 years ago

@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 commented 9 years ago

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