Vés al contingut

Usuari:Vriullop/geoline

De la Viquipèdia, l'enciclopèdia lliure

Proves de mapes amb geoline.

Conclusions:

  • Funciona quan a OSM està definit com a via (way)
  • Definit com a relació amb vies com a membres nomé funciona per type=route (a més de multipolygon/boundary convertit a polígon).
    • Amb moltes vies com a membre té un problema de procés lent. Pot resultar un mapa en blanc.
  • Definit com a relació amb relacions com a membres no funciona.
  • No retorna cap codi que indiqui si ha funcionat o no.

Enllaços:


{{map draw
 | item=Q4788941
 | zoom=16
 | geotype1=geoline
 | ids1=Q4788941
}}
Map
<mapframe zoom="16" longitude="-2.925" align="right" latitude="43.2603" height="300" width="300">[
    {
        "properties": {
            "title": "geoline1"
        },
        "type": "ExternalData",
        "service": "geoline",
        "ids": "Q4788941"
    }
]</mapframe> Arguments:{
    "zoom": "16",
    "item": "Q4788941",
    "ids1": "Q4788941",
    "geotype1": "geoline",
    "debug": "y"
}

{{map draw
 | item=Q3176636
 | geotype1=geoline
 | ids1=Q3176636
}}
Map
<mapframe zoom="9" longitude="0.7369" align="right" latitude="42.5967" height="300" width="300">[
    {
        "properties": {
            "title": "geoline1"
        },
        "type": "ExternalData",
        "service": "geoline",
        "ids": "Q3176636"
    }
]</mapframe> Arguments:{
    "debug": "y",
    "item": "Q3176636",
    "geotype1": "geoline",
    "ids1": "Q3176636"
}

{{map draw
 | item=Q12039
 | zoom=16
 | geotype1=geoline
 | ids1=Q12039
}}
Map
<mapframe zoom="16" longitude="2.3177777777778" align="right" latitude="41.481666666667" height="300" width="300">[
    {
        "properties": {
            "title": "geoline1"
        },
        "type": "ExternalData",
        "service": "geoline",
        "ids": "Q12039"
    }
]</mapframe> Arguments:{
    "zoom": "16",
    "item": "Q12039",
    "ids1": "Q12039",
    "geotype1": "geoline",
    "debug": "y"
}

{{map draw
 | item=Q11918385
 | zoom=16
 | geotype1=geoline
 | ids1=Q11918385
}}
Map
<mapframe zoom="16" longitude="2.41205" align="right" latitude="41.97973" height="300" width="300">[
    {
        "properties": {
            "title": "geoline1"
        },
        "type": "ExternalData",
        "service": "geoline",
        "ids": "Q11918385"
    }
]</mapframe> Arguments:{
    "zoom": "16",
    "item": "Q11918385",
    "ids1": "Q11918385",
    "geotype1": "geoline",
    "debug": "y"
}

{{map draw
 | item=Q21775932
 | geotype1=geoline
 | ids1=Q21775932
}}
Map
<mapframe zoom="11" longitude="2.05772" align="right" latitude="41.64714" height="300" width="300">[
    {
        "properties": {
            "title": "geoline1"
        },
        "type": "ExternalData",
        "service": "geoline",
        "ids": "Q21775932"
    }
]</mapframe> Arguments:{
    "debug": "y",
    "item": "Q21775932",
    "geotype1": "geoline",
    "ids1": "Q21775932"
}

{{map draw
 | item=Q1714829
 | geotype1=geoline
 | ids1=Q1714829
}}
Map
<mapframe zoom="8" longitude="25.73727" align="right" latitude="59.11366" height="300" width="300">[
    {
        "properties": {
            "title": "geoline1"
        },
        "type": "ExternalData",
        "service": "geoline",
        "ids": "Q1714829"
    }
]</mapframe> Arguments:{
    "debug": "y",
    "item": "Q1714829",
    "geotype1": "geoline",
    "ids1": "Q1714829"
}

Sense plantilla, sense obtenir les coordenades de Wikidata

<mapframe height="300" width="300">
{
    "type": "ExternalData",
    "service": "geoline",
    "ids": "Q1714829"
}
</mapframe>
Map