CartoDB / crankshaft

CARTO Spatial Analysis extension for PostgreSQL
BSD 3-Clause "New" or "Revised" License
54 stars 20 forks source link

add geometry check for weight building #203

Open andy-esch opened 6 years ago

andy-esch commented 6 years ago

If a user requests to build a weight using queens but the dataset consists of points, it'll fail. We should do geometry-type checking first and error with a clear message about use of queens only with polygon geoms.