datagistips / geo4TableSchema

A proposal for implemeting spatial dimension in TableSchema
MIT License
4 stars 2 forks source link

support for collection of geometries ? #5

Open defuneste opened 2 years ago

defuneste commented 2 years ago

Hello,

As stated here geomtype only support single geometry type what happens in case of collection of geometries?

Should this standard support collection of geometries (points, lines, polygons in the same WKT column) , if yes how can it be represented? Or should it be avoided?

datagistips commented 2 years ago

Hello

Here is a proposal for multitype : https://github.com/datagistips/geo4TableSchema/blob/main/mds/REFERENCE.md#geomtype

Does it sound good for you ?

For me, it should not be avoieded : there are some cases where multitype is required. I have an example on City Traffic Regulation : regulation can be applied either to a street (LineString), either to a walking area, or the entire city (Polygon).