Clustering based on geographical and non-geographical attributes

Masoudsd
Masoudsd New Altair Community Member
edited November 5 in Community Q&A
I'm working on an order dataset and I want to cluster orders by different clustering algorithms. also I want to add following constraint. For clustering, I have both geographical and non-geographical, and I want to cluster in such a way that each city is placed in only one cluster, and therefore all orders that include that city must be placed in the same cluster. I also have latitude and longitude columns, so the latitude and longitude of each city should be seen in only one cluster and same cluster of city. There can be several cities in each cluster. I have columns like as ID, product type, quantity, color, latitude, city, longitude. 
How can I reach this purpose?

Answers