Questions tagged [invalid-data]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
30 views

No valid training data were found [Google Earth Engine]

I would like to create a classification model through randomForest model. I used Sentinel 2 dataset. Everything is working if I'm using the original bands for the predicted variable. However, if I ...
3
votes
1answer
75 views

Seeking code behind Fix Geometries tool in QGIS?

I used the very nice "Fix Geometries" tool in the Processing Toolbox of QGIS 3.6 to repair a vector layer that was giving me trouble. The tool in QGIS worked just fine, but I was hoping to find out ...
1
vote
1answer
50 views

Invalid geometry error after polygonizing a GeoTIFF file

I wanted to clip an OSM vector layer with the boundaries of a raster image--a GeoTIFF file. I was able to polygonize the raster and obtain its boundary in a vector format. But I am getting a error ...
1
vote
1answer
351 views

Latitude and longitude values in Google Takeout location history data sometimes out of range

I've exported my geolocation history data as a JSON from Google Takeout and the latitude/longitude values are out of normal range sometimes. It seems to happen for some locations only, while others ...
1
vote
1answer
1k views

How to fix invalid polygon with self-intersection - Python [closed]

I have a self-intersecting polygon inside a shapefile. Does there exist a Python library which spots the self-intersections and makes it possible to correct them? I have found it is possible in QGIS ...
2
votes
1answer
69 views

Do Not Filter vs Ignore Invalid Geometries

In QGIS 3, What's the difference between "Do not filter (better performance)" and "Ignore invalid geometries"? Both can be found at Settings > Options > Processing > General Both are options to ...
1
vote
1answer
95 views

24412: Not valid because the interior of a polygon with rings (2) and (1) is not connected

I've got geography in sqlserver that is invalid. Running IsValidDetailed() I get the reason as 24412: Not valid because the interior of a polygon with rings (2) and (1) is not connected. But I don'...
0
votes
0answers
60 views

How to fix: JTS TopologyException: Found null DirectedEdge

How can I fix a: TopologyException: Found null DirectedEdge? Initially (sadly), the geometry is invalid. But then when applying a geom.buffer(0) st_valid(my_geom) returns true. Still there are ...
1
vote
0answers
40 views

Splitting vector file by attributes in QGIS gives errors about invalid geometries? [duplicate]

I am trying to split my vector file by attributes but QGIS keeps throwing me errors about invalid geometries. I have cleaned the dataset and still no joy. This seems to be a common error with a lot ...
3
votes
2answers
1k views

Invalid geometries in QGIS 3 seems to be more prevalent than QGIS 2

I have a large polygon vector data set containing approximately 10,000 rows of data. I have used this data to run specific tasks in the QGIS 2 series (many of the Geoprocessing tools) with no issue of ...
3
votes
0answers
136 views

Why do I get invalid elements (polygons), when smoothing a vector layer (smooth geometry)?

The problem occurs, when using the commands "Smooth geometry" or "v.generalize.smooth" in QGIS. The shapefile, which I want to smooth, shows a flood water level and looks like this: The water level ...
0
votes
1answer
299 views

Invalid Geometry in PostGIS but Valid in FGDB

