User talk:Matroc

From Wikivoyage
Jump to: navigation, search

Welcome[edit]

Hello Matroc! Welcome to Wikivoyage.

To help get you started contributing, we've created a tips for new contributors page, full of helpful links about policies and guidelines and style, as well as some important information on copyleft and basic stuff like how to edit a page.

If you are a Wikipedian then you may notice some differences in policies and the style of our articles. These include:

It may also be very useful for you to check out Wikivoyage:Welcome, Wikipedians. If you need help, take a look at Wikivoyage:Help, or else post a message in the travellers' pub or on my talk page. Thanks for contributing! --Saqib (talk) 00:06, 28 July 2013 (UTC)


Listing templates in state-level articles[edit]

You really do a wonderful job and deserve a multitude of barnstars!

However, I don't agree with using listing templates in articles about states, such as the Kerala article. Instead, there should be a summary, with the names of beaches bolded in a prose paragraph. See Wikivoyage:Region article template. Ikan Kekek (talk) 03:24, 5 August 2015 (UTC)

Ikan - Yes - I agree with Beaches in Kerala whould be in prose, especially since the aforementioned beaches should already be fully represented as listings in city articles. Reverted text DONE... Matroc (talk) 03:41, 5 August 2015 (UTC)

Thanks, Matroc. Ikan Kekek (talk) 09:39, 5 August 2015 (UTC)

[edit]

How are you? Himalayan North is in desperate need of a pagebanner, if you're interested.

Very best,

Ikan Kekek (talk) 09:22, 5 October 2015 (UTC)

  • Candidate found is a view from Lhakpa, La in Tibet -- nice picture just the same the only other decent one I found is already being used for Uttarakhand Matroc (talk) 04:20, 6 October 2015 (UTC)
Thank you. Definitely better than having one from clear across the country. Ikan Kekek (talk) 04:37, 6 October 2015 (UTC)

General Topic Pages created for India[edit]

TRANSCLUSION Test not using LabeledSectionTransclusion[edit]

  • From User:Matroc
TESTING TRANSCLUSION!

When missing links from Wikipedia are done[edit]

As per the instructions at Wikivoyage:Search Expedition/Missing links from Wikipedia, when links are done, please remove them from the list, rather than flagging them as done. It is easier to scan the list if they have been removed. Cheers. Nurg (talk) 05:43, 19 December 2015 (UTC)

Barncompass[edit]

Barncompass.png The Wikivoyage Barncompass
This Barncompass is to show appreciation for all your great work on Wikivoyage, and what prompted it in particular is your tireless and continuing efforts to converting numerous mentions of Indian rupees into the rupee symbol. -- Ikan Kekek (talk) 03:44, 21 January 2016 (UTC)

Maps[edit]

Wow! Well done, thanks for experimenting with maps, I was very impressed. I would love to talk to you, possibly even over video, to get your feedback on the maps and the features we are building next for it. CC:@CKoerner (WMF):.   --Yurik (talk) 00:48, 13 May 2016 (UTC)

Thank you Yurik for your comments - sent an email - Matroc (talk) 17:42, 16 May 2016 (UTC)

Listing syntax change - minor edits needed[edit]

  • Have been fixing image names and removing image names that do not match up in Commons
  • 1 Wupatki National Monument, near Flagstaff — Contains the remains of multiple ancient Native American settlements.

An award for you![edit]

Barncompass.png The Wikivoyage Barncompass
I want to know that u barnstar Brooks mesha gay (talk) 16:32, 15 July 2016 (UTC)

Trademark symbols in file names[edit]

re: Special:Diff/3130988/3134339, thanks for catching that (twice). I've updated the replacement patterns so that the bot will no longer attempt to remove ®, © and ™ until I can get a fix in place to prevent it from doing so in file and link names. -- Ryan • (talk) • 05:53, 26 January 2017 (UTC)

  • Great Ryan - keep up the fantastic work! -- Matroc (talk) 04:54, 27 January 2017 (UTC)

