scooterw / ffi-ogr

Convenient Ruby wrapper for OGR
MIT License
13 stars 5 forks source link

to_shp method does not pass options hash #14

Closed slorek closed 9 years ago

slorek commented 9 years ago

The OGR::DataSource#to_shp method does not pass the options hash when it calls to_format. I worked around this by using to_format directly for now.

scooterw commented 9 years ago

Sorry about that! I will take a look this afternoon. I am glad you were able to find a workaround in the meantime. Thanks for using this!

slorek commented 9 years ago

No, thank you for the useful library!

scooterw commented 9 years ago

This should be fixed with 94d8f70. I tested by passing {shpt: 'null'} with to_shp, and got the expected .dbf without the .shp and other files. Please let me know whether this fixes your issue. Thanks!

slorek commented 9 years ago

This fixes it, thanks!