Questions tagged [null-geometry]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4
votes
1answer
143 views

Solving ‘Null geometry…’ error during distance matrix operation?

I have a tab delimited file with data about earthquakes epicenters and their intensities (signif.txt). I also have a shape file with point data representing populated places of the world (...
1
vote
1answer
78 views

How to record an unknown geometry in QGIS?

In the QGIS Python API it states that "a null geometry will always return true for isEmpty()." For a geometry, a relational database null refers to an unknown geometry. For example, if I had a ...
16
votes
3answers
10k views

Ignoring invalid input features with Intersection tool in QGIS?

In QGIS 2.18, when I used the Vector > Geoprocessing Tools > Intersection tool, I was able to check an option which said "Ignore NULL geometries [optional]". Now I've downloaded QGIS 3.2 and that ...
1
vote
1answer
387 views

Create empty geometry in QGIS with python

I would like to create a model point dataset in QGIS 3.0.3 with Python in the QGIS python console to do some testing. Specifically, I want to create a point dataset that has a feature with an empty ...
2
votes
1answer
98 views

Intersect outputs shapefile with null values

I have a model that iterates through a folder of field boundaries (polygons) and produces an intersect against a shapefile of points. The output is then a point shapefile for each boundary. Note: ...
2
votes
2answers
53 views

Can polyline shapefile hold geometries with 0 vertices?

I have a polyline shapefile and a few geometries (5 out of 2000+) have no vertices at all. I am a bit surprised and was wondering whether my shapefile is broken (so I have a bug when creating the ...
1
vote
0answers
51 views

CreateFeatureclass_management Not Displaying in Map - Null Geometry

I have two feature classes that share a common ID field. I wrote a script to create a new feature class that contains the records in the first FC that are not in the second FC. It works, in that it ...
2
votes
1answer
97 views

ArcGIS 10.2 Custom Geocoder outputs results with no geometry

I have a custom general single field geocoder that reads a meter number field attached to premise points. This meter number field is the only link between our premise points and corrosion data tables ...
4
votes
1answer
887 views

QGIS 'invisible feature'

I have a shapefile with 1722 rows representing a road network. There is a feature somewhere, somehow that is kind of invisible, specifically the feature with id 1780. When I execute an expression "...
2
votes
0answers
38 views

Why are there null geometry lines after using the contour tool in Spatial Analyst?

A few months ago, I ran the Contour tool on two separate DEMs (one was smoothed and the other wasn't). The contour interval was set to 1m. Today, I noticed that there were several features created ...
5
votes
2answers
663 views

Copying geometry from one feature to another feature with NULL geometry using QGIS?

I have a shapefile in which some of the features have NULL geometries. What I would like to do is to copy existing geometries from other features and paste them to those features within the same layer ...
5
votes
0answers
54 views

Updating null geometries from attribute using ArcGIS Field Calculator? [duplicate]

I have a large point feature class and have realised that there are several hundred features with null geometry. Fortunately the coordinates are stored as an attribute. What I need to do is update the ...
6
votes
2answers
8k views

Selecting features with NULL Geometry from Shapefiles using QGIS?

I have been given a Shapefile that contains records with NULL geometry, along with records with non-NULL geometry. This situation appears to cause problems in QGIS (1.8 and 2.0) when editing the ...
7
votes
2answers
3k views

How to add a geometry to an existing feature that was created with NULL geometry?

I have a simple SpatiaLite geodb loaded in QGIS with one table. There is a POINT geometry field and some alphanumeric data. In some cases I can record data about a specific site, but the coordinates ...
7
votes
1answer
276 views

Understanding null shape type

I have some shapefiles that I am reading and then loading into tables in the database. The shapefiles with no zoom (eg. "au_postcode") have no shapes with type null. When I tried to load a shapefile ...