Talk:Semantic Maps

From Mapping on MediaWiki
Jump to: navigation, search
Crystal Clear app error.png

Discussion page moved!
Use the new one on semantic-mediawiki.org instead!

Contents

Thread titleRepliesLast modified
Making Map Input Required114:30, February 9, 2011
Maps on Especial RunQuery 400:41, January 10, 2011
many events on one location110:03, December 19, 2010
Displaying the Coordinates600:18, December 4, 2010
Coordinates Forms + Maps117:48, November 30, 2010
Confusing information on Semantic_Maps page115:48, October 23, 2010
Bug in maps with one point420:29, October 25, 2010
First page
First page
Next page
Next page
Last page
Last page

Making Map Input Required

Hi! I asked this question on the Semantic Forms board and was sent here. The code below doesn't seem to force the user to enter in coordinates. Is this a bug? Am I doing wrong? Link to Actual Form

{{{
 field 
| Coordinates
| input type=googlemaps
| height=500
| width=100% 
| autozoom=off 
| zoom=6
| mandatory
}}} 

Timothy Clemans

184.78.189.23221:21, February 7, 2011

Hey. This is not a bug, but a missing feature. Validation there would indeed make a lot of sense. If I have time I'll add it to Semantic Maps 0.8.x, but this can take a while.

Jeroen De Dauw14:30, February 9, 2011
 

Maps on Especial RunQuery

Is it possible to run the maps on Especial RunQuery pages?

http://www.wikirio.com.br/Especial:RunQuery/Pesquisar_Restaurante

Efilipe18:15, December 31, 2010

It should be possible yes, although someone recently reported this breaking with the more recent versions of Semantic Forms. I still need to have a look into that.

Jeroen De Dauw20:51, January 1, 2011

Jeron, do you think it's possible for me to downgrade? Edgard

Efilipe22:51, January 5, 2011

I'd try upgrading to the latest SF first.

Jeroen De Dauw21:20, January 9, 2011
 
 
 

many events on one location

how can i display many events on one location? i think Google Maps Clusters are needed into your extension.

217.144.201.5417:05, December 18, 2010

Clustering is a long requested feature, but no one has been willing to run it's implementation so far.

Jeroen De Dauw10:03, December 19, 2010
 

Displaying the Coordinates

MW 1.16, Semantic Maps (Version 0.7.2 rc1), Semantic Forms (Version 2.0.4), Monobook theme. All extentions located here.

So, I cobbled together a template and form to produce the ability to store info on some properties. This is the pertinent, cropped parts :

TEMPLATE

|The coordinates= }} ! The coordinates | {{#display_point:coordinates={{{The coordinates|}}} |zoom=15 |width=350 |height=300 |type=hybrid }} |}

FORM

! The coordinates | {{{field|The coordinates|input type=googlemap|earth=on}}} |- |}

This is an example of how it plays out.

I am not seeing the display of the coordinates. I am not a coder and kinda copied stuff as I found it in your blog and other posts. I could really use some help and would be obliged if you could tell me how to properly fix the Template and Form. I haven't defined the Properties as I wanted to get the stuff set up first. Any other recommendations would be great! Thanx! --Coffeehound 21:42, November 29, 2010 (EST)

Coffeehound02:42, November 30, 2010

Am I asking the question in the right place; is this Extension supported here or should I post somewhere else? --Coffeehound 01:54, December 1, 2010 (EST)

Coffeehound06:54, December 1, 2010

For this kind of help you are probably best off asking at #semantic-mediawiki on irc.freenode.net, or the semediawiki-user@lists.sourceforge.net mailing list.

In any case, I'm not getting what your exact problem is. On the page you linked there is a working map... If you are asking about how to work with Semantic MediaWiki and Semantic Maps, please refer to the documentation at http://semantic-mediawiki.org/wiki/Help:User_manual and on this wiki.

Jeroen De Dauw17:27, December 1, 2010

I want the coordinates, themselves, to also display so that I can create pages with them. Thanx and I will also ask in the IRC. --Coffeehound 17:52, December 1, 2010 (EST)

Coffeehound22:52, December 1, 2010

Sorry, but I still don't understand what you want to do. Can you describe it step by step?

Jeroen De Dauw15:58, December 2, 2010

I simply want the actual coordinates to appear in addition to the map. Have their own 'field' so to speak so that I can click them and it will take me to a page to enter data. The map appears based upon the coordinates so I figured making them appear as well shouldn't be too hard. Thanx

Coffeehound00:04, December 4, 2010
 
 
 
 
 

Coordinates Forms + Maps

Hi,

This option to get the coordinates automatically is fantastic! I´d like to know if it´s possible to get the other Coordinate format like -22.55555, -42.332233?

I´m using: Coordenadas

http://www.wikirio.com.br/Especial:Editar_dados/Restaurante/Teste

Thanks, Edgard.

Edgard17:47, November 30, 2010

(By the way, I had to create an account to write this message. The system is not accepting the sum result for unlogged users)

Edgard17:48, November 30, 2010
 

Confusing information on Semantic_Maps page

Under the heading "Getting support", it says to ask questions to the talk page on mediawiki.org, and if you go to that page it says "Discussion page moved! Use the new one on the documentation wiki instead!" with a link back to this page.

Hklygre09:25, October 22, 2010

Heh. The stuff pointing to mediawiki.org is outdated, will fix, thanks for pointing this out :)

Jeroen De Dauw15:48, October 23, 2010
 

Bug in maps with one point

If I do a {{#show foo|?coordinates|format=map}} which returns only a single point, the map displayed has the marker in the right position, but the center of the map is wrong - latitude and longitude is reversed. (A point in 10N 5E will give center of map in 5N 10E).

I fixed it by changing the array indexes in setCentreDefault in includes/queryprinters/SM_MapPrinter.php

Tested on 0.7.1

- Håvard

Hklygre12:54, October 21, 2010

Thanks for pointing this out. It has been fixed on svn trunk and should work correctly in the next release. Note that your modification does not fix the issue itself, and will break when updating the code.

Jeroen De Dauw13:09, October 21, 2010

I believed my change was just in the display-part of the code - does my change make the data in the database wrong? Will I not be able to upgrade SemanticMaps without modifying my data?

Hklygre14:06, October 21, 2010

The change you made won't corrupt anything, so no worries there. What I meant is that if you update via svn, your change will break the new code. Simply replacing your current code with the 0.7.2 one when it's released should work :)

Jeroen De Dauw16:06, October 23, 2010

Fantastic. The site I've been working on (dykkepedia.com, a Norwegian site for scuba divers) is using the release versions, so we should be good then.

Thanks!

Hklygre20:29, October 25, 2010
 
 
 
 
First page
First page
Next page
Next page
Last page
Last page
Personal tools
Namespaces
Variants
Views
Actions
Navigation
Manuals
Useful lists
More awesomeness
Toolbox