Dynamic region maps[edit]

Hi Matroc - when I raised the issue about two maps on the same page, I wasn't meaning to capture the Indian maps you had done like Himalayan North. Your maps were proper region maps with colour-coded regions; the ones I was calling out didn't have colour-coded regions or even a map mask. Apologies if it came across that I was attacking or diminishing your work. I think the work you've done is very important to improving dynamic maps and getting us closer to a day when they're more widely accepted in the community.

Shaundd - NO apologies needed - not at all! - this very issue was raised just a few days ago on another talk page with basically the same divided results - things will definitely change and improve in the future. I havn't given up - (Peu en peu, le petit oiseaux a construir son nid ) --

If you're still interested in working on dynamic maps, I was wondering if you'd be interested in building a prototype where the region boundaries aren't in OSM/Wikidata. The GIS software I use to create static maps can export objects in GeoJSON (and a couple of other formats) so I can provide region boundary data sets, but I don't have the programming/template skills to do the rest. -Shaundd (talk) 03:59, 12 May 2017 (UTC)

Shaundd - There is some minimal work going on with using "Wikimedia Commons" to build and act as a repository for maps. I do not know the status of that project. Commons has what is called Data: pages which are files with a .tab or .map extension. See: this map as an example. In edit mode, you can see the actual coding. The map is accessed/called using type: ExternalData option with a service and title parameter in a mapframe and displays the map - I believe maplink can also call on external map code as well.

<mapframe width=300 height=400 zoom=9 latitude=31.914271 longitude=35.084371> { "type": "ExternalData", "service": "page", "title": "IsraelHighways/1.map" } </mapframe>

  • To call this is fairly easy - everything is located within the coded file - so you don't really have the option of changing colors etc.; unless, you create a different version of the .map file and use it.
  • This is a LineString representing a highway structure in Israel.
  • Polygons, multipolygons, multilines can be made as well ie. shaded areas outside a polygon can be done fairly easy etc.
  • Pretty much the data is GeoJSON format, any minimal errors can give you some grief until you figure it out.
  • You might experiment using a Data:Sandbox.........map file name in the meantime.
  • I hope this helps and have a good day! -- Matroc (talk) 03:49, 13 May 2017 (UTC)
  • @Shaundd: - ps. -- Read https://www.mediawiki.org/wiki/Help:Map_Data
Thanks for the info and the link. I had heard that data might be hosted on Commons but hadn't had time to dig any further. Reading through the page I'm not sure it's as flexible as I'd like, but I'll experiment with it and see how it works. Cheers -Shaundd (talk) 05:20, 15 May 2017 (UTC)

Test Commons Data Map[edit]

  1. Created a map on Commons - Data:Sandbox/Matroc/Test.map
    • Fairly intuitive to open file and fill in the required information and provide GeoJSON format for mapframe
  2. Can use a mapframe and get data file
  3. Can use maplink - to make it appear in a mapframe in this case group parameter may come into play - possibly show as well.
    • maplink should have something like class="no-icon" text="" group="other" and mapframe can have group=other or show=other
  • Thanks for checking this out and posting results. Things have gotten busy, but I'm hoping to have time to test it out later this week or the weekend. -Shaundd (talk) 13:47, 16 May 2017 (UTC)
Hi Matroc, I've been testing out the Data page and added a few dynamic maps that pull the data in. It works well if you do everything in Commons, but it doesn't see as flexible as using Wikidata IDs/OSM. For instance:
  • I can't change properties of the object when I add it to a map on WV (different fill colour, opacity, etc), and
  • I can't get it to map mask the same way we do with an OSM relation.
