Adding upstream version 2.5.1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
c71cb8b61d
commit
982828099e
783 changed files with 150650 additions and 0 deletions
14
test/tests/geoshapes/data/circle_halairport.json
Normal file
14
test/tests/geoshapes/data/circle_halairport.json
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"name": "hal airpork circular region",
|
||||
"city": "bangalore",
|
||||
"type": "geoshapes",
|
||||
"description": "circle covering the hal airport",
|
||||
"region": {
|
||||
"type": "Circle",
|
||||
"coordinates": [
|
||||
77.6698637008667,
|
||||
12.951865687866821
|
||||
],
|
||||
"radius": "2.4km"
|
||||
}
|
||||
}
|
19
test/tests/geoshapes/data/envelope_brockwell_park.json
Normal file
19
test/tests/geoshapes/data/envelope_brockwell_park.json
Normal file
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"name": "brockwell park envelope",
|
||||
"city": "london",
|
||||
"type": "geoshapes",
|
||||
"description": "brockwell park envelope",
|
||||
"region": {
|
||||
"type": "envelope",
|
||||
"coordinates": [
|
||||
[
|
||||
-0.11278152465820314,
|
||||
51.44579626059569
|
||||
],
|
||||
[
|
||||
-0.10037899017333984,
|
||||
51.45566490761856
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
165
test/tests/geoshapes/data/geometrycollection_tvm.json
Normal file
165
test/tests/geoshapes/data/geometrycollection_tvm.json
Normal file
|
@ -0,0 +1,165 @@
|
|||
{
|
||||
"name": "geometrycollection comprised of various shapes",
|
||||
"city": "bangalore",
|
||||
"type": "geoshapes",
|
||||
"description": "geometrycollection comprised of various shapes",
|
||||
"region": {
|
||||
"type": "geometrycollection",
|
||||
"geometries": [
|
||||
{
|
||||
"type": "point",
|
||||
"coordinates": [
|
||||
76.92815780639648,
|
||||
8.525851789596233
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "LineString",
|
||||
"coordinates": [
|
||||
[
|
||||
76.92867279052734,
|
||||
8.490369393806219
|
||||
],
|
||||
[
|
||||
76.94377899169922,
|
||||
8.494104537551882
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "polygon",
|
||||
"coordinates": [
|
||||
[
|
||||
[
|
||||
76.92815780639648,
|
||||
8.525851789596233
|
||||
],
|
||||
[
|
||||
76.92060470581055,
|
||||
8.520504174874656
|
||||
],
|
||||
[
|
||||
76.92206382751465,
|
||||
8.519061154914393
|
||||
],
|
||||
[
|
||||
76.92824363708496,
|
||||
8.519061154914393
|
||||
],
|
||||
[
|
||||
76.92970275878906,
|
||||
8.523475081176768
|
||||
],
|
||||
[
|
||||
76.92815780639648,
|
||||
8.525851789596233
|
||||
]
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "multipoint",
|
||||
"coordinates": [
|
||||
[
|
||||
76.90670013427733,
|
||||
8.497839644932787
|
||||
],
|
||||
[
|
||||
76.94137573242188,
|
||||
8.485275957394883
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "multiLineString",
|
||||
"coordinates": [
|
||||
[
|
||||
[
|
||||
76.89322471618651,
|
||||
8.521522773921424
|
||||
],
|
||||
[
|
||||
76.89648628234863,
|
||||
8.518042549311815
|
||||
]
|
||||
],
|
||||
[
|
||||
[
|
||||
76.9068717956543,
|
||||
8.494783650690053
|
||||
],
|
||||
[
|
||||
76.93296432495117,
|
||||
8.468552033040881
|
||||
]
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "multipolygon",
|
||||
"coordinates": [
|
||||
[
|
||||
[
|
||||
[
|
||||
76.90249443054199,
|
||||
8.546138091708775
|
||||
],
|
||||
[
|
||||
76.89983367919922,
|
||||
8.541300033890494
|
||||
],
|
||||
[
|
||||
76.90498352050781,
|
||||
8.53985709248573
|
||||
],
|
||||
[
|
||||
76.90858840942383,
|
||||
8.54520443620746
|
||||
],
|
||||
[
|
||||
76.90712928771973,
|
||||
8.548090273095957
|
||||
],
|
||||
[
|
||||
76.90249443054199,
|
||||
8.546138091708775
|
||||
]
|
||||
]
|
||||
],
|
||||
[
|
||||
[
|
||||
[
|
||||
76.88326835632324,
|
||||
8.564131732621458
|
||||
],
|
||||
[
|
||||
76.88429832458496,
|
||||
8.555729147617923
|
||||
],
|
||||
[
|
||||
76.88893318176268,
|
||||
8.552079482230221
|
||||
],
|
||||
[
|
||||
76.89339637756348,
|
||||
8.55369212938781
|
||||
],
|
||||
[
|
||||
76.89494132995605,
|
||||
8.56133089156368
|
||||
],
|
||||
[
|
||||
76.89116477966309,
|
||||
8.566423314514562
|
||||
],
|
||||
[
|
||||
76.88326835632324,
|
||||
8.564131732621458
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
19
test/tests/geoshapes/data/linestring_putney_bridge.json
Normal file
19
test/tests/geoshapes/data/linestring_putney_bridge.json
Normal file
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"name": "linestring for putney bridge",
|
||||
"city": "london",
|
||||
"type": "geoshapes",
|
||||
"description": "linestring for putney bridge",
|
||||
"region": {
|
||||
"type": "linestring",
|
||||
"coordinates": [
|
||||
[
|
||||
-0.21183013916015625,
|
||||
51.46791083061189
|
||||
],
|
||||
[
|
||||
-0.21431922912597656,
|
||||
51.465504685939706
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
|
@ -0,0 +1,48 @@
|
|||
{
|
||||
"name": "road routes",
|
||||
"city": "bangalore",
|
||||
"type": "geoshapes",
|
||||
"description": "multilinestrings approximating the roads indiranagar 100ft and old airport port road",
|
||||
"region": {
|
||||
"type": "multilinestring",
|
||||
"coordinates": [
|
||||
[
|
||||
[
|
||||
77.64081001281738,
|
||||
12.983398626256326
|
||||
],
|
||||
[
|
||||
77.64166831970213,
|
||||
12.960648472679763
|
||||
]
|
||||
],
|
||||
[ [
|
||||
77.64192581176758,
|
||||
12.960564828571133
|
||||
],
|
||||
[
|
||||
77.66990661621094,
|
||||
12.958390071883693
|
||||
]
|
||||
],
|
||||
[ [
|
||||
77.67016410827637,
|
||||
12.958055492245812
|
||||
],
|
||||
[
|
||||
77.68106460571289,
|
||||
12.954626025039444
|
||||
]
|
||||
],
|
||||
[ [
|
||||
77.68149375915527,
|
||||
12.954542378907867
|
||||
],
|
||||
[
|
||||
77.7011489868164,
|
||||
12.957219041184294
|
||||
]
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
23
test/tests/geoshapes/data/multipoint_blr_stadiums.json
Normal file
23
test/tests/geoshapes/data/multipoint_blr_stadiums.json
Normal file
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
"name": "multipoints for stadiums",
|
||||
"city": "bangalore",
|
||||
"type": "geoshapes",
|
||||
"description": "contains 3 points",
|
||||
"region": {
|
||||
"type": "multipoint",
|
||||
"coordinates": [
|
||||
[
|
||||
77.5929594039917,
|
||||
12.969347306502671
|
||||
],
|
||||
[
|
||||
77.6004695892334,
|
||||
12.979007674139009
|
||||
],
|
||||
[
|
||||
77.60068416595459,
|
||||
12.961735843534306
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
87
test/tests/geoshapes/data/multipolygon_london_parks.json
Normal file
87
test/tests/geoshapes/data/multipolygon_london_parks.json
Normal file
|
@ -0,0 +1,87 @@
|
|||
{
|
||||
"name": "london parks as multipolygon",
|
||||
"city": "london",
|
||||
"type": "geoshapes",
|
||||
"description": "multipolygon with london",
|
||||
"region": {
|
||||
"type": "MultiPolygon",
|
||||
"coordinates": [
|
||||
[
|
||||
[
|
||||
[
|
||||
-0.163421630859375,
|
||||
51.531600743186644
|
||||
],
|
||||
[
|
||||
-0.15277862548828125,
|
||||
51.52455221546295
|
||||
],
|
||||
[
|
||||
-0.14556884765625,
|
||||
51.524979430024345
|
||||
],
|
||||
[
|
||||
-0.14591217041015625,
|
||||
51.536085601784755
|
||||
],
|
||||
[
|
||||
-0.15895843505859375,
|
||||
51.53693981046689
|
||||
],
|
||||
[
|
||||
-0.163421630859375,
|
||||
51.531600743186644
|
||||
]
|
||||
]
|
||||
],
|
||||
[
|
||||
[
|
||||
[
|
||||
-0.1902008056640625,
|
||||
51.5091698216777
|
||||
],
|
||||
[
|
||||
-0.1888275146484375,
|
||||
51.50147667659363
|
||||
],
|
||||
[
|
||||
-0.15071868896484375,
|
||||
51.503186376638006
|
||||
],
|
||||
[
|
||||
-0.1599884033203125,
|
||||
51.51322956905176
|
||||
],
|
||||
[
|
||||
-0.1902008056640625,
|
||||
51.5091698216777
|
||||
]
|
||||
]
|
||||
],
|
||||
[
|
||||
[
|
||||
[
|
||||
-0.16582489013671875,
|
||||
51.4811690848672
|
||||
],
|
||||
[
|
||||
-0.1635932922363281,
|
||||
51.474861202507434
|
||||
],
|
||||
[
|
||||
-0.14883041381835938,
|
||||
51.47764105478667
|
||||
],
|
||||
[
|
||||
-0.14951705932617188,
|
||||
51.48352095330697
|
||||
],
|
||||
[
|
||||
-0.16582489013671875,
|
||||
51.4811690848672
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
13
test/tests/geoshapes/data/point_museum_of_london.json
Normal file
13
test/tests/geoshapes/data/point_museum_of_london.json
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"name": "geopoint for the museum of london",
|
||||
"city": "london",
|
||||
"type": "geoshapes",
|
||||
"description": "geopoint for the museum of london",
|
||||
"region": {
|
||||
"type": "point",
|
||||
"coordinates": [
|
||||
-0.09613037109375,
|
||||
51.51803669675129
|
||||
]
|
||||
}
|
||||
}
|
45
test/tests/geoshapes/data/polygon_cubbonpark.json
Normal file
45
test/tests/geoshapes/data/polygon_cubbonpark.json
Normal file
|
@ -0,0 +1,45 @@
|
|||
{
|
||||
"name": "cubbon park polygon",
|
||||
"city": "bangalore",
|
||||
"type": "geoshapes",
|
||||
"description": "polygon inside cubbon park",
|
||||
"region": {
|
||||
"type": "Polygon",
|
||||
"coordinates": [
|
||||
[
|
||||
[
|
||||
77.58894681930542,
|
||||
12.976498523818783
|
||||
],
|
||||
[
|
||||
77.58677959442139,
|
||||
12.974533005048169
|
||||
],
|
||||
[
|
||||
77.5879168510437,
|
||||
12.971333776381767
|
||||
],
|
||||
[
|
||||
77.58849620819092,
|
||||
12.96800904416803
|
||||
],
|
||||
[
|
||||
77.59371042251587,
|
||||
12.972128359891645
|
||||
],
|
||||
[
|
||||
77.59512662887573,
|
||||
12.973842978816679
|
||||
],
|
||||
[
|
||||
77.59253025054932,
|
||||
12.976853988320428
|
||||
],
|
||||
[
|
||||
77.58894681930542,
|
||||
12.976498523818783
|
||||
]
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue