For urban farming use, I'm finding the maps insufficiently detailed (scale too large even at max zoom) to add areas to precisely. Would love the ability to upload one or more .jpg image(s) of the farming area and use those as the basis to add areas to.

Comments

slarmour created an issue. See original summary.

m.stenta’s picture

I love this idea! And it might be possible with Openlayers (the mapping library we're using currently).

We already have the ability to show custom aerial imagery - although that is essentially just pulling in an additional layer to add on top of a map.

What you're describing would be more like: here is an image, it is not a map, let me use this as a layer and draw on it.

I don't think there would be anything preventing this from working in theory. But since it wouldn't be at all tied to geography, we would need to make sure we could force Openlayers to allow an arbitrary positioning system, rather than the latitude/longitude that is used right now. And, we'd need to make sure everything else in farmOS (ie: the geofield that stores the shapes, and any code that uses that data) also supports it.

I could see this being a great way to open up farmOS to indoor operations, while still having mapping capabilities. Or even small backyard gardeners. Right now, you can disable maps in farmOS, and sometimes that's the best option for those very-small scales, because the map isn't helpful and can just be distracting.

m.stenta’s picture

Thinking about this a bit further... maybe we shouldn't try to separate it from actual geography. Maybe we should just allow images to be added for very low zoom levels, and positioned very specifically. So you could upload an image, rotate/stretch it to fit the actual area geographically, and then everything else would just work I think. You would still be storing shapes as lat/lon, but they would be very small. I think that would still work.

slarmour’s picture

I like the idea of being able to upload an image and somehow still have coordinates for it for very low zoom levels (as you suggest).

m.stenta’s picture

Version: 8.x-2.x-dev » 7.x-1.x-dev

Reorganizing issues ahead of assembling the new farmOS 2.x roadmap (#3092830: [META] farmOS 2.x Roadmap). Moving all feature requests back to the 7.x-1.x branch in the meantime for consistency - to be moved back once we are further into the 2.x dev process.

m.stenta’s picture

Status: Active » Closed (outdated)

@paul121 had some interesting ideas for a new "Imagery Asset" type in farmOS v2. I think that might cover some of the desires here pretty well. I'm going to close this and link back to it from the new forum topic for reference.

https://farmos.discourse.group/t/imagery-asset-any-interest/887