Ruby-Mapnik
Ruby-Mapnik copied to clipboard
Ruby Bindings for Mapnik
There's an alternative approach to creating a mapnik rubygem at https://github.com/scooterw/ffi-mapnik and I've heard reports that it works fine. If so, then perhaps we should ditch Rice and use that...
When running the tests we receive the error: ``` 1) Error: test_should_add_a_geometry(TestMapnikFeature): ArgumentError: Unable to convert Fixnum to long long ``` The test is [straighforward](https://github.com/mapnik/Ruby-Mapnik/blob/b5562a306fdc2e258ae2d150db6afa53b8de2de4/test/test_mapnik_feature.rb#L13): ``` assert feature = Mapnik::Feature.new(Mapnik::Context.new,...
Following tests are failing. Mapnik 2.3.0-pre from packages as per https://github.com/mapnik/mapnik/wiki/UbuntuInstallation. ``` Error: test_should_add_a_geometry(TestMapnikFeature): ArgumentError: Unable to convert Fixnum to long long /root/Ruby-Mapnik/test/test_mapnik_feature.rb:23:in `initialize' /root/Ruby-Mapnik/test/test_mapnik_feature.rb:23:in `new' /root/Ruby-Mapnik/test/test_mapnik_feature.rb:23:in `test_should_add_a_geometry' 20: end...
Versions obtained with `mapnik-config -v` and `ruby -v` `rake test` gives ``` mateusz@Grisznak:~/Desktop/tmp/Ruby-Mapnik$ rake test Defaulting gemspec to MIT license. Call license in hoe spec to change. install -c tmp/i686-linux/ruby_mapnik/1.9.3/ruby_mapnik.so...
After #47 I installed mapnik as described in "Install Mapnik library" section on http://switch2osm.org/serving-tiles/manually-building-a-tile-server-14-04/ `mapnik-config -v` gives `2.2.0-pre` running rake results in ``` Defaulting gemspec to MIT license. Call license...
``` $ ruby -v ruby 2.0.0p451 (2014-02-24 revision 45167) [universal.x86_64-darwin13] ``` ``` Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x00007fff90e4e866 __pthread_kill + 10 1 libsystem_pthread.dylib 0x00007fff92ae835c pthread_kill + 92...
Most likely a minitest 5 compatibility issue: ``` /usr/bin/ruby -w -Ilib:bin:test:. -e 'require "rubygems"; require "minitest/autorun"; require "test/test_polygon_pattern_symbolizer.rb"; require "test/test_helper.rb"; require "test/test_mapnik_font_engine.rb"; require "test/test_mapnik_symbolizer.rb"; require "test/test_mapnik_expression.rb"; require "test/test_mapnik_line_symbolizer.rb"; require "test/test_mapnik_coord.rb";...
Thanks for a great project. Has made building a ruby tile server very simple. Keeping on the bleeding edge I tried to build a ruby 2.0.0 ruby_mapnik application to ruby...
mapnik:2.1.0 ruby: 1.9.3p385 ``` Building native extensions. This could take a while... ERROR: Error installing ruby_mapnik: ERROR: Failed to build gem native extension. /usr/bin/ruby19 extconf.rb checking for main() in -lrice......
Hi, I'm running Fedora 17 (3.6.7-4.fc17.x86_64) and the Ruby-Mapnik gem does not compile, I get the following errors: gem install ruby_mapnik Fetching: ruby_mapnik-0.1.5.gem (100%) Building native extensions. This could take...