CommunityTechBot updated the task description. (Show Details)

CHANGES TO TASK DESCRIPTION
26570726f6475636520796f757220627567207573696e67206120726563656e742076657273696f6e206f662074686520736f6674776172652c20746f2068652077696b6920636f6e74656e74206c616e67756167652e0a0a5468616e6b20796f752e0a546167730a436865636b557365720ad70a436f6e6e65637465642d4f70656e2d48657269746167652d42617463682d75706c6f61647320285241c42d4b4d425f315f323031372d3032290ad70a54616d696c2d53697465730ad70a47616d6570726573730ad70a48617368746167730ad70a4a4144450ad70a4b6172746f456469746f720ad70a4c616e67756167652d323031382d4170722d4a756e650ad70a4e65772d456469746f722d457870657269656e6365730ad70a4d61696c0ad70a5443422d5465616d0ad70a53756273637269626572730a4465736372697074696f6e20507265766965770a436f6e74656e77a6f6e652073657474696e6720696e20796f75722070726f66696c652c20636c69636b20746f207265636f6e63696c652eOne of the SPARQL federation sources gives CC0 Geodata for buildings, see https://data.pdok.nl/sparql#query=select+%3Fa+%3Fb+%3Fc+%3Fd+%3Fe%0Awhere+%7B%0A++%23%3Chttp%3A%2F%2Fbag.basisregistraties.overheid.nl%2Fbag%2Fid%2Fpand%2F0392100000065734%3E+%3Fa+%3Fb+.%0A++%3Chttp%3A%2F%2Fbag.basisregistraties.overheid.nl%2Fbag%2Fid%2Fpand%2F0392100000065734%3E+%3Chttp%3A%2F%2Fwww.opengis.net%2Font%2Fgeosparql%23hasGeometry%3E+%3Fc+.%0A++%3Fc+%3Chttp%3A%2F%2Fwww.opengis.net%2Font%2Fgeosparql%23asWKT%3E+%3Fe+.%0A%0A%7D+&contentTypeConstruct=text%2Fturtle&contentTypeSelect=application%2Fsparql-results%2Bjson&endpoint=%2Fsparql&requestMethod=POST&tabTitle=Gedefinieerde+klassen&headers=%7B%7D&outputFormat=leaflet .

It's possible to use that in our SPARQL engine and to draw a nice map:

https://query.wikidata.org/#%23defaultView%3AMap%0ASELECT%20%3Fgeoshape%20%7B%0A%20%20%20%20SERVICE%20%3Chttp%3A%2F%2Flov.okfn.org%2Fdataset%2Flov%2Fsparql%3E%20%7B%0A%20%20%20%20%20%20SERVICE%20%3Chttps%3A%2F%2Fdata.pdok.nl%2Fsparql%3E%20%7B%0A%20%20%3Chttp%3A%2F%2Fbag.basisregistraties.overheid.nl%2Fbag%2Fid%2Fpand%2F0392100000065734%3E%20%3Chttp%3A%2F%2Fwww.opengis.net%2Font%2Fgeosparql%23hasGeometry%3E%20%3Fgeostatement%20.%0A%20%20%3Fgeostatement%20%3Chttp%3A%2F%2Fwww.opengis.net%2Font%2Fgeosparql%23asWKT%3E%20%3Fgeoshape%20.%0A%0A%7D%20%0A%20%20%20%20%7D%0A%20%20%7D

Kartographer only seems to support POINT, not POLYGON so I can't use this query as described on https://www.mediawiki.org/wiki/Help:Extension:Kartographer#GeoShapes_via_Wikidata_Query

The Geo JSON spec is at http://www.opengis.net/ont/geosparql#wktLiteral

TASK DETAIL
https://phabricator.wikimedia.org/T196191

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: CommunityTechBot
Cc: Multichill, AndyTan, Zylc, 1978Gage2001, Lahi, Gq86, herron, Looniverse, GoranSMilovanovic, Chicocvenancio, alanajjar, QZanden, Tbscho, Orienteerix, LawExplorer, Lea_WMDE, Mattias_Ostmar-WMSE, Ddproxy, JJMC89, Jseddon, Ryuch, JGirault, Mkdw, RuyP, JEumerus, phabyogi, Trizek-WMF, GAllegre, Susannaanas, KasiaWMDE, ferdbold, lxbarth, 0x010C, srodlund, Luke081515, grin, Bsadowski1, mys_721tx, Planemad, Wikidata-bugs, Snowolf, aude, Huji, Gryllida, jayvdb, Tobi_WMDE_SW, Yurik, revi, scfc, He7d3r, Romaine, MaxSem, Mbch331, Jay8g, Glaisher, Krenair, chasemp
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to