question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Geometries cannot be edited from the dataset view

See original GitHub issue

Context

I was just doing some testing.

Steps to Reproduce

  1. Create a new map with an empty layer.
  2. Click on the layer.
  3. Draw any geometry.
  4. Refresh (because of https://github.com/CartoDB/cartodb/issues/11857)
  5. Click on the layer again.
  6. Open the dataset view.
  7. Double click on any of the editable cells for the geometry you just created (eg: name)
  8. Type something and hit Enter.

Current Result

This:

screen shot 2017-03-27 at 17 05 41

Backend is returning the following error:

{"errors":["PG::Error: ERROR:  parse error - invalid geometry"]}

This is the payload that is being sent to the server:

{
  "cartodb_id": 1,
  "the_geom": "{\"type\":\"Point\",\"coordinates\":[4.921875,9.10209674]}",
  "the_geom_webmercator": "{\"type\":\"Point\",\"coordinates\":[547900.61874814,1017529.72067584]}",
  "name": null,
  "description": "b"
}

Expected result

Geometry is updated and no error message appears.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
xavijamcommented, Apr 17, 2017

Fixed!

0reactions
alonsogarciapablocommented, Apr 17, 2017

👏👏👏

Read more comments on GitHub >

github_iconTop Results From Across the Web

Finding invalid geometry—ArcMap | Documentation
Finding invalid geometry ; Start ArcMap ; On the main menu, click Customize > Toolbars > Data Reviewer ; Click the Select Data...
Read more >
Editing a Geometry - Hydrologic Engineering Center
Edit a new Geometry, by right-clicking on the Geometry layer. You cannot edit a Geometry in RAS Mapper while having an editor open...
Read more >
Handling Invalid Geometries (QGIS3) - QGIS Tutorials and Tips
This tutorial will show you a typical workflow for handling invalid geometries in your data. Note. Different software systems implement ...
Read more >
Can't edit geometry of features with Oracle Spatial data source ...
I can't edit geometry of features with Oracle Spatial data source in QGIS (3.8). I grant table SELECT, UPDATE, DELETE, INSERT to user....
Read more >
View/Edit Data — pgAdmin 4 6.16 documentation
Note that views cannot be edited; updatable views (using rules) are not supported. The editor features a toolbar that allows quick access to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found