51

Re: Defra Species Surveillence project - setting up Indicia for monitoring

John,

Thanks for replies.

1. How many attribute:  I already have the individual surveys ticked in the How many? occurrence attribute, under occurrence attribure website/survey allocation.  This is why I can't understand why it is not working. Do you mean I need to untick these and just have in the survey set up, or should I remove the attribute from the survey?  As I said before the attribute appears in the grid mode of the iforms but not he single entry version.

2. Ok next time will put a new thread per new question.  The reason I have always put new questions under the same thread, was so that other users could follow the process we have gone under etc.

3. Butterfly list - thanks for this, appreciated.  Sorry but could you also do the same for the NSSN- Day-flying moths one too?

I will look at your last response in a minute and then reply.  Once these issues have all been sorted I will post any new question in a separate thread.

Thanks again.

52

Re: Defra Species Surveillence project - setting up Indicia for monitoring

John,

Related to 3. in previous message:  I have checked the forms since you made the alteration to the form and also now the butterfly species list, but the species are not being listed in the tick box list when you try and set up a walk......just a long list of blank rows under the section header.

Regarding your last post:
Yes I agree with what you are saying.....I think that is what I was trying to get at.  So I have added the [location type] control to our standard locations form and added code below forcing each time to default to transect.  So each new site location will be set up as a transect....which is important for butterfly/moth survey forms but does not matter to others and will only appear in the background (i.e. the warehouse etc).....so that is all ideal.
You then said this: "They should then appear on your transects sites list where you can edit them to add in the sections." Does that mean this page?:http://www.nbis.org.uk/my-butterfly-moth-transects. If so that is fine if you set up the location (as transect) in the standard form, but if someone else has set up the transect it will not appear.....is that correct?  So how can I get around this?  As I said before the ideal would be choosing from a drop-down (as we do in all our species and env data forms), possibly using the [location map] control, in the transect set up form (http://www.nbis.org.uk/butterfly-moth-transect-details) - but I guess this would mean altering the form, as no user interface for this form to add in code?  I suppose the best/easiest option would be altering http://www.nbis.org.uk/my-butterfly-moth-transects to include all locations set up by users with the 'online recording' permission? Or been set-up by NBIS.

As mentioned in last post, previous to today, how can my drop-down list of locations from the [location map] control, used in all our species and env data forms for reduce to just show NBIS locations?  I suppose the ideal would be that this drop-down list only shows locations set up by 'online recording' permission user roles.

Thanks

53

Re: Defra Species Surveillence project - setting up Indicia for monitoring

Hi Sam
In the current code you needed to specify the tab which each occurrence attribute control appeared on using the survey's setup attributes link in the warehouse. However this doesn't really make much sense nor match the instructions on the form structure box, so I've tweaked the code for you and the How Many control should now appear.

I've also done the swap around of names on the day flying moths list.
Cheers
John

John van Breda
Biodiverse IT

54

Re: Defra Species Surveillence project - setting up Indicia for monitoring

Hi Sam

More info on turning off the restriction of which transects each recorder can use...

In the current default state, a transect needs to be allocated to a recorder before they can use the transect for recording. To do this, there is a multi-value location attribute which we store their Drupal user ID in, thus listing the recorders against each transect. When you create a transect, you are automatically listed against the transect by default which means only you can use the transect, unless an administrator edits the transect to add other recorders.

So we need to remove this restriction. Fortunately this is supported in the latest code, since the kind people at Moors for the Future are doing exactly this on iRecord and have already made the enhancement ;)

For http://www.nbis.org.uk/my-butterfly-moth-transects, this is simply a report filtered by custom attribute. You can remove this from the report parameter config to remove the restriction:
locattrs=58
attr_location_58={user_id}

On http://www.nbis.org.uk/butterfly-moth-transect-details, there is a config option under Transect Editor Settings which needs to be unticked, called “Allow users to be assigned to transects”.

On http://www.nbis.org.uk/my-butterfly-moth-walks, there is a setting under Report Settings, “Include user specific location filter” which needs to be unchecked.

On http://www.nbis.org.uk/input-butterfly- … sect-data, there is a setting under Transect Editor Settings called “User locations filter” which also needs to be unchecked.

And, I think that is about it.

Cheers
John

John van Breda
Biodiverse IT