[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 583: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 639: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
Gephi forums •Sigma js and geocoded attributes
Page 1 of 1

Sigma js and geocoded attributes

Posted: 18 Dec 2013 15:21
by Kalacc
Hello,

I'm new here, and i would first thanks for this great software.

I'm a beginner at Gephi stuff and i need some help so i can fix my problem.

I'm now trying to realize my first graph with Gephi. I first collect data and then use a geo map layout. But when i export my graph with sigma.js in my browser, i realize nodes are not at the right place (it looks reversed as if you watch something in a mirror). I check my geocoded attributes, but it looks good.

So i'm wondering if it's possible to use geocoded attributes with sigma.js ? Or maybe i'm doing wrong ?

Thanks in advance for any help

Re: Sigma js and geocoded attributes

Posted: 28 Dec 2013 04:29
by computermacgyver
Hi Kalacc,

I'm glad you're finding the plugin useful and apologies for the issue with the map layout. Sigma and Gephi place the origin in different places, which leads to the graph being flipped vertically. Usually this doesn't much matter, but geo layouts of course do make a difference. This is fixed in my beta version but hasn't been released yet. The easiest thing to do to get this working immediately will be to edit the sigma.parseJson.js file with a standard text editor (e.g., notepad) and make the change described at the link below.

https://github.com/oxfordinternetinstit ... t-22291683

Please do let me know if this doesn't address the issue.

Cheers,
Scott

Re: Sigma js and geocoded attributes

Posted: 02 Jan 2014 19:56
by Kalacc
Hi Scott,

Thanks for your answer. I tried to add the line in the sigma.parseJson.js file as you indicate me. And it did work !

Thanks again.

Best regards.
Kalacc