ruby_mapnik 0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.autotest +35 -0
- data/.gemtest +0 -0
- data/.yardopts +1 -0
- data/Gemfile +12 -0
- data/LICENSE +19 -0
- data/Manifest.txt +177 -0
- data/README.rdoc +84 -0
- data/Rakefile +43 -0
- data/demo/data/COPYRIGHT.txt +3 -0
- data/demo/data/TM_WORLD_BORDERS_SIMPL_0.3_MOD.dbf +0 -0
- data/demo/data/TM_WORLD_BORDERS_SIMPL_0.3_MOD.prj +1 -0
- data/demo/data/TM_WORLD_BORDERS_SIMPL_0.3_MOD.shp +0 -0
- data/demo/data/TM_WORLD_BORDERS_SIMPL_0.3_MOD.shx +0 -0
- data/demo/data/boundaries.dbf +0 -0
- data/demo/data/boundaries.prj +1 -0
- data/demo/data/boundaries.sbx +0 -0
- data/demo/data/boundaries.shp +0 -0
- data/demo/data/boundaries.shx +0 -0
- data/demo/data/boundaries_l.dbf +0 -0
- data/demo/data/boundaries_l.prj +1 -0
- data/demo/data/boundaries_l.sbx +0 -0
- data/demo/data/boundaries_l.shp +0 -0
- data/demo/data/boundaries_l.shx +0 -0
- data/demo/data/ontdrainage.dbf +0 -0
- data/demo/data/ontdrainage.prj +1 -0
- data/demo/data/ontdrainage.sbx +0 -0
- data/demo/data/ontdrainage.shp +0 -0
- data/demo/data/ontdrainage.shx +0 -0
- data/demo/data/popplaces.dbf +0 -0
- data/demo/data/popplaces.prj +1 -0
- data/demo/data/popplaces.sbx +0 -0
- data/demo/data/popplaces.shp +0 -0
- data/demo/data/popplaces.shx +0 -0
- data/demo/data/qcdrainage.dbf +0 -0
- data/demo/data/qcdrainage.prj +1 -0
- data/demo/data/qcdrainage.sbx +0 -0
- data/demo/data/qcdrainage.shp +0 -0
- data/demo/data/qcdrainage.shx +0 -0
- data/demo/data/roads.dbf +0 -0
- data/demo/data/roads.prj +1 -0
- data/demo/data/roads.sbx +0 -0
- data/demo/data/roads.shp +0 -0
- data/demo/data/roads.shx +0 -0
- data/demo/data/test/charplacement.dbf +0 -0
- data/demo/data/test/charplacement.shp +0 -0
- data/demo/data/test/charplacement.shx +0 -0
- data/demo/data/test/displacement.dbf +0 -0
- data/demo/data/test/displacement.shp +0 -0
- data/demo/data/test/displacement.shx +0 -0
- data/demo/data/test/overlap.dbf +0 -0
- data/demo/data/test/overlap.shp +0 -0
- data/demo/data/test/overlap.shx +0 -0
- data/demo/data/test/raw/charplacement.gfs +25 -0
- data/demo/data/test/raw/charplacement.gml +99 -0
- data/demo/data/test/raw/charplacement.xsd +36 -0
- data/demo/data/test/raw/displacement.gfs +25 -0
- data/demo/data/test/raw/displacement.gml +173 -0
- data/demo/data/test/raw/displacement.xsd +36 -0
- data/demo/data/test/raw/overlap.gfs +25 -0
- data/demo/data/test/raw/overlap.gml +127 -0
- data/demo/data/test/raw/overlap.xsd +36 -0
- data/demo/data/test/raw/textspacing.gfs +25 -0
- data/demo/data/test/raw/textspacing.gml +117 -0
- data/demo/data/test/raw/textspacing.xsd +36 -0
- data/demo/data/test/readme.txt +3 -0
- data/demo/data/test/regenerate.sh +20 -0
- data/demo/data/test/textspacing.dbf +0 -0
- data/demo/data/test/textspacing.shp +0 -0
- data/demo/data/test/textspacing.shx +0 -0
- data/demo/rundemo.rb +139 -0
- data/demo/sinatra/demo.rb +31 -0
- data/demo/sinatra/public/css/demo_map.css +7 -0
- data/demo/sinatra/public/index.html +13 -0
- data/demo/sinatra/public/javascripts/demo_map.js +42 -0
- data/ext/ruby_mapnik/_mapnik.cpp +54 -0
- data/ext/ruby_mapnik/_mapnik.h +69 -0
- data/ext/ruby_mapnik/_mapnik_color.rb.cpp +179 -0
- data/ext/ruby_mapnik/_mapnik_color.rb.h +32 -0
- data/ext/ruby_mapnik/_mapnik_coord.rb.cpp +145 -0
- data/ext/ruby_mapnik/_mapnik_coord.rb.h +32 -0
- data/ext/ruby_mapnik/_mapnik_datasource.rb.cpp +150 -0
- data/ext/ruby_mapnik/_mapnik_datasource.rb.h +32 -0
- data/ext/ruby_mapnik/_mapnik_datasource_cache.rb.cpp +79 -0
- data/ext/ruby_mapnik/_mapnik_datasource_cache.rb.h +32 -0
- data/ext/ruby_mapnik/_mapnik_envelope.rb.cpp +220 -0
- data/ext/ruby_mapnik/_mapnik_envelope.rb.h +32 -0
- data/ext/ruby_mapnik/_mapnik_expression.rb.cpp +91 -0
- data/ext/ruby_mapnik/_mapnik_expression.rb.h +32 -0
- data/ext/ruby_mapnik/_mapnik_feature.rb.cpp +56 -0
- data/ext/ruby_mapnik/_mapnik_feature.rb.h +32 -0
- data/ext/ruby_mapnik/_mapnik_font_engine.rb.cpp +71 -0
- data/ext/ruby_mapnik/_mapnik_font_engine.rb.h +32 -0
- data/ext/ruby_mapnik/_mapnik_geometry.rb.cpp +73 -0
- data/ext/ruby_mapnik/_mapnik_geometry.rb.h +32 -0
- data/ext/ruby_mapnik/_mapnik_glyph_symbolizer.rb.cpp +250 -0
- data/ext/ruby_mapnik/_mapnik_glyph_symbolizer.rb.h +32 -0
- data/ext/ruby_mapnik/_mapnik_layer.rb.cpp +237 -0
- data/ext/ruby_mapnik/_mapnik_layer.rb.h +32 -0
- data/ext/ruby_mapnik/_mapnik_line_pattern_symbolizer.rb.cpp +70 -0
- data/ext/ruby_mapnik/_mapnik_line_pattern_symbolizer.rb.h +32 -0
- data/ext/ruby_mapnik/_mapnik_line_symbolizer.rb.cpp +43 -0
- data/ext/ruby_mapnik/_mapnik_line_symbolizer.rb.h +32 -0
- data/ext/ruby_mapnik/_mapnik_map.rb.cpp +435 -0
- data/ext/ruby_mapnik/_mapnik_map.rb.h +32 -0
- data/ext/ruby_mapnik/_mapnik_markers_symbolizer.rb.cpp +139 -0
- data/ext/ruby_mapnik/_mapnik_markers_symbolizer.rb.h +32 -0
- data/ext/ruby_mapnik/_mapnik_point_symbolizer.rb.cpp +147 -0
- data/ext/ruby_mapnik/_mapnik_point_symbolizer.rb.h +32 -0
- data/ext/ruby_mapnik/_mapnik_polygon_pattern_symbolizer.rb.cpp +92 -0
- data/ext/ruby_mapnik/_mapnik_polygon_pattern_symbolizer.rb.h +32 -0
- data/ext/ruby_mapnik/_mapnik_polygon_symbolizer.rb.cpp +89 -0
- data/ext/ruby_mapnik/_mapnik_polygon_symbolizer.rb.h +32 -0
- data/ext/ruby_mapnik/_mapnik_projection.rb.cpp +98 -0
- data/ext/ruby_mapnik/_mapnik_projection.rb.h +32 -0
- data/ext/ruby_mapnik/_mapnik_raster_colorizer.rb.cpp +162 -0
- data/ext/ruby_mapnik/_mapnik_raster_colorizer.rb.h +32 -0
- data/ext/ruby_mapnik/_mapnik_raster_symbolizer.rb.cpp +53 -0
- data/ext/ruby_mapnik/_mapnik_raster_symbolizer.rb.h +32 -0
- data/ext/ruby_mapnik/_mapnik_rule.rb.cpp +99 -0
- data/ext/ruby_mapnik/_mapnik_rule.rb.h +32 -0
- data/ext/ruby_mapnik/_mapnik_shield_symbolizer.rb.cpp +86 -0
- data/ext/ruby_mapnik/_mapnik_shield_symbolizer.rb.h +32 -0
- data/ext/ruby_mapnik/_mapnik_stroke.rb.cpp +188 -0
- data/ext/ruby_mapnik/_mapnik_stroke.rb.h +32 -0
- data/ext/ruby_mapnik/_mapnik_style.rb.cpp +76 -0
- data/ext/ruby_mapnik/_mapnik_style.rb.h +32 -0
- data/ext/ruby_mapnik/_mapnik_symbolizer.rb.cpp +77 -0
- data/ext/ruby_mapnik/_mapnik_symbolizer.rb.h +32 -0
- data/ext/ruby_mapnik/_mapnik_text_symbolizer.rb.cpp +521 -0
- data/ext/ruby_mapnik/_mapnik_text_symbolizer.rb.h +32 -0
- data/ext/ruby_mapnik/extconf.rb +78 -0
- data/ext/ruby_mapnik/ruby_mapnik.cpp +31 -0
- data/lib/ruby_mapnik/mapnik/font_engine.rb +35 -0
- data/lib/ruby_mapnik/mapnik/layer.rb +69 -0
- data/lib/ruby_mapnik/mapnik/map.rb +144 -0
- data/lib/ruby_mapnik/mapnik/projection.rb +46 -0
- data/lib/ruby_mapnik/mapnik/raster_colorizer.rb +55 -0
- data/lib/ruby_mapnik/mapnik/rule.rb +107 -0
- data/lib/ruby_mapnik/mapnik/stroke.rb +58 -0
- data/lib/ruby_mapnik/mapnik/style.rb +66 -0
- data/lib/ruby_mapnik/mapnik/tile.rb +93 -0
- data/lib/ruby_mapnik.rb +48 -0
- data/script/console +2 -0
- data/test/data/TM_WORLD_BORDERS_SIMPL_0.3_MOD.dbf +0 -0
- data/test/data/TM_WORLD_BORDERS_SIMPL_0.3_MOD.prj +1 -0
- data/test/data/TM_WORLD_BORDERS_SIMPL_0.3_MOD.shp +0 -0
- data/test/data/TM_WORLD_BORDERS_SIMPL_0.3_MOD.shx +0 -0
- data/test/data/test_map.xml +15 -0
- data/test/test_helper.rb +27 -0
- data/test/test_line_pattern_symbolizer.rb +26 -0
- data/test/test_mapnik_color.rb +66 -0
- data/test/test_mapnik_coord.rb +112 -0
- data/test/test_mapnik_datasource.rb +49 -0
- data/test/test_mapnik_envelope.rb +232 -0
- data/test/test_mapnik_expression.rb +19 -0
- data/test/test_mapnik_feature.rb +33 -0
- data/test/test_mapnik_font_engine.rb +13 -0
- data/test/test_mapnik_geometry.rb +72 -0
- data/test/test_mapnik_glyph_symbolizer.rb +96 -0
- data/test/test_mapnik_layer.rb +137 -0
- data/test/test_mapnik_line_symbolizer.rb +25 -0
- data/test/test_mapnik_map.rb +191 -0
- data/test/test_mapnik_markers_symbolizer.rb +46 -0
- data/test/test_mapnik_point_symbolizer.rb +53 -0
- data/test/test_mapnik_polygon_symbolizer.rb +44 -0
- data/test/test_mapnik_projection.rb +46 -0
- data/test/test_mapnik_raster_colorizer.rb +56 -0
- data/test/test_mapnik_raster_symbolizer.rb +40 -0
- data/test/test_mapnik_rule.rb +63 -0
- data/test/test_mapnik_shield_symbolizer.rb +193 -0
- data/test/test_mapnik_stroke.rb +94 -0
- data/test/test_mapnik_style.rb +28 -0
- data/test/test_mapnik_symbolizer.rb +9 -0
- data/test/test_mapnik_text_symbolizer.rb +232 -0
- data/test/test_polygon_pattern_symbolizer.rb +34 -0
- data/test/test_ruby_mapnik.rb +34 -0
- data/yard/lib/yard/parser/generic_parser.rb +72 -0
- data/yard/lib/yard_generic.rb +18 -0
- metadata +322 -0
@@ -0,0 +1,34 @@
|
|
1
|
+
=begin
|
2
|
+
******************************************************************************
|
3
|
+
*
|
4
|
+
* Copyright (C) 2011 Elliot Laster
|
5
|
+
*
|
6
|
+
* This library is free software; you can redistribute it and/or
|
7
|
+
* modify it under the terms of the GNU Lesser General Public
|
8
|
+
* License as published by the Free Software Foundation; either
|
9
|
+
* version 2.1 of the License, or (at your option) any later version.
|
10
|
+
*
|
11
|
+
* This library is distributed in the hope that it will be useful,
|
12
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
14
|
+
* Lesser General Public License for more details.
|
15
|
+
*
|
16
|
+
* You should have received a copy of the GNU Lesser General Public
|
17
|
+
* License along with this library; if not, write to the Free Software
|
18
|
+
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
19
|
+
*
|
20
|
+
******************************************************************************
|
21
|
+
=end
|
22
|
+
require 'test_helper'
|
23
|
+
|
24
|
+
class TestRubyMapnik < Test::Unit::TestCase
|
25
|
+
|
26
|
+
def test_sanity
|
27
|
+
assert Mapnik
|
28
|
+
end
|
29
|
+
|
30
|
+
def test_should_register_datasources_on_inclusion
|
31
|
+
assert Mapnik::DatasourceCache.available_plugins.any?
|
32
|
+
end
|
33
|
+
|
34
|
+
end
|
@@ -0,0 +1,72 @@
|
|
1
|
+
module YARD
|
2
|
+
module Parser
|
3
|
+
class GenericParser < CParser
|
4
|
+
|
5
|
+
def initialize(source, file = '(stdin)')
|
6
|
+
@file = file
|
7
|
+
@namespaces = {}
|
8
|
+
@content = clean_source(source)
|
9
|
+
end
|
10
|
+
|
11
|
+
def parse
|
12
|
+
parse_modules
|
13
|
+
parse_classes
|
14
|
+
parse_methods
|
15
|
+
# parse_constants
|
16
|
+
# parse_includes
|
17
|
+
end
|
18
|
+
|
19
|
+
def parse_modules
|
20
|
+
@content.scan(/@@Module_var\s*(\w+) = \s*(\w+)/) do |var_name, module_name|
|
21
|
+
handle_module(var_name, module_name)
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
def parse_classes
|
26
|
+
@content.scan(/Data_Type< .+ >\s*(\w+)\s*=\s*.+define_class_under<.+>\(\s*(\w+),\s*"(\w+)"/) do |var_name, in_module, class_name|
|
27
|
+
handle_class(var_name, class_name, nil, in_module)
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
def parse_methods
|
32
|
+
@content.scan(/(\w+)\.define_(method|singleton_method)\(\s*"(.+)",.+\)/) do |var_name, type, name|
|
33
|
+
handle_method(type, var_name, name, nil, nil) unless nodoc?(name)
|
34
|
+
end
|
35
|
+
|
36
|
+
@content.scan(/(\w+)\.define_constructor\(.+\)/) do |var_name|
|
37
|
+
handle_method("singleton_method", var_name.first, "new" , nil, nil)
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
def nodoc?(name, content=@content)
|
42
|
+
name == 'initialize' || content =~ %r{Dont-Document-method:\s#{name}}m
|
43
|
+
end
|
44
|
+
|
45
|
+
def find_method_body(object, func_name, content = @content)
|
46
|
+
# No body, but might still have an override comment
|
47
|
+
comment = find_override_comment(object)
|
48
|
+
object.docstring = parse_comments(object, comment) if comment
|
49
|
+
end
|
50
|
+
|
51
|
+
def find_override_comment(object, content = @content)
|
52
|
+
name = Regexp.escape(object.name.to_s)
|
53
|
+
class_name = object.parent.path
|
54
|
+
if content =~ %r{Document-method:\s+#{class_name}(?:\.|::|#)#{name}\s*?\n((?>.*?\*/))}m then
|
55
|
+
$1
|
56
|
+
elsif content =~ %r{Document-method:\s#{name}\s*?\n((?>.*?\*/))}m then
|
57
|
+
$1
|
58
|
+
else
|
59
|
+
nil
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
# def clean_source(source)
|
64
|
+
# # source = handle_ifdefs_in(source)
|
65
|
+
# # source = handle_tab_width(source)
|
66
|
+
# # source = remove_commented_out_lines(source)
|
67
|
+
# source
|
68
|
+
# end
|
69
|
+
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
module YARD
|
2
|
+
module Parser
|
3
|
+
autoload :GenericParser, File.join(File.dirname(File.expand_path(__FILE__)), 'yard', 'parser', 'generic_parser')
|
4
|
+
SourceParser.register_parser_type :generic, GenericParser, '*'
|
5
|
+
|
6
|
+
# Highjack cpp to use the generic parser.
|
7
|
+
class SourceParser
|
8
|
+
def self.parser_type_for_extension(extension)
|
9
|
+
if extension == 'cpp'
|
10
|
+
:generic
|
11
|
+
elsif extension == 'rb'
|
12
|
+
validated_parser_type(:ruby)
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
end
|
metadata
ADDED
@@ -0,0 +1,322 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ruby_mapnik
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 9
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 1
|
9
|
+
version: "0.1"
|
10
|
+
platform: ruby
|
11
|
+
authors:
|
12
|
+
- Elliot Laster
|
13
|
+
autorequire:
|
14
|
+
bindir: bin
|
15
|
+
cert_chain: []
|
16
|
+
|
17
|
+
date: 2011-09-09 00:00:00 -04:00
|
18
|
+
default_executable:
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
name: rice
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
none: false
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
hash: 3
|
29
|
+
segments:
|
30
|
+
- 1
|
31
|
+
- 4
|
32
|
+
- 2
|
33
|
+
version: 1.4.2
|
34
|
+
type: :runtime
|
35
|
+
version_requirements: *id001
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: rake-compiler
|
38
|
+
prerelease: false
|
39
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
40
|
+
none: false
|
41
|
+
requirements:
|
42
|
+
- - ">="
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
hash: 3
|
45
|
+
segments:
|
46
|
+
- 0
|
47
|
+
version: "0"
|
48
|
+
type: :development
|
49
|
+
version_requirements: *id002
|
50
|
+
- !ruby/object:Gem::Dependency
|
51
|
+
name: hoe
|
52
|
+
prerelease: false
|
53
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
54
|
+
none: false
|
55
|
+
requirements:
|
56
|
+
- - ~>
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
hash: 27
|
59
|
+
segments:
|
60
|
+
- 2
|
61
|
+
- 12
|
62
|
+
version: "2.12"
|
63
|
+
type: :development
|
64
|
+
version_requirements: *id003
|
65
|
+
description: |-
|
66
|
+
A set of bindings between Ruby and Mapnik. Supports many of the common uses for
|
67
|
+
Mapnik, and one day, might support al of them. Rundering is available using
|
68
|
+
the plain agg library, or via Cairo, if the rcairo gem is installed and
|
69
|
+
Mapnik has been compiled with Cairo support.
|
70
|
+
email:
|
71
|
+
- elliotlaster@gmail.com
|
72
|
+
executables: []
|
73
|
+
|
74
|
+
extensions:
|
75
|
+
- ext/ruby_mapnik/extconf.rb
|
76
|
+
extra_rdoc_files:
|
77
|
+
- Manifest.txt
|
78
|
+
- demo/data/COPYRIGHT.txt
|
79
|
+
- demo/data/test/readme.txt
|
80
|
+
files:
|
81
|
+
- .autotest
|
82
|
+
- .yardopts
|
83
|
+
- Gemfile
|
84
|
+
- LICENSE
|
85
|
+
- Manifest.txt
|
86
|
+
- README.rdoc
|
87
|
+
- Rakefile
|
88
|
+
- demo/data/COPYRIGHT.txt
|
89
|
+
- demo/data/TM_WORLD_BORDERS_SIMPL_0.3_MOD.dbf
|
90
|
+
- demo/data/TM_WORLD_BORDERS_SIMPL_0.3_MOD.prj
|
91
|
+
- demo/data/TM_WORLD_BORDERS_SIMPL_0.3_MOD.shp
|
92
|
+
- demo/data/TM_WORLD_BORDERS_SIMPL_0.3_MOD.shx
|
93
|
+
- demo/data/boundaries.dbf
|
94
|
+
- demo/data/boundaries.prj
|
95
|
+
- demo/data/boundaries.sbx
|
96
|
+
- demo/data/boundaries.shp
|
97
|
+
- demo/data/boundaries.shx
|
98
|
+
- demo/data/boundaries_l.dbf
|
99
|
+
- demo/data/boundaries_l.prj
|
100
|
+
- demo/data/boundaries_l.sbx
|
101
|
+
- demo/data/boundaries_l.shp
|
102
|
+
- demo/data/boundaries_l.shx
|
103
|
+
- demo/data/ontdrainage.dbf
|
104
|
+
- demo/data/ontdrainage.prj
|
105
|
+
- demo/data/ontdrainage.sbx
|
106
|
+
- demo/data/ontdrainage.shp
|
107
|
+
- demo/data/ontdrainage.shx
|
108
|
+
- demo/data/popplaces.dbf
|
109
|
+
- demo/data/popplaces.prj
|
110
|
+
- demo/data/popplaces.sbx
|
111
|
+
- demo/data/popplaces.shp
|
112
|
+
- demo/data/popplaces.shx
|
113
|
+
- demo/data/qcdrainage.dbf
|
114
|
+
- demo/data/qcdrainage.prj
|
115
|
+
- demo/data/qcdrainage.sbx
|
116
|
+
- demo/data/qcdrainage.shp
|
117
|
+
- demo/data/qcdrainage.shx
|
118
|
+
- demo/data/roads.dbf
|
119
|
+
- demo/data/roads.prj
|
120
|
+
- demo/data/roads.sbx
|
121
|
+
- demo/data/roads.shp
|
122
|
+
- demo/data/roads.shx
|
123
|
+
- demo/data/test/charplacement.dbf
|
124
|
+
- demo/data/test/charplacement.shp
|
125
|
+
- demo/data/test/charplacement.shx
|
126
|
+
- demo/data/test/displacement.dbf
|
127
|
+
- demo/data/test/displacement.shp
|
128
|
+
- demo/data/test/displacement.shx
|
129
|
+
- demo/data/test/overlap.dbf
|
130
|
+
- demo/data/test/overlap.shp
|
131
|
+
- demo/data/test/overlap.shx
|
132
|
+
- demo/data/test/raw/charplacement.gfs
|
133
|
+
- demo/data/test/raw/charplacement.gml
|
134
|
+
- demo/data/test/raw/charplacement.xsd
|
135
|
+
- demo/data/test/raw/displacement.gfs
|
136
|
+
- demo/data/test/raw/displacement.gml
|
137
|
+
- demo/data/test/raw/displacement.xsd
|
138
|
+
- demo/data/test/raw/overlap.gfs
|
139
|
+
- demo/data/test/raw/overlap.gml
|
140
|
+
- demo/data/test/raw/overlap.xsd
|
141
|
+
- demo/data/test/raw/textspacing.gfs
|
142
|
+
- demo/data/test/raw/textspacing.gml
|
143
|
+
- demo/data/test/raw/textspacing.xsd
|
144
|
+
- demo/data/test/readme.txt
|
145
|
+
- demo/data/test/regenerate.sh
|
146
|
+
- demo/data/test/textspacing.dbf
|
147
|
+
- demo/data/test/textspacing.shp
|
148
|
+
- demo/data/test/textspacing.shx
|
149
|
+
- demo/rundemo.rb
|
150
|
+
- demo/sinatra/demo.rb
|
151
|
+
- demo/sinatra/public/css/demo_map.css
|
152
|
+
- demo/sinatra/public/index.html
|
153
|
+
- demo/sinatra/public/javascripts/demo_map.js
|
154
|
+
- ext/ruby_mapnik/_mapnik.cpp
|
155
|
+
- ext/ruby_mapnik/_mapnik.h
|
156
|
+
- ext/ruby_mapnik/_mapnik_color.rb.cpp
|
157
|
+
- ext/ruby_mapnik/_mapnik_color.rb.h
|
158
|
+
- ext/ruby_mapnik/_mapnik_coord.rb.cpp
|
159
|
+
- ext/ruby_mapnik/_mapnik_coord.rb.h
|
160
|
+
- ext/ruby_mapnik/_mapnik_datasource.rb.cpp
|
161
|
+
- ext/ruby_mapnik/_mapnik_datasource.rb.h
|
162
|
+
- ext/ruby_mapnik/_mapnik_datasource_cache.rb.cpp
|
163
|
+
- ext/ruby_mapnik/_mapnik_datasource_cache.rb.h
|
164
|
+
- ext/ruby_mapnik/_mapnik_envelope.rb.cpp
|
165
|
+
- ext/ruby_mapnik/_mapnik_envelope.rb.h
|
166
|
+
- ext/ruby_mapnik/_mapnik_expression.rb.cpp
|
167
|
+
- ext/ruby_mapnik/_mapnik_expression.rb.h
|
168
|
+
- ext/ruby_mapnik/_mapnik_feature.rb.cpp
|
169
|
+
- ext/ruby_mapnik/_mapnik_feature.rb.h
|
170
|
+
- ext/ruby_mapnik/_mapnik_font_engine.rb.cpp
|
171
|
+
- ext/ruby_mapnik/_mapnik_font_engine.rb.h
|
172
|
+
- ext/ruby_mapnik/_mapnik_geometry.rb.cpp
|
173
|
+
- ext/ruby_mapnik/_mapnik_geometry.rb.h
|
174
|
+
- ext/ruby_mapnik/_mapnik_glyph_symbolizer.rb.cpp
|
175
|
+
- ext/ruby_mapnik/_mapnik_glyph_symbolizer.rb.h
|
176
|
+
- ext/ruby_mapnik/_mapnik_layer.rb.cpp
|
177
|
+
- ext/ruby_mapnik/_mapnik_layer.rb.h
|
178
|
+
- ext/ruby_mapnik/_mapnik_line_pattern_symbolizer.rb.cpp
|
179
|
+
- ext/ruby_mapnik/_mapnik_line_pattern_symbolizer.rb.h
|
180
|
+
- ext/ruby_mapnik/_mapnik_line_symbolizer.rb.cpp
|
181
|
+
- ext/ruby_mapnik/_mapnik_line_symbolizer.rb.h
|
182
|
+
- ext/ruby_mapnik/_mapnik_map.rb.cpp
|
183
|
+
- ext/ruby_mapnik/_mapnik_map.rb.h
|
184
|
+
- ext/ruby_mapnik/_mapnik_markers_symbolizer.rb.cpp
|
185
|
+
- ext/ruby_mapnik/_mapnik_markers_symbolizer.rb.h
|
186
|
+
- ext/ruby_mapnik/_mapnik_point_symbolizer.rb.cpp
|
187
|
+
- ext/ruby_mapnik/_mapnik_point_symbolizer.rb.h
|
188
|
+
- ext/ruby_mapnik/_mapnik_polygon_pattern_symbolizer.rb.cpp
|
189
|
+
- ext/ruby_mapnik/_mapnik_polygon_pattern_symbolizer.rb.h
|
190
|
+
- ext/ruby_mapnik/_mapnik_polygon_symbolizer.rb.cpp
|
191
|
+
- ext/ruby_mapnik/_mapnik_polygon_symbolizer.rb.h
|
192
|
+
- ext/ruby_mapnik/_mapnik_projection.rb.cpp
|
193
|
+
- ext/ruby_mapnik/_mapnik_projection.rb.h
|
194
|
+
- ext/ruby_mapnik/_mapnik_raster_colorizer.rb.cpp
|
195
|
+
- ext/ruby_mapnik/_mapnik_raster_colorizer.rb.h
|
196
|
+
- ext/ruby_mapnik/_mapnik_raster_symbolizer.rb.cpp
|
197
|
+
- ext/ruby_mapnik/_mapnik_raster_symbolizer.rb.h
|
198
|
+
- ext/ruby_mapnik/_mapnik_rule.rb.cpp
|
199
|
+
- ext/ruby_mapnik/_mapnik_rule.rb.h
|
200
|
+
- ext/ruby_mapnik/_mapnik_shield_symbolizer.rb.cpp
|
201
|
+
- ext/ruby_mapnik/_mapnik_shield_symbolizer.rb.h
|
202
|
+
- ext/ruby_mapnik/_mapnik_stroke.rb.cpp
|
203
|
+
- ext/ruby_mapnik/_mapnik_stroke.rb.h
|
204
|
+
- ext/ruby_mapnik/_mapnik_style.rb.cpp
|
205
|
+
- ext/ruby_mapnik/_mapnik_style.rb.h
|
206
|
+
- ext/ruby_mapnik/_mapnik_symbolizer.rb.cpp
|
207
|
+
- ext/ruby_mapnik/_mapnik_symbolizer.rb.h
|
208
|
+
- ext/ruby_mapnik/_mapnik_text_symbolizer.rb.cpp
|
209
|
+
- ext/ruby_mapnik/_mapnik_text_symbolizer.rb.h
|
210
|
+
- ext/ruby_mapnik/extconf.rb
|
211
|
+
- ext/ruby_mapnik/ruby_mapnik.cpp
|
212
|
+
- lib/ruby_mapnik.rb
|
213
|
+
- lib/ruby_mapnik/mapnik/font_engine.rb
|
214
|
+
- lib/ruby_mapnik/mapnik/layer.rb
|
215
|
+
- lib/ruby_mapnik/mapnik/map.rb
|
216
|
+
- lib/ruby_mapnik/mapnik/projection.rb
|
217
|
+
- lib/ruby_mapnik/mapnik/raster_colorizer.rb
|
218
|
+
- lib/ruby_mapnik/mapnik/rule.rb
|
219
|
+
- lib/ruby_mapnik/mapnik/stroke.rb
|
220
|
+
- lib/ruby_mapnik/mapnik/style.rb
|
221
|
+
- lib/ruby_mapnik/mapnik/tile.rb
|
222
|
+
- script/console
|
223
|
+
- test/data/TM_WORLD_BORDERS_SIMPL_0.3_MOD.dbf
|
224
|
+
- test/data/TM_WORLD_BORDERS_SIMPL_0.3_MOD.prj
|
225
|
+
- test/data/TM_WORLD_BORDERS_SIMPL_0.3_MOD.shp
|
226
|
+
- test/data/TM_WORLD_BORDERS_SIMPL_0.3_MOD.shx
|
227
|
+
- test/data/test_map.xml
|
228
|
+
- test/test_helper.rb
|
229
|
+
- test/test_line_pattern_symbolizer.rb
|
230
|
+
- test/test_mapnik_color.rb
|
231
|
+
- test/test_mapnik_coord.rb
|
232
|
+
- test/test_mapnik_datasource.rb
|
233
|
+
- test/test_mapnik_envelope.rb
|
234
|
+
- test/test_mapnik_expression.rb
|
235
|
+
- test/test_mapnik_feature.rb
|
236
|
+
- test/test_mapnik_font_engine.rb
|
237
|
+
- test/test_mapnik_geometry.rb
|
238
|
+
- test/test_mapnik_glyph_symbolizer.rb
|
239
|
+
- test/test_mapnik_layer.rb
|
240
|
+
- test/test_mapnik_line_symbolizer.rb
|
241
|
+
- test/test_mapnik_map.rb
|
242
|
+
- test/test_mapnik_markers_symbolizer.rb
|
243
|
+
- test/test_mapnik_point_symbolizer.rb
|
244
|
+
- test/test_mapnik_polygon_symbolizer.rb
|
245
|
+
- test/test_mapnik_projection.rb
|
246
|
+
- test/test_mapnik_raster_colorizer.rb
|
247
|
+
- test/test_mapnik_raster_symbolizer.rb
|
248
|
+
- test/test_mapnik_rule.rb
|
249
|
+
- test/test_mapnik_shield_symbolizer.rb
|
250
|
+
- test/test_mapnik_stroke.rb
|
251
|
+
- test/test_mapnik_style.rb
|
252
|
+
- test/test_mapnik_symbolizer.rb
|
253
|
+
- test/test_mapnik_text_symbolizer.rb
|
254
|
+
- test/test_polygon_pattern_symbolizer.rb
|
255
|
+
- test/test_ruby_mapnik.rb
|
256
|
+
- yard/lib/yard/parser/generic_parser.rb
|
257
|
+
- yard/lib/yard_generic.rb
|
258
|
+
- .gemtest
|
259
|
+
has_rdoc: true
|
260
|
+
homepage: https://github.com/mapnik/Ruby-Mapnik
|
261
|
+
licenses: []
|
262
|
+
|
263
|
+
post_install_message:
|
264
|
+
rdoc_options:
|
265
|
+
- --main
|
266
|
+
- README.rdoc
|
267
|
+
require_paths:
|
268
|
+
- lib
|
269
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
270
|
+
none: false
|
271
|
+
requirements:
|
272
|
+
- - ">="
|
273
|
+
- !ruby/object:Gem::Version
|
274
|
+
hash: 3
|
275
|
+
segments:
|
276
|
+
- 0
|
277
|
+
version: "0"
|
278
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
279
|
+
none: false
|
280
|
+
requirements:
|
281
|
+
- - ">="
|
282
|
+
- !ruby/object:Gem::Version
|
283
|
+
hash: 3
|
284
|
+
segments:
|
285
|
+
- 0
|
286
|
+
version: "0"
|
287
|
+
requirements: []
|
288
|
+
|
289
|
+
rubyforge_project: ruby_mapnik
|
290
|
+
rubygems_version: 1.4.2
|
291
|
+
signing_key:
|
292
|
+
specification_version: 3
|
293
|
+
summary: A set of bindings between Ruby and Mapnik
|
294
|
+
test_files:
|
295
|
+
- test/test_helper.rb
|
296
|
+
- test/test_line_pattern_symbolizer.rb
|
297
|
+
- test/test_mapnik_color.rb
|
298
|
+
- test/test_mapnik_coord.rb
|
299
|
+
- test/test_mapnik_datasource.rb
|
300
|
+
- test/test_mapnik_envelope.rb
|
301
|
+
- test/test_mapnik_expression.rb
|
302
|
+
- test/test_mapnik_feature.rb
|
303
|
+
- test/test_mapnik_font_engine.rb
|
304
|
+
- test/test_mapnik_geometry.rb
|
305
|
+
- test/test_mapnik_glyph_symbolizer.rb
|
306
|
+
- test/test_mapnik_layer.rb
|
307
|
+
- test/test_mapnik_line_symbolizer.rb
|
308
|
+
- test/test_mapnik_map.rb
|
309
|
+
- test/test_mapnik_markers_symbolizer.rb
|
310
|
+
- test/test_mapnik_point_symbolizer.rb
|
311
|
+
- test/test_mapnik_polygon_symbolizer.rb
|
312
|
+
- test/test_mapnik_projection.rb
|
313
|
+
- test/test_mapnik_raster_colorizer.rb
|
314
|
+
- test/test_mapnik_raster_symbolizer.rb
|
315
|
+
- test/test_mapnik_rule.rb
|
316
|
+
- test/test_mapnik_shield_symbolizer.rb
|
317
|
+
- test/test_mapnik_stroke.rb
|
318
|
+
- test/test_mapnik_style.rb
|
319
|
+
- test/test_mapnik_symbolizer.rb
|
320
|
+
- test/test_mapnik_text_symbolizer.rb
|
321
|
+
- test/test_polygon_pattern_symbolizer.rb
|
322
|
+
- test/test_ruby_mapnik.rb
|