jeudi 26 mars 2015

Tool, API of or code samples for calculating spatial similarity between Lines


I migrating a database with a road network to an other external data provider. We have joined our own data about roadworks, temporary speed-limits etc. using ID en Linear referencing on this data. So i needs to find the same segment in the newer dataset and its ID to migrate the data.


Their are small spatial differences no matching attributes between these to datasets. So can't use a regular spatial join. Parallel streets close to each other make using buffers a problem


I looking for a way to find the similarity between Lines, similar to fuzzy string searching with text. This i can find the most matching line, and add the new ID and recalculate the lengths in our tables.


Is their a tool, API or codesamples (I prefer python, JavaScript or PostGIS-SQL) that show how to do this?





Aucun commentaire:

Enregistrer un commentaire