hotosm / fmtm

Field Mapping Tasking Manager - coordinated field mapping.
https://fmtm.hotosm.org/
GNU Affero General Public License v3.0
49 stars 46 forks source link

Selective data extract clipping based on extract_type #1220

Open spwoodcock opened 9 months ago

spwoodcock commented 9 months ago

Describe the bug

Now clipping has been disabled, we get extracts like:

image

So we need clipping disabled to correctly extract polylines, but clipping should probably be enabled if the extract type is polygon or point.

Expected behavior

Additional context

We should discuss this as a team.

Perhaps it's ok to keep polygons that are intersected by the aoi.

It doesn't look at neat, but may be useful to ensure all geoms are captured.

spwoodcock commented 9 months ago

Related #1219

spwoodcock commented 4 months ago

Update to this.

If we update the project creation to use data extracts with only the map features (i.e. no polylines), then this won't be an issue. We can revert to useStWithin: true to clipping.

Then when we download the polylines in fmtm-splitter we can specify useStWithin: false to ensure we get all necessary polylines for splitting.