重新加载项目后,QGIS层消失了

时间:2018-07-18 15:50:35

标签: leaflet qgis convex-hull

也许这是QGIS中的一个错误,但也可能是新手我弄错了。

我从荷兰得到了这一层:

enter image description here

然后我像这样执行“最小边界几何”:

enter image description here

..并获得了一个不错的凸包,我想用它来融合世界其他地方。

enter image description here

关闭并重新加载项目后,您可以看到层都在其中,但不再显示凸包。

enter image description here

我尝试导出该图层,并在我的Leaflet项目中使用它。我的猜测是由于层故障而无法正常工作。

凸包层的导出包含以下信息(geoJSON):

    {
"type": "FeatureCollection",
"name": "EportOfLayerWithConvexHull",
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
"features": [

]
}

编辑:

必须是一个错误。当我在“保存”之前导出图层时,“关闭并打开”将导出此信息(geoJSON):

    {
"type": "FeatureCollection",
"name": "EportOfLayerWithConvexHullBeforeSaveAndReopen",
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
"features": [
{ "type": "Feature", "properties": { "id": 0, "area": 53555325822.139664, "perimeter": 905138.596175101 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 192256.6609499999904, 306846.1981 ], [ 176725.1697, 307247.002875 ], [ 176706.98415, 307248.031 ], [ 176547.9370499999786, 307284.375175 ], [ 176490.6196499999787, 307299.646375 ], [ 176253.7945499999914, 307362.931625 ], [ 18171.7300499999983, 363537.82015 ], [ 16765.9599, 364979.590025 ], [ 16761.6201, 364984.1101 ], [ 14823.4378499999984, 367021.05445 ], [ 14648.04465, 367287.32465 ], [ 14052.07305, 369530.5072 ], [ 13565.4, 371491.149975 ], [ 14400.0447, 377548.6663 ], [ 14400.1165499999988, 377549.073175 ], [ 14400.22185, 377549.472875 ], [ 19633.1457, 396389.198325 ], [ 19633.26135, 396389.595225 ], [ 19633.4091, 396389.9811 ], [ 19633.5885, 396390.353325 ], [ 119375.63085, 581684.431 ], [ 119375.8464, 581684.7834499999881 ], [ 119375.97675, 581684.9686 ], [ 119558.9769, 581932.9688 ], [ 119559.2358, 581933.290975 ], [ 119559.5203499999916, 581933.590399999986 ], [ 119559.82875, 581933.865675 ], [ 142039.7686499999836, 600749.8154499999946 ], [ 142040.0947499999893, 600750.0692 ], [ 142040.44065, 600750.2953 ], [ 142040.80395, 600750.491825 ], [ 142041.1825499999977, 600750.6579 ], [ 142041.5607, 600750.788275 ], [ 162782.6208, 606993.806 ], [ 162782.7855, 606993.8501 ], [ 171854.63235, 609308.80925 ], [ 171855.0342, 609308.905849999981 ], [ 171855.4426499999827, 609308.96885 ], [ 203675.2006499999843, 613437.93565 ], [ 203675.6110499999777, 613437.984825 ], [ 217016.668199999986, 614057.989 ], [ 217016.898599999986, 614057.99897499999497 ], [ 217949.9025, 614077.999025 ], [ 217950.1456499999913, 614077.9978 ], [ 217950.3883499999938, 614077.98485 ], [ 218566.3884, 614029.984799999977 ], [ 218566.7988, 614029.935799999977 ], [ 251129.7267, 609476.94697499996983 ], [ 251130.132599999983, 609476.869975 ], [ 251130.531, 609476.7599 ], [ 251130.9187499999825, 609476.61727499996778 ], [ 251131.293599999975, 609476.442975 ], [ 251588.3797499999928, 609250.3974 ], [ 251588.7346499999985, 609250.186 ], [ 251589.0403499999957, 609249.96935 ], [ 254057.0943, 607376.92755 ], [ 254374.3852499999921, 607107.679899999988 ], [ 269094.4879499999806, 592646.58237499999814 ], [ 276652.44315, 585167.625575 ], [ 276652.7308499999926, 585167.3289499999955 ], [ 276652.9929, 585167.009575 ], [ 276653.2278, 585166.669375 ], [ 276653.2399499999592, 585166.650125 ], [ 276663.24, 585150.65005 ], [ 276663.43575, 585150.3074 ], [ 276695.8510499999975, 585082.92592499998864 ], [ 278026.0900499999989, 578638.12007499998435 ], [ 277843.6101, 559346.1400249999715 ], [ 269643.8899499999825, 473902.729875 ], [ 269352.9400499999756, 473169.879925 ], [ 199728.9100499999768, 307341.609975 ], [ 197768.5975499999768, 307158.03585 ], [ 197768.18565, 307158.003475 ], [ 192256.6609499999904, 306846.1981 ] ] ] } }
]
}

将其添加到项目中仍然不能仅显示CartoDB(粗略的)在荷兰的边界。

有什么想法吗?

0 个答案:

没有答案