Error message when uploading KML file to create a new place

Please fill out the following sections to the best of your ability, it will help us investigate bugs if we have this information at the outset. Screenshots are especially helpful, so please provide those if you can.

Platform (Android, iOS, Website): Website

App version number, if a mobile app issue (shown under Settings or About): n/a

Browser, if a website issue (Firefox, Chrome, etc) : Chrome

URLs (aka web addresses) of any relevant observations or pages: https://www.inaturalist.org/places

Screenshots of what you are seeing (instructions for taking a screenshot on computers and mobile devices: https://www.take-a-screenshot.org/): Error at top of page is “There were problems importing that place: Boundary did not save: PG::CheckViolation: ERROR: new row for relation “place_geometries” violates check constraint “enforce_geotype_geom” DETAIL: Failing row contains (146631, 184668, null, null, 2022-09-09 10:31:27.75546, Boundary did not save: PG::CheckViolation: ERROR: new row for relation “place_geometries” violates check constraint “enforce_geotype_geom” DETAIL: Failing row contains (146632, null, null, null, 2022-09-09 10:31:27.755463,”

Description of problem (please provide a set of steps we can use to replicate the issue, and make as many as you need.):

Step 1: Add name- SwaledaleBoundary

Step 2: Add parent- Yorkshire Dales National Park

Step 3: Upload KML file

Step 4: Error message as stated appears at the top of the page, and form is blank

Step 5: Wonder if it’s a QGIS problem and you’re a bit new to it all, or if it’s iNaturalist side

2 Likes

it’s hard to say for sure what the issue is without being able to seeing the contents of your KML file. based on the messages you noted, i would guess that your KML file geometry is invalid or is not expected. iNat expects you to have one feature that is defined as some sort of polygon (or multiple polygons). if you’ve, say, defined your geometry as some sort of line or a series of points, that would not work for the purposes of creating a place in iNat.

1 Like