Talk:Nine-County Region

From Wikivoyage
Latest comment: 8 years ago by Matroc in topic Mapframe acting up
Jump to navigation Jump to search

Untitled

[edit]

This page needs to be deleted. (WT-en) Missvain 18:15, 20 December 2006 (EST)

On the contrary, it's being kept, and you should be congratulated for all the excellent work you did on it. See below (particularly Evan's comment, which is very much to the point); you really did excellent work here. -- (WT-en) Bill-on-the-Hill 17:34, 7 January 2007 (EST)

VFD discussion

[edit]

Is part of the Indiana regions but useless since it represents the Central Indiana area. I started writing this, then decided to merge it with Central Indiana. (WT-en) Missvain 22:58, 20 December 2006 (EST)

  • Keep - 13,000 Google hits for "Nine-County Region" +Indiana - better to redirect to Central Indiana than to delete ~ 203.144.143.8 01:29, 21 December 2006 (EST)
  • Waffle, but I note that "Nine-County Region" is a slightly more evocative name than "Central Indiana". I'm not a fan of "North Foo", "South Foo", "East Foo" regions, and if there's a local name that stands out more, I much prefer it. --(WT-en) Evan 02:04, 21 December 2006 (EST)
  • Keep as a redirect. Wikipedia also uses this as a region , but Central Indiana is a lot better at saying where this region actually is. (WT-en) Jpatokal 02:18, 21 December 2006 (EST)
  • Keep. I'm with Evan; if a region name is in common use, then use it. If anything, I could see Central Indiana getting redirected to this article rather than the other way around, the more so since User:(WT-en) Missvain did a nice job of starting content for it (which can easily be resurrected). WTP? -- (WT-en) Bill-on-the-Hill 10:44, 21 December 2006 (EST)
  • I think the consensus for a keep is clear, and I'm removing this from the VFD. However, work still has to be done to reconcile this one with Central Indiana. "Plunge forward," as the saying goes. -- (WT-en) Bill-on-the-Hill 17:30, 7 January 2007 (EST)

Mapmask

[edit]

Mapframe acting up

[edit]
Swept in from the pub

Nine-County Region from some reason, the map has a large grey X across it. Can someone explain why or fix it? —Justin (koavf)TCM 23:34, 6 November 2016 (UTC)Reply

I don't see an x but there is a mapmask template in the article that is shading the area around what I believe is the Nine-County Region. How accurate that is, I do not know. In the layers dropdown, uncheck the Group:mask and it will disappear. -- Matroc (talk) 01:21, 7 November 2016 (UTC)Reply
From here, it looks to be shaded in some incorrect manner to put 1-Anderson, 11-Cumberland, 13-Greenfield, 18-Greenwood outside an almost-discontiguous shaded area and the others all inside. It's almost as if the points to draw the boundary are being drawn out of sequence? K7L (talk) 02:22, 7 November 2016 (UTC)Reply
I thought that might be the case. The data in the mapmask will need to be corrected or replotted. I will leave a note in the Talk page. -- Matroc (talk) 02:44, 7 November 2016 (UTC)Reply

It looks like the software is transposing some of the co-ordinates, it starts fine with

{{mapmask |39.342,-86.629 |39.470,-86.631 |39.470,-86.685 |39.525,-86.685 |39.550,-86.651 |39.600,-86.654 |39.629,-86.640 |39.630,-86.685 |39.864,-86.685 |39.864,-86.693 |40.178,-86.695 |40.181,-86.243 |40.216,-86.243 |40.221,-85.861 |40.379,-85.861 |40.379,-85.578

becoming

"mask":[{"type":"Feature","geometry":{"coordinates":[[[36000,-180],[36000,180],[-36000,180],[-36000,-180],[36000,-180]], [[-86.629,39.342], [-86.631,39.47], [-86.685,39.47], [-86.685,39.525], [-86.651,39.55], [-86.654,39.6], [-86.64,39.629], [-86.685,39.63], [-86.685,39.864], [-86.693,39.864], [-86.695,40.178], [-86.243,40.181], [-86.243,40.216], [-85.861,40.221], [-85.861,40.379], [-85.578,40.379],

but then the last six co-ordinates end up out of sequence, so:

|39.874,-85.575 |39.874,-85.596 |39.786,-85.596 |39.786,-85.633 |39.351,-85.630 |39.340,-86.381}}

becomes:

[-86.381,39.34], [-85.63,39.351], [-85.575,39.874], [-85.596,39.874], [-85.596,39.786], [-85.633,39.786]]],

Drawn with the last six points out-of-sequence, the outline looks just plain wrong. I'm comparing the template args in the article wiki code to whatever HTML is visible on <ctrl-U> (show page source) in the web browser. Something's happening between the co-ords being fed to the template and the out-of-sequence mess being delivered to the browser, not sure what as I'm not familiar with the code. K7L (talk) 04:03, 7 November 2016 (UTC)Reply

Fixed - template needed to have a closing position which is the same as the first set of coordinates given in this case. -- Mapmask is creating a polygon using the new Kartographer extension probably to create a maplink... Since I have played around with mapframe and maplink and polygons I figured it out... -- Matroc (talk) 05:02, 7 November 2016 (UTC)Reply

Category:Pages with broken maps

[edit]

I'm noticing that pages which were perfectly valid with the old map and which have not been edited after the transition (such as Trans-Canada Highway) are appearing on Category:Pages with broken maps with <mapframe>: Attribute "align" has an invalid value.

This is a bug. The alignment for the Trans-Canada Highway map needs to be "centre" because it's a purely east-west itinerary with a correspondingly wide (but not very high) map. Two lanes tall, 8050km wide. K7L (talk) 19:13, 18 November 2016 (UTC)Reply

I already made a note in the Mapframe Template Talk page about it! -- appears that align=none is causing an error in the mapframe output - Hopefully it should be fixed - I did not want to change the 23 articles to align=center to correct the issue. I think it would be better to fix the underlying code than to use bandages here and there. -- Matroc (talk) 19:47, 18 November 2016 (UTC)Reply
I did some quick checking and believe align=none is not valid in <mapframe> (Kartographer Extension allows left, right and center), whereas the Template:Mapframe did allow it. A possible code change could be done to fix them or if need be I will go and change those in the list! -- Waiting to hear... -- Matroc (talk) 08:20, 19 November 2016 (UTC)Reply
none as a value for align in the Mapframe Template is no longer. (left, right and center are allowed). Pages have been fixed by Roland. -- Matroc (talk) 18:58, 19 November 2016 (UTC)Reply