Was wondering if you knew anything about that or had had more success. Cheers, Shaundd (talk) 23:41, 26 May 2017 (UTC)
  • @Shaundd: - Yes there are limitations and other things that will come up that I found as well in the past.
    • Mapmask - Works like a MultiPolygon - an outside polygon (outside shaded area) and an inner polygon (region or regions). In this case your 3 regions or just a single region as on your test page - put mapmask coordinates AND the coordinates of the area and you get the boundaries. - You did this already in Commons. To get colored section etc. add your other map as an overlay. I did this on your test user page for Northern Oregon for you to be able to see it.
    • When using MultiPolygons, MulitPoints etc. you end up with 1 set of properties and not individual properties as they all belong together and treated as one thingy (real technical lol). That appears to be the case with Mapmask.
    • Note: When you have for example: cities and locations on your page and you click on that marker a map will popup. You have to be aware of some of the oddities with group and show etc. if you want certain things to appear on that map. Should play with that as well. Group other2 or other3 won't show up in that map; though other will. This map seems to pick up group names that match the types in listings -- Anyhow, hope this helps! -- Matroc (talk) 05:01, 27 May 2017 (UTC) -- see also: test Laboratory

An award for you![edit]

Barncompass.png The Wikivoyage Barncompass
Thanks for the assist with the map on Herndon, VA page. I'm pretty new to this and still learning all the templates and how to edit stuff. I'll probably tap you for help if you're alright with me asking for help hear and there. DocSershon (talk) 13:41, 9 June 2017 (UTC)

Text on dynamic maps[edit]

Hi Matroc, I see you've been testing adding text to dynamic maps. I saw this on Stack Overflow, which looked pretty cool. Is any of this code usable/compatable with the Kartographer extension or the Map module? -Shaundd (talk) 18:50, 15 June 2017 (UTC)

Shaundd - I am just investigating an idea I had about literally drawing letters by hand with GeoJSON (a feeble attempt). About "Stack Overflow" article, I don't do much Javascript or CSS to know if we can incorporate something like adding leaflet layers etc. That would be a question to pose on one of the Wikivoyage Dynamic Maps article pages. It would be pretty cool if we could add text labels though. Cheers! -- Matroc (talk) 00:13, 16 June 2017 (UTC)

map help[edit]

Hi, i am looking to map all instances of federal bank.

  • I do not think I can help you with this. You would need all of the geographical locations of the Federal Bank branches and Wikidata does not appear to have them. I do not know of any database query to perform to obtain that information. Perhaps some help could be found at mediawiki.org Best wishes! -- Matroc (talk) 04:59, 14 September 2017 (UTC)
  • Naveenpf --- Federal Bank - create a map of multiple places - If you have geographic locations you can create a map with those points using the MultiPoint option of GeoJSON - this is good for many (multiple) positions on a map. If you want to include title, images etc. then I think you would have to do each location separately in many maplinks!.
  • You can copy the code below and change it to do Federal Banks in India and see if that works for you.
    • Change lat long to that of India, replace multiple coordinates with those for the Federal Bank, modify colors, change image to "bank" and probably change group to bank etc.
  • I did a map of India with extra maplinks for Indian states following the Spain example which you can ignore. I put in locations for a few Federal Banks. Open section in edit mode and copy the mapframe should you want to try it...
  • Important Note: I do not think that Wikipedia has the group and show options - In addition, the code on Wikivoyage may be different than on Wikipedia so you might have to do something to get around that (mapframe is not available on mediawiki but maplink is.). It appears that OSM is not available in Wikipedia - and that Kartographer extension future development has been put on hold. (How sad!)
  • Example of MultiPoint I created for Spain and bordering countries: - Create a MultiPoint mapframe of Spain and bordering nations

<mapframe text="" latitude="40" longitude="-3" zoom="5" group="multipoint" width="600" height="400" show="cities"> {"type": "FeatureCollection", "features": [ { "type": "Feature", "geometry": {"type":"MultiPoint", "coordinates": [[1.5552777777778,42.558333333333],[-6,32],[-9.1833333333333,38.7],[2,47],[-5.347422,36.138706],[-3,40]], "type":"MultiPoint"}, "properties":{ "description": "Spain and bordering countries!", "marker-color": "#ffccaa", "marker-size": "medium", "marker-symbol": "star", } }]} </mapframe>

India example[edit]

Federal Bank of India (Locations)