I have a data with lots of polygons which illustrated below (and it's a little tip of my study area) When I worked with ArcGIS, I run 'repair geometry' and it fixed some of the errors. Then, I ...
1
vote
1answer
125 views

st_intersects of zero area polygon and point returns false

I have the following three geometries: PT: Point(0 0) LINE: LineString(0 0, 0 10) POLY: Polygon((0 0, 0 0, 0 0, 0 0)) Calling st_intersects on LINE and POLY returns true (as though POLY describes ...
6
votes
3answers
5k views

Solving topological errors like invalid geometries in QGIS?

I use QGIS, version 2.18.9. I´ve several polygon-shapes with topological errors. Before I tried to apply the "intersection"-tool and got the message: Input layer A contains invalid geometries (...
2
votes
0answers
519 views

Python OGR Execute SQL - Get console output

I am currently trying to scan around 1500~ MapInfo TAB files for invalid geometry using Python and OGR. So far, I've managed to run the following command to filter features that contain errors: ...
2
votes
1answer
576 views

Compare only valid polygon geometries in PostGIS

I'm trying to run a fuzzy geometry comparison on a large polygon dataset (>2 million rows), but am getting an error like so: ERROR: ptarray_contains_point called on unclosed ring SQL state: XX000 ...
3
votes
1answer
255 views

Export a list of invalid geometries using Python

Is there a way to export a list of layers containing invalid geometry (e.g. self-intersections) via Python? Our GIS server contains over 40,000 layers, some of which have all sorts of errors that ...
2
votes
1answer
126 views

Invalid geometries

I have downloaded the latest spatialite-gui v.1.4.0. (spatialite version 2.4.0.) When I try to correct invalid geometries and I use the following string (that I use to use with the past version): ...
3
votes
1answer
1k views

Split Parts Tool Error: Geometry invalid

I have trouble splitting a multipart feature and can't figure out what I'm doing wrong. I have a multipart feature of Islands which all belong to the same country, so they should stay a multipart ...
2
votes
0answers
693 views

How to solve UnicodeDecodeError in Python when executing Make Valid LWGEOM algorithm in QGIS?

I'm trying to fix some invalid geometries using the Make Valid LWGEOM algorithm in QGIS 2.8.3 processing toolbox but a Python error occurs: Errore durante l'esecuzione di codice Python: Traceback (...
1
vote
2answers
4k views

Shapefile - problem with number of points in LinearRing

I am new to shapefiles and I've got a bit lost. I am trying to plot pooling sections in my region (Madrid) with different colors. But I get Error: IllegalArgumentException: Invalid number of ...
2
votes
1answer
326 views

Why are a polygon's vertices jumbled after importing KML into MySQL?

This is original KML : <Polygon><outerBoundaryIs><LinearRing><coordinates>104.700355,-3.056064 104.632127,-3.103623 104.608924,-3.103169 104.570166,-3.102411 104.5588,-3....
1
vote
1answer
203 views

Geometry error in roadnetwork

I have a road network table. When I check st_isValid(the_geom)='f', I am getting an error: NOTICE: IllegalArgumentException: point array must contain 0 or >1 elements ERROR: Exception in ...
2
votes
0answers
1k views

Invalid geometry

I'm working on some shapefiles in both ArcGIS 10.2 and QGIS 2.0. I have 3 files which I have cleaned of self intersections in ArcGIS using Repair Geometry. I have also checked for Overlaps using the ...
2
votes
2answers
1k views

Polygon inside polygon invalid in QGIS

Looking at this map data from naturalearth (part of Oman & UAE to be specific), each country is defined as a multipolygon. In this case UAE (in red) contains two polygons and Oman (beige) three. ...
5
votes
1answer
3k views

Detecting invalid WKT in text column in SQL Server

I've got a whole load of WKT data in a SQL Server table, of which I'm trying to detect the validity. I'm currently doing a query like this: UPDATE f SET f."CurrentGeomValid" = geometry::...
3
votes
1answer
2k views

Possible solution for dangling nodes?

I was just asked in a interview what a dangling nodes was. I had no idea and asked a former co-worker. I was informed that a significant amount of time was spent fixing these. I was confused how ...
5
votes
2answers
3k views

Why are self-intersecting polygons bad?

Working with both ArcGIS and Oracle Spatial, a self-intersecting polygon renders a geometry invalid. Why are self-intersecting polygons a problem?
2
votes
2answers
2k views

ArcSDE: Specifying fields to not allow null values

I have a feature class in SDE that has various fields where the setting AllowNulls is set to FALSE. When creating a feature in ArcMap in this feature class it still allows nulls to be specified in ...
3
votes
2answers
259 views

Obtaining nodata information for ASTER datasets?

Is there any way to determine what the nodata value should be, in a set of geotiff images that do not have the 42113 tiff tag ? I am trying to get elevation information, programatically in c++, and ...
2
votes
2answers
1k views

Implementing field validation rules in ArcGIS?

I've found that ArcGIS offers validation of 2 basic constraints: field data type and if the value is required or not. Is there any way or AddIn to attach more complex validation rules? I mean ...
2
votes
1answer
698 views

Validate SDE features within ArcObjects (can't use sdeLayer)

I'm trying to sweep through a feature class checking for invalid features (and log the invalid features). Would IValidation.Validate work or does that just check for rules? If not I'm guessing I ...
8
votes
5answers
7k views

Is there any place in which I can find a list of invalid database characters for ArcGIS 10?

Relating to my question about the split tool here, as suggested I ask a new question: is there any place with a list of invalid characters to use in a database in ArcGIS 10? edit: It is in relation ...
9
votes
3answers
488 views

Invalid geometry zoo

Many a time and oft I've spent hours struggling with bizarre bugs resulting from invalid geometries. The symptoms vary greatly, including: Database slowdowns Incorrect\Null query results Log files ...
2
votes
3answers
2k views

Why is this polygon “self intersected” and invalid?

I have a polygon defined as follows: segment from 43:29:02 N 003:50:39 E to 43:34:12 N 003:43:04 E arc(CW): center (43:34:49 N 003:58:16 E) from 43:34:12 N 003:43:04 E to 43:45:45 N 003:59:56 E ...
6
votes
1answer
4k views

Using QGIS to fix invalid geometry without saying not allowed?

I have a shapefile, and it's got a self-intersecting geometry in it. I'd like to fix the self-intersection, but it will require a few moves. When I attempt to move a point using the QGIS edit tools, I ...
11
votes
2answers
3k views

What are the implications of invalid geometries

I've imported some data in a Postgis database and some of the geometries are reported invalid (ST_IsValidReason reports self-intersection or ring self-intersection). The queries I am performing don't ...