I was wanting to show the map of my project area but not show specific trap locations. I saw on the PF Wellington site that they applied a layer where hexagons were used to represent areas of 3 ha or so. The colour of the hexagon correlated with trap density.
Could you please tell me how to apply this layer? I am involved in a similar project in Whangarei.
I have been able to approximate this using qgis, but I haven’t documented how I did it yet.
I made a grid of rectangles and coloured in the ones that contained at least one trap, but it wouldn’t be too much of a stretch to get it to make a hexagon rather than a rectangle.
I’ve been holding out for groundtruth to release the data feeds that don’t give precise trap locations - there is something in the announcements topic about this but I don’t believe it has been done yet.
We haven’t formally released any general purpose reports or API yet but if it’s useful to you you can get a feed of traps for any number of projects that have opted into sharing anonymised data. Trap locations are snapped to a 200m grid. The feed URL is:
where 123, 456 and 789 are the project IDs you want to map. You can also optionally filter by date by adding:
You can see a demo of this in action here: https://www.trap.nz/static/pfw-hex.html - feel free to use any part of the code. We plan to release some publicly available reports in this style in the near future but hopefully this is useful in the meantime.
Sorry David, looks like you’re right. I’ll get back to you when we have the date filter working.
I noticed the box containing catch summary info is ok at the default zoom, but moves in the wrong direction and wrong scale if you zoom and pan a bit. At times it can move right out of view
Moderate example with Cursor position vs box position shown below.