!buSEZBEvVNBUdwhvvn:matrix.org

Semantic MediaWiki

202 Members
SMW lets you store and query data with­in MediaWiki pages. Mirrored in the SMW Telegram, which you can join at https://t.me/joinchat/MCG84k3OMoaYZoFA9yhyMg10 Servers

Load older messages


SenderMessageTime
6 Oct 2020
@jeroend:matrix.orgJeroen De Dauw * Not seen that before. kghbln have you? 23:01:01
@telegram_885246010:t2bot.ioMark HershbergerI got it. will update in a bit23:01:31
7 Oct 2020
@telegram_917934053:t2bot.ioBernhard Krabina👍05:50:40
@telegram_63078477:t2bot.ioIván Hernández CazorlaHi everyone.20:19:42
@telegram_63078477:t2bot.ioIván Hernández CazorlaI am reading about Maps because I need to integrate it with Semantic MediaWiki.20:20:08
@telegram_63078477:t2bot.ioIván Hernández Cazorla I read in its wiki that it allows to export to KML:
https://maps.extension.wiki/wiki/KML_export
20:20:36
@telegram_63078477:t2bot.ioIván Hernández Cazorla But, could it be possible to import a KML in a OpenStreetMap layer as it was done by the Google Maps extension?
https://www.mediawiki.org/w/index.php?oldid=509695#KML_import
20:21:42
@telegram_63078477:t2bot.ioIván Hernández Cazorla
In reply to Iván Hernández Cazorla
I read in its wiki that it allows to export to KML:
https://maps.extension.wiki/wiki/KML_export
Now it seems that maps.extension.wiki is down :/
20:22:34
@telegram_63078477:t2bot.ioIván Hernández Cazorla Ups, I think I just found something useful:
https://www.semantic-mediawiki.org/wiki/Extension:Maps/mapping_service
20:24:16
@telegram_63078477:t2bot.ioIván Hernández Cazorla However I understand that kml parameter only works for Google Maps. 20:25:41
@telegram_63078477:t2bot.ioIván Hernández Cazorla So a possible workaround may be to convert the KML to GeoJSON and then use geojson parameter. 20:28:31
@telegram_807517410:t2bot.ioJeroen
In reply to Iván Hernández Cazorla
Now it seems that maps.extension.wiki is down :/
Wow nice timing! I was just upgrading the thing. Was only down for a minute or two
20:47:45
@telegram_63078477:t2bot.ioIván Hernández Cazorla
In reply to Jeroen
Wow nice timing! I was just upgrading the thing. Was only down for a minute or two
Nice! 😻
20:48:03
@telegram_807517410:t2bot.ioJeroenDo you want to display data stored in SMW on a map via a query? If so, you can do that directly with format=map. No need to use something like KML20:48:50
@telegram_63078477:t2bot.ioIván Hernández Cazorla
In reply to Jeroen
Do you want to display data stored in SMW on a map via a query? If so, you can do that directly with format=map. No need to use something like KML
Yes, that would be really nice. However, the client I am working with has several KML files for areas.
20:49:51
@telegram_807517410:t2bot.ioJeroenSo you have a query that returns a list of KML files?20:51:54
@telegram_807517410:t2bot.ioJeroenThere currently indeed is no KML support for Leaflet. Pull request welcome. Could also implement this myself if there is some funding, in which case, PM me.20:53:32
@telegram_63078477:t2bot.ioIván Hernández Cazorla No, I have several pages that uses <googlemaps> tag from the Google Maps extension. This tag contain URL to KML files to show the areas. 20:54:35
@telegram_63078477:t2bot.ioIván Hernández CazorlaAt this moment there is nothing in SMW.20:54:41
@telegram_63078477:t2bot.ioIván Hernández CazorlaI am just preparing the model and examples to show them.20:55:00
@telegram_63078477:t2bot.ioIván Hernández CazorlaBecause I am going to update their MediaWiki wiki, but I am convincing them to use SMW due the possible advantages for their project.20:55:44
@telegram_63078477:t2bot.ioIván Hernández Cazorla
In reply to Jeroen
There currently indeed is no KML support for Leaflet. Pull request welcome. Could also implement this myself if there is some funding, in which case, PM me.
Interesting! I keep it in mind!
20:56:00
@telegram_807517410:t2bot.ioJeroenThat sounds like a good pragmatic approach. (Assuming you do not have 9 million files to convert)21:23:20
@telegram_63078477:t2bot.ioIván Hernández Cazorla
In reply to Jeroen
That sounds like a good pragmatic approach. (Assuming you do not have 9 million files to convert)
9 million files! It would be crazy, unless the conversion would be automatized.
21:25:35
@hexmode:matrix.orghexmodeIs there a way, out of the box, to sort smw results by page title?22:36:41
@hexmode:matrix.orghexmode https://www.semantic-mediawiki.org/wiki/Help:Sorting says that if sort= is blank then the value of the first column is used, but that doesn't seem to be true 22:46:10
@hexmode:matrix.orghexmodeI'm expecting a caseless search that uses the whole page name, but it seems to put lowercase at the end and sort by sub page name rather than the full name23:17:42
@hexmode:matrix.orghexmodehmmm might have to add a property to sesp23:20:27
8 Oct 2020
@telegram_930995213:t2bot.ioShalika joined the room.07:04:01
@telegram_63078477:t2bot.ioIván Hernández Cazorla
In reply to @hexmode:matrix.org
https://www.semantic-mediawiki.org/wiki/Help:Sorting says that if sort= is blank then the value of the first column is used, but that doesn't seem to be true
I tried a test in a page and blank sort works as expected, sorting by the page title.
11:40:46

Show newer messages


Back to Room ListRoom Version: 5