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

Add feature for coodinate reprojection #105

Open
jdavidls opened this issue Mar 6, 2019 · 0 comments
Open

Add feature for coodinate reprojection #105

jdavidls opened this issue Mar 6, 2019 · 0 comments

Comments

@jdavidls
Copy link

jdavidls commented Mar 6, 2019

I think coordinate reprojection can be usefull if we want to use the resulted geojson data with other services like google places/routes, or other openstreetmap open services.

I think the most simple implementation for that can be throught a callback, like this:

var result = osmtogeojson(osmdata, {
  reprojection: (coords) => {
    // reprojection here
    return otherCoords;
  }
});

Would a pull request be accepted?

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

No branches or pull requests

1 participant