diff --git a/hub/unittests/tests_data/test.geojson b/hub/unittests/tests_data/test.geojson index 3b8f4d64..5bac7e23 100644 --- a/hub/unittests/tests_data/test.geojson +++ b/hub/unittests/tests_data/test.geojson @@ -1,51 +1,11 @@ { - "type":"FeatureCollection", - "features":[ + "type": "FeatureCollection", + "features": [ { - "type":"Feature", - "id":164, - "geometry":{ - "type":"Polygon", - "coordinates":[ - [ - [ - -73.577465563026294, - 45.495808553995417 - ], - [ - -73.577627737571262, - 45.49588695081647 - ], - [ - -73.577789912566104, - 45.4959653474059 - ], - [ - -73.577897155727669, - 45.495855628290393 - ], - [ - -73.578004398472899, - 45.49574590907234 - ], - [ - -73.577709868721371, - 45.495603565479428 - ], - [ - -73.577680024034251, - 45.495589134278653 - ], - [ - -73.577465563026294, - 45.495808553995417 - ] - ] - ] - }, - "properties":{ - "OBJECTID_12":164, - "gml_id":"1066826", + "type": "Feature", + "properties": { + "OBJECTID_12":80, + "gml_id":"1066177", "gml_parent":"fme-gen-57964590-baa9-48a7-99b0-fa11ca012d7c", "citygml_ta":"http://www.opengis.net/citygml/building/2.0", "citygml_fe":"cityObjectMember", @@ -72,7 +32,7 @@ "citygml__7":" ", "citygml_ro":" ", "citygml__8":" ", - "citygml_me":65.929000000000002, + "citygml_me":46.639000000000003, "citygml__9":"#m", "citygml_st":" ", "citygml_10":" ", @@ -87,11 +47,11 @@ "citygml_15":" ", "citygml_co":" ", "citygml_ad":" ", - "Volume":"52877.804", + "Volume":"47396.897", "parcelle":" ", - "OBJECTID":7589, - "gml_id_1":"46c9507d-33c9-40e9-9bda-00ad6fa8cd8f", - "gml_pare_1":"1066826", + "OBJECTID":7117, + "gml_id_1":"d2de57c7-c360-4f28-9695-dc1be766360b", + "gml_pare_1":"1066177", "citygml_16":"http://www.opengis.net/citygml/building/2.0", "citygml_17":"boundedBy", "citygml_18":" ", @@ -109,11 +69,11 @@ "citygml_25":" ", "citygml_26":" ", "citygml_op":" ", - "Area":"911.899", + "Area":"1016.244", "FID_":0, "Join_Count":1, - "TARGET_FID":7594, - "gml_id_12":"1066826", + "TARGET_FID":7122, + "gml_id_12":"1066177", "gml_pare_2":"fme-gen-57964590-baa9-48a7-99b0-fa11ca012d7c", "citygml_27":"http://www.opengis.net/citygml/building/2.0", "citygml_28":"cityObjectMember", @@ -140,7 +100,7 @@ "citygml_44":" ", "citygml_45":" ", "citygml_46":" ", - "citygml_47":65.929000000000002, + "citygml_47":46.639000000000003, "citygml_48":"#m", "citygml_49":" ", "citygml_50":" ", @@ -155,12 +115,12 @@ "citygml_59":" ", "citygml_60":" ", "citygml_61":" ", - "Volume_1":"52877.804", + "Volume_1":"47396.897", "Field":0, "Field1":0, - "OBJECTID_1":7589, - "gml_id_12_":"46c9507d-33c9-40e9-9bda-00ad6fa8cd8f", - "gml_pare_3":"1066826", + "OBJECTID_1":7117, + "gml_id_12_":"d2de57c7-c360-4f28-9695-dc1be766360b", + "gml_pare_3":"1066177", "citygml_62":"http://www.opengis.net/citygml/building/2.0", "citygml_63":"boundedBy", "citygml_64":" ", @@ -178,11 +138,11 @@ "citygml_71":" ", "citygml_72":" ", "citygml_73":" ", - "Area_1":"911.899", + "Area_1":"1016.244", "cityGML_hi":0, - "Z_Min":41.631399999999999, - "Z_Max":107.56, - "Shape_Leng":120.703852102, + "Z_Min":41.489699999999999, + "Z_Max":88.129000000000005, + "Shape_Leng":242.34118937100001, "ID_UEV":"01111020", "CIVIQUE_DE":" 1515", "CIVIQUE_FI":" 1515", @@ -202,8 +162,228 @@ "Shape_Ar_1":6.8474298198599997e-07, "Z_Min_1":null, "Z_Max_1":null, - "Shape_Length":120.70385210151841, - "Shape_Area":910.23684745179321 + "Shape_Length":242.34118937110796, + "Shape_Area":1016.243978548841 + }, + "geometry": { + "coordinates": [ + [ + [ + -1.178971240643051, + 6.743232008291699 + ], + [ + -1.1729862634455515, + 6.743232008291699 + ], + [ + -1.1729862634455515, + 6.747706340427186 + ], + [ + -1.178971240643051, + 6.747706340427186 + ], + [ + -1.178971240643051, + 6.743232008291699 + ] + ] + ], + "type": "Polygon" + } + }, + { + "type": "Feature", + "properties": { + "OBJECTID_12":80, + "gml_id":"1066177", + "gml_parent":"fme-gen-57964590-baa9-48a7-99b0-fa11ca012d7c", + "citygml_ta":"http://www.opengis.net/citygml/building/2.0", + "citygml_fe":"cityObjectMember", + "citygml__1":" ", + "citygml__2":" ", + "gml_descri":" ", + "gml_name":" ", + "citygml_cr":" ", + "citygml_te":" ", + "externalRe":" ", + "external_1":" ", + "external_2":" ", + "citygml_ge":" ", + "citygml_re":" ", + "citygml__3":" ", + "citygml_ap":" ", + "citygml_cl":" ", + "citygml__4":" ", + "citygml_fu":" ", + "citygml__5":" ", + "citygml_us":" ", + "citygml__6":" ", + "citygml_ye":" ", + "citygml__7":" ", + "citygml_ro":" ", + "citygml__8":" ", + "citygml_me":46.639000000000003, + "citygml__9":"#m", + "citygml_st":" ", + "citygml_10":" ", + "citygml_11":" ", + "citygml_12":" ", + "citygml_13":" ", + "citygml_14":" ", + "citygml_ou":" ", + "citygml_in":" ", + "citygml_bo":" ", + "citygml_le":" ", + "citygml_15":" ", + "citygml_co":" ", + "citygml_ad":" ", + "Volume":"47396.897", + "parcelle":" ", + "OBJECTID":7117, + "gml_id_1":"d2de57c7-c360-4f28-9695-dc1be766360b", + "gml_pare_1":"1066177", + "citygml_16":"http://www.opengis.net/citygml/building/2.0", + "citygml_17":"boundedBy", + "citygml_18":" ", + "citygml_19":" ", + "gml_desc_1":" ", + "gml_name_1":" ", + "citygml_20":" ", + "citygml_21":" ", + "external_3":" ", + "external_4":" ", + "external_5":" ", + "citygml_22":" ", + "citygml_23":" ", + "citygml_24":" ", + "citygml_25":" ", + "citygml_26":" ", + "citygml_op":" ", + "Area":"1016.244", + "FID_":0, + "Join_Count":1, + "TARGET_FID":7122, + "gml_id_12":"1066177", + "gml_pare_2":"fme-gen-57964590-baa9-48a7-99b0-fa11ca012d7c", + "citygml_27":"http://www.opengis.net/citygml/building/2.0", + "citygml_28":"cityObjectMember", + "citygml_29":" ", + "citygml_30":" ", + "gml_desc_2":" ", + "gml_name_2":" ", + "citygml_31":" ", + "citygml_32":" ", + "external_6":" ", + "external_7":" ", + "external_8":" ", + "citygml_33":" ", + "citygml_34":" ", + "citygml_35":" ", + "citygml_36":" ", + "citygml_37":" ", + "citygml_38":" ", + "citygml_39":" ", + "citygml_40":" ", + "citygml_41":" ", + "citygml_42":" ", + "citygml_43":" ", + "citygml_44":" ", + "citygml_45":" ", + "citygml_46":" ", + "citygml_47":46.639000000000003, + "citygml_48":"#m", + "citygml_49":" ", + "citygml_50":" ", + "citygml_51":" ", + "citygml_52":" ", + "citygml_53":" ", + "citygml_54":" ", + "citygml_55":" ", + "citygml_56":" ", + "citygml_57":" ", + "citygml_58":" ", + "citygml_59":" ", + "citygml_60":" ", + "citygml_61":" ", + "Volume_1":"47396.897", + "Field":0, + "Field1":0, + "OBJECTID_1":7117, + "gml_id_12_":"d2de57c7-c360-4f28-9695-dc1be766360b", + "gml_pare_3":"1066177", + "citygml_62":"http://www.opengis.net/citygml/building/2.0", + "citygml_63":"boundedBy", + "citygml_64":" ", + "citygml_65":" ", + "gml_desc_3":" ", + "gml_name_3":" ", + "citygml_66":" ", + "citygml_67":" ", + "external_9":" ", + "externa_10":" ", + "externa_11":" ", + "citygml_68":" ", + "citygml_69":" ", + "citygml_70":" ", + "citygml_71":" ", + "citygml_72":" ", + "citygml_73":" ", + "Area_1":"1016.244", + "cityGML_hi":0, + "Z_Min":41.489699999999999, + "Z_Max":88.129000000000005, + "Shape_Leng":242.34118937100001, + "ID_UEV":"01111020", + "CIVIQUE_DE":" 1515", + "CIVIQUE_FI":" 1515", + "NOM_RUE":"rue Sainte-Catherine Ouest (MTL+WMT)", + "MUNICIPALI":"50", + "ETAGE_HORS":17, + "NOMBRE_LOG":1, + "ANNEE_CONS":2005, + "CODE_UTILI":"6821", + "LIBELLE_UT":"Université", + "CATEGORIE_":"Régulier", + "MATRICULE8":"9839-75-0526-8-000-0000", + "SUPERFICIE":5949, + "SUPERFIC_1":259, + "NO_ARROND_":"REM19", + "Shape_Le_1":0.0037693215640499998, + "Shape_Ar_1":6.8474298198599997e-07, + "Z_Min_1":null, + "Z_Max_1":null, + "Shape_Length":242.34118937110796, + "Shape_Area":1016.243978548841 + }, + "geometry": { + "coordinates": [ + [ + [ + -1.1773252736298616, + 6.746531187307411 + ], + [ + -1.1773252736298616, + 6.744493946011644 + ], + [ + -1.174390008683872, + 6.744493946011644 + ], + [ + -1.174390008683872, + 6.746531187307411 + ], + [ + -1.1773252736298616, + 6.746531187307411 + ] + ] + ], + "type": "Polygon" } } -]} + ] +} \ No newline at end of file