Skip to content
This repository has been archived by the owner on Jun 4, 2018. It is now read-only.

Make OSM format as a wrapper of the core function #3

Open
bekicot opened this issue Jul 25, 2017 · 3 comments
Open

Make OSM format as a wrapper of the core function #3

bekicot opened this issue Jul 25, 2017 · 3 comments
Assignees
Labels
Milestone

Comments

@bekicot
Copy link
Contributor

bekicot commented Jul 25, 2017

Is it possible to make OSM format is the wrapper extension of this tools?

So that we can create a wrapper for another type of JSON object coming from another source.

One of the interesting types is wiki data. I also have sets of data need to be properly linted using this tools, but converting Wikidata objects into a compatible osm object will be a bit of pain.

In my opinion,
Hanum should have a Generalized simple object schema. And then incompatible format with Hannum can easily be converted to Hannum's schema.

Not sure is a good thing though, let me know your thought.

@wisn
Copy link
Owner

wisn commented Jul 25, 2017

There is exists a package for OSM like this. But, it's an old one and I think that package wouldn't maintained anymore. I think the best way indeed to creates a generalization of the object data structure as a schema. Let me take a look on Wikidata object first. Any sample?

@wisn wisn added the request label Jul 25, 2017
@wisn wisn added this to Proposed in First Release Roadmap Jul 25, 2017
@wisn wisn self-assigned this Jul 25, 2017
@wisn wisn added this to the Alpha Sprint milestone Jul 25, 2017
@bekicot
Copy link
Contributor Author

bekicot commented Jul 25, 2017

@wisn Wikidata JSON objectsis schema-less the results can be anything. Wikidata is a bad example I pointed out.

But the point is, if hanum provided a simple interface, I can easily format Wikidata into hanum's JSON schema.

Here is a sample of the data I'm going to use
http://tinyurl.com/y9kovnjy

As you can see, if we change the select query, Wikidata will change the attributes into something else.

@wisn
Copy link
Owner

wisn commented Jul 25, 2017

Sure. Will starts to design ASAP.

@wisn wisn moved this from Proposed to Ongoing in First Release Roadmap Jul 25, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
Development

No branches or pull requests

2 participants