User:GAllegre

Mapframes
Voir Help:Extension:Kartographer

Mapframe Saissac  { "type": "ExternalData", "service": "geoshape", "ids": "Q176816" }

Mapframe Alaska  { "type": "ExternalData", "properties": { "stroke": "#ffb100", "stroke-width": 2, "stroke-opacity": 0.5, "fill": "#ffb100", "fill-opacity": 0.3 }, "service": "geoshape", "ids": "Q797" }

Mapframe PNR Chartreuse  { "type": "ExternalData", "properties": { "stroke": "#00b050", "stroke-width": 3, "stroke-opacity": 0.5, "fill": "#00d070", "fill-opacity": 0.4 }, "service": "geoshape", "ids": "Q3364619", }

Maplinks
Maplink

Maplink

Maplink

Maplink

Maplink

Maplink

Maplink WD query
Exemple de la doc

 { "type": "ExternalData", "service": "geoshape", "query": " SELECT ?id ?head (SAMPLE(?img) as ?img)   (min(?partyId) as ?party)   (if(?party = '0', '#800000', if(?party = '1', '#000080', '#008000')) as ?fill)  (concat(, ?headLabel, ) as ?title)  (concat(?stateLabel, '\\n', '') as ?description) WHERE {    ?id wdt:P31 wd:Q35657 .  ?id wdt:P6 ?head .  ?head wdt:P102 ?party .  BIND(if(?party = wd:Q29468, '0', if(?party = wd:Q29552, '1', '2')) as ?partyId)   SERVICE wikibase:label {    bd:serviceParam wikibase:language 'en' .    ?head rdfs:label ?headLabel .    ?id rdfs:label ?stateLabel .  }  OPTIONAL {    ?head wdt:P18 ?img .  }  ?link schema:about ?head .  ?link schema:isPartOf  . } GROUP BY ?id ?head ?headLabel ?link ?stateLabel "}

Maplinks données hybrides : WD + geojson explicite
Maplink