Is it possible to save points and multiline strings within the same shapefile? If so, how?
Asked
Active
Viewed 1,343 times
2 Answers
12
-
Thanks. Is there another file format that allows you to save points and lines within the same vector? – csft306 Jul 09 '18 at 13:31
-
look at the first answer – Christophe P. Jul 09 '18 at 14:23
-
2For example GML, OpenJUMP JML, MapInfo TAB, SpatiaLite, GeoPackage, GeoJSON... – user30184 Jul 09 '18 at 14:34
7
As said in other answer you can't have different geometry in the same shapefile.
Some format will allow you to mix geometry but it is considered bad practice (some software wont open file with mixed geometry, geotraitement expect a single geometrie type per entry...)
If you want a single file to hold different vector type have a look at geopackage or sqlite (answer to this question for more info on these two format)
J.R
- 16,090
- 1
- 19
- 52