Talk:Ștefănești
Latest comment: 3 years ago by Wauteurz in topic Map shape for Ștefănești
Oh wow, so thorough, the write-up. Lazarus1255 (talk) 05:03, 3 January 2021 (UTC)
Map shape for Ștefănești
edit- Swept in from the pub
I'd like to create a map shape for Ștefănești for the readers to see the limits of the Town, but I don't know how to do this. Can you help me? I leave an exemple here how should I would like to be --User:Romanichthys Valsanicola 14:51, 29 June 2021 (EET)
- You'll need to go onto Wikidata for that. SHB2000 (talk | contribs | en.wikipedia) 11:55, 29 June 2021 (UTC)
- Normally this is a case of visiting Wikidata and copying the Wikidata ID (Q#) into {{Mapshape}}. For Ștefănești, however, it looks like the Wikidata item does not have a boundary associated. Therefore, you'd have to add it manually. To do this, you would have to:
- Go to [openstreetmap.org] and navigate to the location of choice.
- Open the editor and find the boundary of the location.
- Find what relation this boundary belongs to, always somewhere near the bottom of the page (In our case, it's 10664190).
- Copy this number and load it on OSM Route Manager.
- Add this to your "Personal route" and download the GPX file.
- Next, open the GPX to mapmask converter tool and upload this GPX file.
- Hit "Convert", and copy-paste the resulting code into the article where it doesn't get in anyone's way (i.e., the very top or very bottom of the article).
- And that's it. It's a bit of a tedious process, but there is almost always a satisfying result. I have done this process for Ștefănești now to verify this actually still working, so I'll go ahead and enter the result into the article. This explanation is the abbreviated version of Template:Mapmask/doc and is here for future reference though. -- Wauteurz (talk) 12:26, 29 June 2021 (UTC)
- Normally this is a case of visiting Wikidata and copying the Wikidata ID (Q#) into {{Mapshape}}. For Ștefănești, however, it looks like the Wikidata item does not have a boundary associated. Therefore, you'd have to add it manually. To do this, you would have to:
@Wauterz Thank you very much for your help! I'll apply that to another articles in the future. Same steps work also for public transport routes? --User:Romanichthys Valsanicola 14:51, 29 June 2021 (EET)
- Not a problem! For transport routes it both does and does not work the same. There are several templates for dynamic map elements that all have a slightly different function:
- {{Mapshape}}: For shapes and masks (boundaries) and line elements (routes) based on Wikidata items.
- {{Mapmask}}: For shapes and masks (boundaries) based on raw GPX data.
- {{Mapshapes}}: For a collection of line elements (routes) based on Wikidata items.
- Only thing that I think is lacking still is a template to render line elements based off of raw GPX data. If anyone else knows of this existing, please let me know.
- In any case, I'd suggest you to keep yourself to adding these dynamic map elements for places that have the Wikidata available. If not, some of the templates I linked have quite extensive documentation on how to get this working instead. Do keep in mind that in the case of Mapshapes, for example, it might take several days before the necessary changes made on OSM and WD become visible here. That said, if you need some reference, I can suggest having a look at Rotterdam and the Wikidata items it calls: Q691704 (metro network) and Q1429091 (tram network).
-- Wauteurz (talk) 13:15, 29 June 2021 (UTC)
@Wauterz OK, thank you for explanations. Have a nice day!--User:Romanichthys Valsanicola 17:10, 29 June 2021 (EET)