Re: [SMW-devel] Semantic mediawiki and map data

2012-06-19 Thread Kim Eik
I seem to have isolated the issue to the method getProperyValues in the class SqlStubSemanticData. Here it seems that there is some kind of mixup going on when i have defined a container to hold coordinates. According to the code it seems that it tries to fetch a given array entry with the key of

[SMW-devel] Is it possible to have several {{{standard input|free text}}} fields on a form?

2012-06-14 Thread Kim Eik
Today if you specify two or moreĀ {{{standard input|free text}}} a form page and you input value in them both. Only the last value will be displayed, and also duplicated over all instances of the {{{standard input|free text}}}. Why is this? Say if someone wanted to have a form in the middle of a

Re: [SMW-devel] Is it possible to have several {{{standard input|free text}}} fields on a form?

2012-06-14 Thread Kim Eik
What you can do instead is to define a normal text area input and then display this in the template however you want. You don't have to assign it to a semantic property. Can you refer me to any documentation regarding this? or maybe a rough example? Thank you Kim

Re: [SMW-devel] Semantic mediawiki and map data

2012-05-24 Thread Kim Eik
false instead of the expected container value when it comes to the polygon property. Can someone please explain why that is? Kim On Wed, May 23, 2012 at 2:23 PM, Kim Eik k...@heldig.org wrote: Ok, so i figured out how to create the necessary table.. however i'm unsure of how i should set up

Re: [SMW-devel] Semantic mediawiki and map data

2012-05-23 Thread Kim Eik
From your descritpion, a container data item looks like the way to go for storing my structures. Do you have a practical example on how container data item is used? From the code documentation i can see that: * Being a mere placeholder/template for other data, an SMWDIContainer is not *

Re: [SMW-devel] Semantic mediawiki and map data

2012-05-23 Thread Kim Eik
, but this i'm guessing isn't very optimal when taking semantic search into account. So how should i create a one to many mapping on the database level as well as on the logic level? or should polygons be stored in some other way? Cheers. On Wed, May 23, 2012 at 12:49 PM, Kim Eik k...@heldig.org wrote: Ok