An open API service indexing awesome lists of open source software.

https://github.com/frodrigo/r-c2w

Convert vector french cadastre to OpenStreetMap way
https://github.com/frodrigo/r-c2w

Last synced: 2 months ago
JSON representation

Convert vector french cadastre to OpenStreetMap way

Awesome Lists containing this project

README

        

Object
======
Automatic extraction of way and waterway from french vector cadastre.
By Frederic Rodrigo, 2010-2011, AGPL3

Dependencies
============
Build
- gcc
- cmake
- cgal Computational Geometry Algorithms Library
- boost library version > 1.44

Run
- qadastre (http://gitorious.org/qadastre/qadastre2osm)
- ruby (>= version 1.9)

Build
=====
Build skeleton directory, need camke and cgal lib.
$ cd skeleton
$ cmake .
$ make

Build convo directory, need libboost, but already a cgal dependency.
$ cd convo
$ sh make

Principle
=========
From city limit and land field extract empty public space. From this, compute voronoi skeleton diagram and extract street.

Usage
=====
Download and extract data from cadastre with project qadastre. Needed data for r-c2w are lands, water and city-limits (use --convert-with-lands option)

Run r-c2w with .osm files base name.
$ sh r-c2w.sh ../quadastre2osm/F4402-SAINTE-FOY-LA-GRANDE

All result files are in same directory as input files. There is a file for street and one for waterway as *.skel.gpx.

Batch Usage
===========
Obtain communes list from qadastre with:
$ Qadastre2OSM --list 011 > list

Place the list file in root directory of project. Fix QADASTRE path in r-c2w-list.sh if needed.
Then run:
$ bash r-c2w-list.sh
Now take a coffee, print walking-paper and go map New Zeland (you can take your time).
This last script work incrementaly, you can re-run if you stop it or to retry if something go wrong.