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

mix multiple road network? #220

Open
stefanocudini opened this issue May 7, 2019 · 6 comments
Open

mix multiple road network? #220

stefanocudini opened this issue May 7, 2019 · 6 comments

Comments

@stefanocudini
Copy link

hi,

I'm using pelias with a different set of data sources.

can I get a mix of road network and road names from two different data sources(I have two polylines file)?

I have openstreetmap and also another different data source with best(and more complete) roads names, but the geometries does not correspond to openstreetmap streets. In this case I was wondering how imported house numbers are interpolated?

Or the best way in pelias is to use one and only one road network?

@missinglink
Copy link
Member

missinglink commented May 7, 2019

You can mix datasets but the only issue will be deduplication.

If you have duplicate streets, but with different paths, then it's possible that some addresses are associated with one and some with the other.
This will reduce the accuracy of results for these streets but I'm not sure how much of a problem it would be in reality because the search logic would likely select the correct street based on the input lat/lon.

Another option you have is to import OSM then delete streets using a bounding-box and then import your other file which has better road names for that same bounding-box, this should help to reduce duplication.

@missinglink
Copy link
Member

Oh sorry, I thought this issue was for pelias/interpolation, so the above is relevant to that repo.

For pelias/polylines I believe there is something which hard-codes the source to openstreetmap, but other than that you can import other polylines files and they'll appear in the street layer.

@missinglink
Copy link
Member

Deduplication will also be an issue, although pelias/api will make some attempts to deduplicate results before they are returned to the user.

@stefanocudini
Copy link
Author

stefanocudini commented Jun 7, 2019

hi @missinglink
I'm trying to import multiple road network.. I'm create in /data/polylines/ more file .0sv from datasource other then osm, I;m generated a custom polylines file from a my shape file.
But I'm just seen that interpolation module of pelias ignore more.. file in /data/polylines.. look at here:

https://github.com/pelias/interpolation/blob/05b6c3718dbeaadf2ed3503d40a51fee896ca29e/docker_build.sh#L5

the script read consider only first file! :(

...import OSM then delete streets using a bounding-box ...
Other questions is... how can I do it in pelias?

@missinglink
Copy link
Member

Hmm you are correct, we did not have need to import multiple polylines files until now.

Two options:

  • (easy way) join the files in to one file
  • (hard way) update the code to support multiple files

@stefanocudini
Copy link
Author

stefanocudini commented Jun 7, 2019

Hmm you are correct, we did not have need to import multiple polylines files until now.

Two options:

  • (easy way) join the files in to one file

just exists in pelias orgs.. repos.. some scripts to help this operation???
beacause.. I thinking join two polylines file having similar gometries.. cloud be cause problems..

Could be a very useful a tool to insert in the pelias module polylines, that make it possible to merge different road networks derived from data sources other than osm.
Trough some conflation tool.

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

2 participants