Geo-location and location categories

More
1 month 1 week ago #172453 by sociotech
sociotech created the topic: Geo-location and location categories
I have a problem generating location categories from coordinates.

I use the short text map feature in order to get geo location. The field is hidden and the geo-coordinate input comes from panel integration and is passed through the URL. This works fine.

I have set the map to save City, state and country but when I check my SQL database it is only the coordinates that are saved. I don't know what I am doing wrong and can't seem to find a post on it.

I am on a self-hosted system and LimeSurvey that runs the latest version.

I very much hope somebody here can help!

Please Log in or Create an account to join the conversation.

More
1 month 1 week ago - 1 month 1 week ago #172459 by tpartner
tpartner replied the topic: Geo-location and location categories
How have you hidden that question?

Can you attach a short sample survey containing only the relevant questions?

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last Edit: 1 month 1 week ago by tpartner.
The following user(s) said Thank You: sociotech

Please Log in or Create an account to join the conversation.

More
1 month 1 week ago #172475 by sociotech
sociotech replied the topic: Geo-location and location categories
I have just set the hidden and save as city, state and country in the question preferences.

It looks like this:
Attachments:

Please Log in or Create an account to join the conversation.

More
1 month 1 week ago #172497 by tpartner
tpartner replied the topic: Geo-location and location categories
Try hiding the question with CSS instead of the question setting. The mapping is done via JavaScript so the question must be rendered.

There still may be a bug but I cannot test without the sample survey requested.

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: sociotech

Please Log in or Create an account to join the conversation.

More
1 month 1 week ago #172498 by sociotech
sociotech replied the topic: Geo-location and location categories
thank you very much... I will test it straight away!

Please Log in or Create an account to join the conversation.

More
1 month 1 week ago #172650 by sociotech
sociotech replied the topic: Geo-location and location categories
I have now tried to unhide the question in order to see if it made any difference. It sadly did not. Even if I use the location picker manually I do not get any of the location categories saved.

But my issues seem to run deeper than that. Earlier I have created score calculations based on my main subquestions. These equations have also stopped working.

I feel a bit bug-ridden so I have attached my .lss file. I very much hope someone can determine what I am doing wrong.
Attachments:

Please Log in or Create an account to join the conversation.

More
1 month 1 week ago #172651 by tpartner
tpartner replied the topic: Geo-location and location categories
Are there any Javascript errors in the console?

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: sociotech

Please Log in or Create an account to join the conversation.

More
1 month 1 week ago #172652 by sociotech
sociotech replied the topic: Geo-location and location categories
There are one map related error:

JQMIGRATE: Migrate is installed, version 3.0.0 jquery-migrate-3.0.0.min.js:2:440
Google Maps JavaScript API warning: SensorNotRequired developers.google.com/maps/documentation...#sensor-not-required util.js:224:33

In the other pages the console outputs:
JQMIGRATE: Migrate is installed, version 3.0.0

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!