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

workflow.json in osm example is not working #847

Open
benoitregamey opened this issue Apr 11, 2024 · 3 comments
Open

workflow.json in osm example is not working #847

benoitregamey opened this issue Apr 11, 2024 · 3 comments

Comments

@benoitregamey
Copy link

Hi there,
Awesome project, thanks !

Here's my 2 cents : the examples/openstreetmap/workflow.json seems not to work. Log says :

Could not resolve type id 'ImportOsmPbf' as a subtype of `org.apache.baremaps.workflow.Task`

I had to manually download OSM data in .pbf and use the command baremaps database import-osm to get it to work.

All the best
Benoit

@bchapuis
Copy link
Member

bchapuis commented Apr 11, 2024

Thanks a lot for reporting this issue. Could you tell me which version of baremaps you are using?

We are in the process of dropping a new release and I fixed some issues when testing the examples. Do you think they may be related?
#848

Also, everyone is invited to vote for the release artifacts, so do not hesitate to add yours.
https://lists.apache.org/thread/cvz3y3rqsnv37zqx8b7vo65f6lpbtjm6

@benoitregamey
Copy link
Author

I used version 0.7.2 from here https://dist.apache.org/repos/dist/release/incubator/baremaps/0.7.2/

We are in the process of dropping a new release and I fixed some issues when testing the examples. Do you think they may be related?
I don't know, according to the logs, it seems the task ImportOsmPbf does not exist

@bchapuis
Copy link
Member

The format of the workflow currently used in the main branch probably changed slightly and is not supported by 0.7.2 anymore. One option could be to try with 0.7.3-rc1 from here (I tested the openstreetmap example currently in main with this release candidate):

https://dist.apache.org/repos/dist/dev/incubator/baremaps/0.7.3-rc1/

Another option could be to use the workflow tagged with 0.7.2 (as you noticed the problematic task was named ImportOpenStreetMap by then and was renamed ImportOsmPbf):

https://github.com/apache/incubator-baremaps/blob/v0.7.2/examples/openstreetmap/workflow.json

Do not hesitate to reach out if you need some support along the setup.

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