OpenStreetMap logo OpenStreetMap

Post When Comment
OSM GPX extractor for non experts

Code is now at https://github.com/pangoSE/gpx-extractor MIT license. Feel free to create issues with ideas for improvements or bugs.

OSM GPX extractor for non experts

I now added jQuery Autocomplete from the Wikipedia API. I’m quite happy with the result! :)

OSM GPX extractor for non experts

@mmd Thank you! Now I understand. I will add center to all queries then. :)

OSM GPX extractor for non experts

Hi Hamlet. Have a look on WP:Brittany. It says: “This article is about the cultural region in the north-west of France. For the current French administrative region, see Brittany (administrative region).”

So in this case “Brittany (administrative region)” should work in your case as it is linked with Q12130.

OSM GPX extractor for non experts

Hi mmd, which query do you mean?

This is the function that builds the query: function buildQuery(areaCode) { var q = ‘https://overpass-api.de/api/interpreter?data=[out:xml][timeout:325];area(‘+areaCode+’)->.searchArea;’+query+’out;’;

I decided not to add “center” after out because it does not seem to be necessary and make the query time much longer. togpx() handles the data like this: “Points are converted to Waypoints. Lines are converted to Tracks. (Multi)Polygons are represented as a Track of their outline(s).” see https://github.com/tyrasd/togpx

I don’t know how this looks on a GPS-device because I don’t own one.

What I did in OSM in January 2020

Very nice! I would love to see something like this from more board members and others active in the community 😃

Adding wikidata tags

*try

Adding wikidata tags

Did you hey https://osm.wikidata.link/ ?

Öppna Data: Import av Lantmäteriets Terrängkartan och Trafikverkets NVDB

Med det ny MapWithAI tillägget undrar jag om det fortfarande kan betala sig att hålla på med halvgammal LM data? Det går ganska snabbt för mig att lägga till vägar nu och LM topo anger vägklass.

Calculating total length of paths in Sweden

I have improved the query to better catch the type of paths I’m interested in and added it to the examples as a similar example was missing. osm.wiki/Overpass_API/Overpass_API_by_Example#Count_number_of_ways_and_length Do any of you know how if it is possible to calculate this over time? Say yearly?

Localities without a name

Oh, sorry I did not look closer at the data before proposing this. What I mean was that those with no names or name like properties should be deleted, like those in this improved query. https://overpass-turbo.eu/s/PKW

I am going to check our Swedish maps at these nodes and if nothing name like appears I’m going to ask the author to clarify what it is.

Sorry for the noise.

Quick and dirty OSM statistics with bash and jq

@mmd can it also calculate the percentages?

Quick and dirty OSM statistics with bash and jq

thanks for the tip!

Kaart built a MapWithAI plugin for JOSM!

This looks very promising. Thanks a lot Taylor and Kaart!

Review of "The Red Atlas"

url renders an error

Overpass: note to self

I suppose it depends on which area is larger, the bounding box or the area of the relation. I’m not familiar with h the internals of th Hhh e server, but it is open source so you could measure yourself if you wanted 😃

Overpass: note to self

Nice to see others use overpass. I warmly recommend you to enable expert mode and download directly in JOSM using the wizard. Your searches can easily be typed in using the wizard: 1) operator~”^Biblionet” in Groningen (no results, not sure why) 2) highway~”unclassified|residential” in Ezinge (results in ways around Ezinge)

I use Overpass Turbo a lot, to download only what I’m interested in. This makes it possible to download a larger area than if I were to choose normal download.

Bye bye, mapping

Hi @Atlas. Please don’t leave! We need people like you.

You sound really really tired of the specific situation with other contributors in your local area. Thanks for telling us that. I also don’t know italian, but reverting without discussion first is not ok IMO. Also hounding and bossing over other mappers in your area is very bad practice that I have yet to encounter in Sweden. A good mapper can let things slide for a bit and then gently nudge the new contributors in a specific direction via changeset comments and cleanups, preserving as much as possible. For more seasoned mappers in conflict I recommend the country mailing list + wiki and trying to strike a consensus of how to map if anything not specific to a certain object or place.

I urge you to try to edit the map somewhere else. In Sweden we are very friendly :D and have truckloads of work to do with our roads (high quality data from government needs to be traced), paths in nature reserves, etc. Send me a PM if you are interested in joining and have fun mapping (it does not matter if you live here or not).

Lastly I will say that mapping together is not always an easy task because we are so different and have different levels and experience of solving conflicts. I take breaks sometimes when I feel that something is becoming too important.

Cheers pangoSE

Calculating total length of paths in Sweden

Big thanks! I learned something new. I would love to populate wikidata with queries and results like this to ingest statistics about OSM there with regular intervals. Anyone interested in joining in the effort?

What measures are interesting to you?

  • Number of buildings per country?
  • Total distance of trunks?
  • Total distance of paths?
  • Total area of beaches?
Reflections on OSMF

@Heather Thanks for this summary and thanks for your work on the board. I’m sorry to hear you have had such a hard time on the board. I have been in OSM for years without hardly meeting any others physically and I have had a great experience communicating with fellow Swedish and Danish mappers online via comments and email mostly.

I am personally puzzled about the way OSM/OSMF goes about organizing their organization and infrastructure but honestly I have not felt their influence that much.

I rely on JOSM and Overpass API which has nothing to do with OSMF, but the first is supported by OSMDE judging by their website. The OSM database is practically always online (thanks for that whoever you are who keep it running!) which is the only element in my toolchain that depends on the OSMF and from what I understand OSMF does not do much direct work or policy deciding around how to organize the database/API/osm.org. Unlike Wikimedia which has a whole other organization built up and with servers, reoccurring campaigning, technical staff and server resources allocated in a very different and more centralized way.

I use Swedish governmental sources which have been released as a consequence of Wikimedia Sweden and others (not OSMF what I know) lobbying for years for Open Data (on EU level). I map with a GPS-phone I bought for 100 SEK and I’m happy!

If you are fed up with talk and boardwork come help us in Sweden. We have loads of missing roads to draw from high quality sources (Trafikverket Roads layer), etc.

I invite you to take breaks and do as I do and go to the woods and have fun and perhaps you will forget for a while about all the things you/we have a hard time changing :) (You are very welcome in Sweden. We have thousands of natural reserves and many more kilometers of trails (see this query for all the parks https://overpass-turbo.eu/s/Ohe NB: 70 MB!)

@imagico I agree, it would be interesting to see e.g. hot spots for people writing diary entries.