Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specifying SHP-file output doesn't work as advertised #46

Open
emacgillavry opened this issue Oct 17, 2016 · 1 comment
Open

Specifying SHP-file output doesn't work as advertised #46

emacgillavry opened this issue Oct 17, 2016 · 1 comment

Comments

@emacgillavry
Copy link

According to https://github.com/tudelft3d/pprepair/blob/master/README.md#L31, one should specify cmake -DDRIVER="ESRI Shapefile" . , but on

# add_definitions(-DDRIVER="ESRI Shapefile")
, this is option is commented out. Hence, the command pprepair only outputs GeoJSON instead of SHP-file.

@bmmeijers
Copy link
Collaborator

I looked a bit into this. I think it does not work to pass the -DDRIVER definition on the command line to cmake. What works for me is modifying the CMakeLists.txt file and uncommenting the desired the driver, while commenting the other.

I would do a out of source build, so then the steps are (when inside the root of the project, and after editing the CMakeLists.txt file):

$ mkdir build $ cd build $ cmake .. $ make

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants