Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload GeoJSON Allows Large Areas While Drawing Mode Restricts to 200 km² #2233

Open
adiatmad opened this issue Feb 26, 2025 · 3 comments
Open
Assignees
Labels
bug Something isn't working frontend Related to frontend code priority:high Should be addressed as a priority

Comments

@adiatmad
Copy link

Describe the bug
I can upload a GeoJSON file (38 MB) to create a project covering the entire India, but the Drawing mode restricts projects to a maximum of 200 km². This seems like a bug or an unintended limitation.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'https://fmtm.hotosm.org/create-project'
  2. Complete everything and click on 'Next'
  3. Select 'Upload File' and choose the India administrative boundary
  4. No warning shows and I can go to the next steps.

Image

Expected behavior
A warning message pops up and blocks the next steps.

Image

Additional context
I am on Firefox for desktop version 135.0.1 (64-bit)

@adiatmad adiatmad added the bug Something isn't working label Feb 26, 2025
@spwoodcock spwoodcock added priority:high Should be addressed as a priority backend Related to backend code frontend Related to frontend code and removed backend Related to backend code labels Feb 26, 2025
@spwoodcock spwoodcock assigned NSUWAL123 and unassigned nrjadkry and Sujanadh Feb 26, 2025
@spwoodcock
Copy link
Member

spwoodcock commented Feb 26, 2025

Thanks @adiatmad ! Could you upload the AOI here for this project please? 🙏
(to help debug)

@adiatmad
Copy link
Author

Here you go, thanks for your help!
India AMD_GRID_6-5kmX6-5km.zip

@Sujanadh
Copy link
Collaborator

The drawing mode restricts projects to a maximum of 200 km². It is an intended limitation. We also avoid uploading AOI greater than 200 km2. The proposed issue is because the aoi is the collection of small square features; that's why it bypassed limitations (might have tested area of single feature).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working frontend Related to frontend code priority:high Should be addressed as a priority
Projects
None yet
Development

No branches or pull requests

5 participants