How can we upload data I have collected and created in QGIS and saved it in .gpkg format to OSM

I have created and updated the point layers and line layers and have huge data of different roads, hiking, trekking trails also recording the different point of interest on those trails. These data are all saved properly in gpkg format. Now How do I upload this data to OSM? What are the procedures to same my different data like I have collected the data for road grade (if it is pitched, gravel, hiking road, or it is cycling) and others as well. Please provide any resources or any guides to update this data to OSM. I am willing to learn the process. In QGIS and gpkg everything is ready now I just need to learn the process to update this data in to OSM.

There is a plugin for the JOSM editor which can load a shape file into a layer. You can copy individual objects from that layer into a OSM layer. You will need to manually connect them into existing objects (for example, connect a trail to a road at a trailhead).

If the object already exists in OSM you will need to “conflate” your data with the existing. This can be a bit tricky but if you look at how others have made imports you can get an idea of how this can be done.

4 Likes

Thanks for the solution. I am new to JOSM and also mapping if you have any links or resources to apply or learn the above mentioned process, please Could you provide to me. I am willing to learn this from basics.

Again thank you for providing the solution.

You can

  1. Export the qgis layer and points/verts/polygons to seperate gpx file
  2. Import therm into josm as gpx layer
  3. trace them and re-create the pois and ways
  4. turn the background layer on to see, and compare manully

This is how I do

1 Like

After uploading some changes, they rejected them for not coordinating them well with the existing ones. Could you explain how it would be done correctly? Or add a link that explains it

In your case no, that’s not what happened. Looking at https://www.openstreetmap.org/changeset/156775339, it looks like you were asked to follow the import procedure defined here and discuss with the Spanish community here.

I just don’t know what rules I have broken. The Spanish forum does not answer me, I have also asked.
I uploaded a shp trougth josm.
I just want to be able to contribute without disturbing the rest.

You posted yesterday - give them a chance to read it and reply!

Looking at one of the ways that you added, you’ll need to discuss with them what information is relevant to OpenStreetMap and how best to add it.

True, but the specific reason for being asked to do this was to respect the existing data, so it’s a reasonable interpretation.

Yes, I saw your question here. I didn’t answer because I hoped a native Spanish speaker would reply (I can read the Spanish forum but I write Spanish rather slowly), and also because I know nothing about QGIS and shapefiles.

If I understand your question correctly, these streets are roads are already in OSM and in the right location - is that correct? If that is the case, you would only want to update tags on existing OSM objects. If it’s a relatively small set of roads, there may be no need for an “import” at all.

Perhaps a way to start would be to manually update a few streets (assuming the data you are using has a licence suitable for OSM - or even better, if there are things you know from personal observation - that could relate to any area that you are familiar with, it doesn’t have to be the streets you want to import). That would give you a better feel for how OSM data works, and perhaps judge whether any kind of automated import is actually needed.

4 Likes