ICON
Help Center / What is a multipoint, multiline or multipolygon geometry? /

What is a multipoint, multiline or multipolygon geometry?

In the Spotzi Geomarketing Platform, we offer various geometries, including points, lines, and polygons. However, there is also a way to combine multiple points, lines, or polygons into a single record. Depending on the geometry type you want to combine, we refer to this as multipoint, multiline, or multipolygon.

How can we observe this difference in the data?
Let's take a look at how we can see this in the data. On the left side, we have 5 points, with each row representing a point. On the right side, we see the same points grouped into a MultiPoint geometry.

Point MultiPoint
{"type":"Point","coordinates":[-73.986951,40.748817]}
"type":"Point","coordinates":[4.902132,52.378894]}
{"type":"Point","coordinates":[139.691706,35.689487]}
{"type":"Point","coordinates":[-0.127758,51.507351]}
{"type":"Point","coordinates":[114.169364,22.319303]}
{"type":"MultiPoint","coordinates":[
[-73.986951,40.748817],
[4.902132,52.378894],
[139.691706,35.689487],
[-0.127758,51.507351],
[114.169364,22.319303]
]}

Which multi geometries are available?

Multipoint Geometry

A multipoint is a collection of individual points or coordinates on a map. It groups multiple geographic locations together in a single entry. Each point within the multipoint represents a specific location, such as store branches or landmarks. Set Up: To set up a multipoint, you provide a list of latitude and longitude coordinates for each location. These coordinates are grouped together to form a single multipoint entry.

Example of a MultiPoint feature

{"type":"MultiPoint","coordinates":[[-73.986951,40.748817],[4.902132,52.378894],[139.691706,35.689487],[-0.127758,51.507351],[114.169364,22.319303]]}

Multiline Geometry

A multiline is used to represent connected line segments on a map. It's ideal for displaying routes, roads, or pathways that consist of multiple segments or lines. Set Up: To create a multiline, you define the starting and ending points of each line segment and connect them to form a continuous path. This set of connected line segments makes up the multiline.

Example of a MultiLine feature

{"type":"MultiLineString","coordinates":[[[6.01021764,52.33408035],[6.01021764,52.33408035],[6.02532384,52.35924793],[6.01502416,52.38607756],[6.01433752,52.41247206],[6.02189062,52.43843219],[6.03562353,52.45600939]]]}

Multipolygon Geometry

A multipolygon represents multiple enclosed geographic areas or regions. It's commonly used to show territories, boundaries, or regions that consist of multiple shapes. Set Up: To set up a multipolygon, you define the individual polygons that make up a larger area. Each polygon has a set of coordinates that outline its shape. The multipolygon groups these polygons together to represent a more complex geographic area.

Example of a MultiPolygon feature

{"type":"MultiPolygon","coordinates":[[[[19.82502937,40.68735504],[19.82194328,40.68235779],[19.8148365,40.67967224],[19.81023788,40.67752838],[19.80553818,40.6753273],[19.80166626,40.67650986],[19.80024719,40.67720413]],[[19.7924099,40.72048187],[19.79672241,40.71750641],[19.80062675,40.71349716],[19.80431366,40.70675659],[19.80429459,40.70547867],[19.81305313,40.70576859],[19.82108688,40.70426941],[19.82258034,40.69897842],[19.82014465,40.69248962],[19.82502937,40.68735504]]]]}

Benefits of using MultiPoint, MultiLine or MultiPolygon features

Shortcomings of using MultiPoint, MultiLine or MultiPolygon features

Related blog posts

Access the Free Spotzi Explorer

Gain access to our free catalog of maps and dashboards. Find Postal Codes, learn more about global income differences or just get inspired by our community maps. Spotzi Explorer is our free solution for every marketer, researcher, student and beyond. Available as a stand alone solution and part of our price plans.

Get free access to Spotzi Explorer Read more
thumbnail Spotzi Audiences now available via Programmatic OOH

Blog

Spotzi Audiences now available via Programmatic OOH