OpenStreetMap

pangoSE's Diary Comments

Diary Comments added by pangoSE

Post When Comment
“There is a place called X in Y, there is a place called Y in Z, …” 7 months ago

Nice work!

First Impressions of Open Street Map 7 months ago

@beautifulplaces2020 I think you misunderstood the policies. There is a pretty strict import policy, but if your municipality has CC0 or CC-BY with a waiver of the attribution, it totally possible to add official addresses. In DK they added them in bulk for most of the country a while back. Please contact the local mapping community and help get involved. I contacted the Swedish authorities and open addresses for all of Sweden is on their roadmap in the near future. Your government could probably be persuaded to release the information as well. I add addresses using the AddressIntrapolation plugin after scouting them out. It’s pretty fast once you get the hang of it. Cheers

File management and online collaboration for the OSMF 7 months ago

Very nice 😃.

GPX-extractor updates and OsmAnd filter 7 months ago

Beware of the “no waypoints found bug” with OsmAnd, workaround is here: https://github.com/osmandapp/OsmAnd/issues/11278

A 2021 Update on Paid Editing in OpenStreetMap 7 months ago

Big thanks. Very clear

North Carolina Mountains-to-Sea Trail complete (almost) about 1 year ago

Fantastic!

Help with overpass syntax over 1 year ago

A ha! Thanks again mmd! This should be added to the union documentation I think.

OSM GPX extractor for non experts almost 2 years ago

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 almost 2 years ago

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

OSM GPX extractor for non experts almost 2 years ago

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

OSM GPX extractor for non experts almost 2 years ago

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 almost 2 years ago

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 almost 2 years ago

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

Adding wikidata tags almost 2 years ago

*try

Adding wikidata tags almost 2 years ago

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

Öppna Data: Import av Lantmäteriets Terrängkartan och Trafikverkets NVDB almost 2 years ago

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 almost 2 years ago

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. https://wiki.openstreetmap.org/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 almost 2 years ago

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 almost 2 years ago

@mmd can it also calculate the percentages?

Quick and dirty OSM statistics with bash and jq almost 2 years ago

thanks for the tip!