-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Geometry Collections in GPKG files unrecognised #56587
Comments
Can you attach a small GPKG that shows the issue? |
@marklit @elpaso, the provided file is not a GeoPackage file. It is a text file in the GeoJSON format, containing GeometryCollection geometries with mixed geometry types: {
"type": "FeatureCollection",
"name": "circuit",
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
"features": [
{ "type": "Feature", "properties": { "length": "3337", "name": "Circuit de Monaco", "sport": "motor", "start_date": "1929", "type": "circuit", "wikidata": "Q171400", "wikipedia": "en:Circuit de Monaco" }, "geometry": { "type": "GeometryCollection", "geometries": [ { "type": "Point", "coordinates": [ 7.4212652, 43.7350269 ] }, { "type": "LineString", "coordinates": [ [ 7.4229757, 43.7323832 ], [ 7.4229514, 43.7323843 ], [ 7.4229275, 43.7323875 ], [ 7.4229025, 43.7323956 ], [ 7.4228834, 43.7324067 ], [ 7.422866, 43.7324203 ], [ 7.422849, 43.7324354 ], [ 7.4228304, 43.7324646 ], [ 7.422819, 43.7325078 ], [ 7.4228117, 43.7325574 ], [ 7.4228092, 43.7326378 ], [ 7.4228067, 43.7327227 ], [ 7.422775, 43.7327778 ], [ 7.4225672, 43.7329468 ], [ 7.4224698, 43.7330511 ], [ 7.4223618, 43.7331674 ], [ 7.422244, 43.7333383 ], [ 7.4220399, 43.7337014 ], [ 7.4218518, 43.7340664 ], [ 7.4217193, 43.7345098 ], [ 7.4216764, 43.7345847 ], [ 7.421477, 43.7348949 ], [ 7.4214177, 43.7350199 ], [ 7.4213608, 43.7351285 ], [ 7.4212978, 43.735199 ], [ 7.4212403, 43.7352623 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4213847, 43.734428 ], [ 7.4213798, 43.7344485 ], [ 7.4213748, 43.7344691 ], [ 7.4213722, 43.7344802 ], [ 7.421358, 43.7345446 ], [ 7.4213333, 43.7346566 ], [ 7.4213284, 43.7346786 ], [ 7.4213176, 43.7347276 ], [ 7.4213059, 43.7347806 ], [ 7.4212964, 43.734838 ], [ 7.4212837, 43.7349149 ], [ 7.4212724, 43.7349832 ], [ 7.4212652, 43.7350269 ], [ 7.421245, 43.7352207 ], [ 7.4212403, 43.7352623 ], [ 7.4212306, 43.735349 ], [ 7.4212229, 43.735402 ], [ 7.4212204, 43.7354374 ], [ 7.4212154, 43.7355084 ], [ 7.4212103, 43.7355796 ], [ 7.4212077, 43.7356156 ], [ 7.4212091, 43.7356754 ], [ 7.4212113, 43.7357741 ], [ 7.4212159, 43.7358229 ], [ 7.4212313, 43.7359846 ], [ 7.4212324, 43.7359964 ], [ 7.4212466, 43.7360672 ], [ 7.4212611, 43.7361473 ], [ 7.4212846, 43.7362286 ], [ 7.4213049, 43.736292 ], [ 7.4213244, 43.7363487 ], [ 7.4213749, 43.7364622 ], [ 7.4214168, 43.7365583 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4214168, 43.7365583 ], [ 7.4214329, 43.7366029 ], [ 7.4214431, 43.7366488 ], [ 7.421449, 43.7367209 ], [ 7.4214454, 43.7368601 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4215169, 43.7369554 ], [ 7.4214726, 43.7369152 ], [ 7.4214517, 43.736889 ], [ 7.4214463, 43.7368783 ], [ 7.4214454, 43.7368601 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4217142, 43.7370003 ], [ 7.421683, 43.7369974 ], [ 7.4216415, 43.7369891 ], [ 7.4216111, 43.736983 ], [ 7.421587, 43.7369782 ], [ 7.4215169, 43.7369554 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4221175, 43.7370216 ], [ 7.4218098, 43.7370091 ], [ 7.4217142, 43.7370003 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4221175, 43.7370216 ], [ 7.422551, 43.7370662 ], [ 7.4227661, 43.7370944 ], [ 7.4227884, 43.737098 ], [ 7.4229093, 43.7371175 ], [ 7.4231363, 43.7371615 ], [ 7.4231444, 43.7371633 ], [ 7.4234985, 43.7372399 ], [ 7.4236087, 43.7372639 ], [ 7.4236281, 43.7372681 ], [ 7.4237413, 43.7372923 ], [ 7.4240136, 43.7373476 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4240136, 43.7373476 ], [ 7.4241961, 43.7373825 ], [ 7.4243568, 43.7374014 ], [ 7.4245725, 43.7374193 ], [ 7.4246881, 43.7374283 ], [ 7.4248685, 43.7374405 ], [ 7.4249411, 43.7374518 ], [ 7.4250128, 43.7374699 ], [ 7.425065, 43.7374832 ], [ 7.4251862, 43.7375256 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4251862, 43.7375256 ], [ 7.4255617, 43.7376564 ], [ 7.4256495, 43.7376877 ], [ 7.4257385, 43.7377195 ], [ 7.4258405, 43.7377526 ], [ 7.4258623, 43.7377578 ], [ 7.4259193, 43.7377731 ], [ 7.4260179, 43.7377956 ], [ 7.4262217, 43.7378333 ], [ 7.4264312, 43.7378674 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4264312, 43.7378674 ], [ 7.4269121, 43.7379128 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4269121, 43.7379128 ], [ 7.4269855, 43.7379243 ], [ 7.4270836, 43.7379396 ], [ 7.4272261, 43.7379717 ], [ 7.4272628, 43.7379799 ], [ 7.4273601, 43.7380181 ], [ 7.4273886, 43.7380293 ], [ 7.4274569, 43.738064 ], [ 7.427512, 43.738092 ], [ 7.4275836, 43.7381384 ], [ 7.4275963, 43.7381467 ], [ 7.4276709, 43.7382041 ], [ 7.4277234, 43.7382491 ], [ 7.4277728, 43.7382975 ], [ 7.4278039, 43.7383314 ], [ 7.4278361, 43.738375 ], [ 7.4278451, 43.7383942 ], [ 7.4278578, 43.7384212 ], [ 7.4278737, 43.7384786 ], [ 7.4278761, 43.7385395 ], [ 7.4278707, 43.7386026 ], [ 7.4278609, 43.7386516 ], [ 7.4278577, 43.7386674 ], [ 7.4278429, 43.7387334 ], [ 7.4278089, 43.7388132 ], [ 7.4277976, 43.738834 ], [ 7.4277613, 43.7389006 ], [ 7.4277072, 43.7389813 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4276779, 43.7390344 ], [ 7.4276884, 43.739005 ], [ 7.4277072, 43.7389813 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4274184, 43.739188 ], [ 7.4275679, 43.7390917 ], [ 7.4276022, 43.7390682 ], [ 7.4276779, 43.7390344 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4271748, 43.7394883 ], [ 7.4271756, 43.7394592 ], [ 7.4271769, 43.7394456 ], [ 7.4271787, 43.7394313 ], [ 7.427185, 43.7394146 ], [ 7.4271921, 43.7393985 ], [ 7.4272017, 43.7393795 ], [ 7.4272177, 43.739352 ], [ 7.4272412, 43.7393211 ], [ 7.4272599, 43.739302 ], [ 7.4272737, 43.73929 ], [ 7.4273089, 43.7392609 ], [ 7.4273444, 43.7392366 ], [ 7.4274184, 43.739188 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4271748, 43.7394883 ], [ 7.4271798, 43.7395126 ], [ 7.4271868, 43.7395367 ], [ 7.4271984, 43.7395643 ], [ 7.4272109, 43.7395909 ], [ 7.427253, 43.7396561 ], [ 7.4272971, 43.7397122 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4272971, 43.7397122 ], [ 7.4274015, 43.7398154 ], [ 7.427499, 43.7399097 ], [ 7.4275372, 43.7399476 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4275372, 43.7399476 ], [ 7.4276466, 43.740058 ], [ 7.4277541, 43.7401666 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4277541, 43.7401666 ], [ 7.4278392, 43.7402522 ], [ 7.4278912, 43.7403036 ], [ 7.4279194, 43.740331 ], [ 7.4280619, 43.7404648 ], [ 7.4284035, 43.740796 ], [ 7.4286333, 43.7410189 ], [ 7.4286771, 43.7410596 ], [ 7.4287037, 43.7410843 ], [ 7.4287297, 43.7410972 ], [ 7.4287442, 43.7411029 ], [ 7.4287687, 43.7411094 ], [ 7.4288124, 43.7411123 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4297349, 43.7403489 ], [ 7.4297431, 43.74033 ], [ 7.4297463, 43.7403141 ], [ 7.4297439, 43.7402856 ], [ 7.4297314, 43.7402618 ], [ 7.4297231, 43.7402517 ], [ 7.4297097, 43.7402396 ], [ 7.4296895, 43.740226 ], [ 7.4296636, 43.7402159 ], [ 7.4296386, 43.7402092 ], [ 7.4296178, 43.7402055 ], [ 7.4295996, 43.7402054 ], [ 7.4295853, 43.7402057 ], [ 7.4295617, 43.7402108 ], [ 7.429538, 43.7402213 ], [ 7.4295131, 43.7402391 ], [ 7.4294967, 43.7402573 ], [ 7.4294825, 43.740277 ], [ 7.4294729, 43.7403011 ], [ 7.4294582, 43.74033 ], [ 7.4294295, 43.7403706 ], [ 7.4293974, 43.74041 ], [ 7.4293751, 43.7404343 ], [ 7.4293493, 43.7404592 ], [ 7.4293144, 43.7404953 ], [ 7.4292581, 43.7405536 ], [ 7.4292216, 43.7405914 ], [ 7.4291921, 43.7406247 ], [ 7.4291697, 43.7406539 ], [ 7.429153, 43.7406785 ], [ 7.4291401, 43.7407055 ], [ 7.4291322, 43.740726 ], [ 7.4291256, 43.7407531 ], [ 7.4291201, 43.7408062 ], [ 7.4291189, 43.7408605 ], [ 7.4291154, 43.7409035 ], [ 7.4291054, 43.7409413 ], [ 7.4290855, 43.7409727 ], [ 7.4290766, 43.7409868 ], [ 7.4290554, 43.7410131 ], [ 7.4290259, 43.7410395 ], [ 7.4289931, 43.7410615 ], [ 7.428956, 43.7410815 ], [ 7.4289249, 43.7410938 ], [ 7.4288861, 43.7411027 ], [ 7.4288526, 43.7411083 ], [ 7.4288124, 43.7411123 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4295273, 43.7409524 ], [ 7.4293988, 43.7409117 ], [ 7.4293699, 43.7408998 ], [ 7.4293503, 43.7408882 ], [ 7.4293349, 43.7408747 ], [ 7.4293172, 43.7408554 ], [ 7.4293045, 43.7408308 ], [ 7.4292963, 43.7408062 ], [ 7.4292913, 43.7407856 ], [ 7.4292918, 43.74076 ], [ 7.4293018, 43.7407312 ], [ 7.4293145, 43.7407089 ], [ 7.4293299, 43.7406896 ], [ 7.4293594, 43.7406621 ], [ 7.4294113, 43.7406111 ], [ 7.4294816, 43.7405447 ], [ 7.4295089, 43.7405189 ], [ 7.4295595, 43.7404738 ], [ 7.4296048, 43.7404382 ], [ 7.4296329, 43.7404205 ], [ 7.429696, 43.7403844 ], [ 7.4297226, 43.7403628 ], [ 7.4297349, 43.7403489 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4295273, 43.7409524 ], [ 7.4296425, 43.7409697 ], [ 7.4296871, 43.7409778 ], [ 7.4297697, 43.7410018 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4297697, 43.7410018 ], [ 7.4299069, 43.7410436 ], [ 7.4300008, 43.7410664 ], [ 7.4300926, 43.7410836 ], [ 7.4301307, 43.7410879 ], [ 7.4301723, 43.7410904 ], [ 7.4302126, 43.7410911 ], [ 7.4302487, 43.7410879 ], [ 7.4302842, 43.741081 ], [ 7.4303121, 43.7410691 ], [ 7.4303397, 43.74105 ], [ 7.4303555, 43.7410265 ], [ 7.4303633, 43.7409984 ], [ 7.4303639, 43.7409707 ], [ 7.4303598, 43.7408882 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4303262, 43.7403619 ], [ 7.4303598, 43.7408882 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4280368, 43.737802 ], [ 7.4281757, 43.7378538 ], [ 7.4283118, 43.7379094 ], [ 7.4284448, 43.7379687 ], [ 7.4285746, 43.7380316 ], [ 7.428701, 43.7380981 ], [ 7.4288239, 43.7381679 ], [ 7.4289429, 43.7382411 ], [ 7.429058, 43.7383175 ], [ 7.4291984, 43.7384192 ], [ 7.4293318, 43.7385256 ], [ 7.4294579, 43.7386365 ], [ 7.4295765, 43.7387517 ], [ 7.4296871, 43.738871 ], [ 7.4297897, 43.7389939 ], [ 7.4298839, 43.7391203 ], [ 7.4299695, 43.7392499 ], [ 7.4300464, 43.7393823 ], [ 7.4301143, 43.7395172 ], [ 7.4301731, 43.7396543 ], [ 7.4302226, 43.7397934 ], [ 7.4302628, 43.739934 ], [ 7.4302935, 43.7400758 ], [ 7.4303146, 43.7402186 ], [ 7.4303262, 43.7403619 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4279727, 43.7377783 ], [ 7.4280368, 43.737802 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4273074, 43.7375321 ], [ 7.4277242, 43.7376874 ], [ 7.4279727, 43.7377783 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4254946, 43.7372239 ], [ 7.4261751, 43.7373052 ], [ 7.4265153, 43.7373587 ], [ 7.4268435, 43.7374191 ], [ 7.4273074, 43.7375321 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4254466, 43.7371178 ], [ 7.425451, 43.7371643 ], [ 7.4254556, 43.7371769 ], [ 7.4254691, 43.7371902 ], [ 7.4254946, 43.7372239 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4254466, 43.7371178 ], [ 7.425431, 43.7370767 ], [ 7.4254242, 43.7370568 ], [ 7.4254137, 43.7370401 ], [ 7.4254051, 43.7370294 ], [ 7.4253933, 43.7370218 ], [ 7.4253433, 43.7370089 ], [ 7.4252113, 43.7369906 ], [ 7.4251798, 43.7369886 ], [ 7.4251641, 43.7369897 ], [ 7.4251484, 43.736992 ], [ 7.4251311, 43.7369953 ], [ 7.4251138, 43.7369995 ], [ 7.425091, 43.7370107 ], [ 7.4250225, 43.7370459 ], [ 7.4250122, 43.73705 ], [ 7.4250014, 43.7370531 ], [ 7.42499, 43.7370552 ], [ 7.4249781, 43.7370566 ], [ 7.4246856, 43.7370352 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4230269, 43.7368624 ], [ 7.4232502, 43.736892 ], [ 7.4232964, 43.7368973 ], [ 7.4233282, 43.736901 ], [ 7.4236136, 43.7369294 ], [ 7.4238442, 43.7369523 ], [ 7.42397, 43.7369648 ], [ 7.4240415, 43.7369718 ], [ 7.4243136, 43.7369986 ], [ 7.4244761, 43.7370146 ], [ 7.4245365, 43.7370205 ], [ 7.4246856, 43.7370352 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4230269, 43.7368624 ], [ 7.4222845, 43.7367851 ], [ 7.4222578, 43.7367785 ], [ 7.4222331, 43.7367669 ], [ 7.422209, 43.7367514 ], [ 7.4221882, 43.7367332 ], [ 7.4221348, 43.7366675 ], [ 7.4220814, 43.7365948 ], [ 7.4219867, 43.7364478 ], [ 7.4219591, 43.7364007 ], [ 7.4219341, 43.736352 ], [ 7.4218859, 43.7362386 ], [ 7.4218489, 43.7361398 ], [ 7.4218311, 43.7360658 ], [ 7.4218155, 43.7359939 ], [ 7.4218031, 43.73584 ], [ 7.4217986, 43.7356898 ], [ 7.4218099, 43.735538 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4218099, 43.735538 ], [ 7.4218167, 43.7354893 ], [ 7.421829, 43.7354474 ], [ 7.4218668, 43.7353992 ], [ 7.4219117, 43.7353648 ], [ 7.4221029, 43.7352623 ], [ 7.4221371, 43.7352391 ], [ 7.4221653, 43.7352153 ], [ 7.4221795, 43.7352024 ], [ 7.4221942, 43.7351872 ], [ 7.4222106, 43.735153 ], [ 7.4222385, 43.7350286 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4222385, 43.7350286 ], [ 7.4222961, 43.7347849 ], [ 7.4223041, 43.734753 ], [ 7.4223083, 43.7347359 ], [ 7.4223176, 43.7346983 ], [ 7.4223429, 43.7346008 ], [ 7.4223558, 43.734551 ], [ 7.4224101, 43.7343117 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4224101, 43.7343117 ], [ 7.4224557, 43.7341741 ], [ 7.4224713, 43.734127 ], [ 7.4224721, 43.7340798 ], [ 7.4224431, 43.7340438 ], [ 7.4224029, 43.7340125 ], [ 7.422358, 43.7339906 ], [ 7.422325, 43.7339783 ], [ 7.4222676, 43.7339571 ], [ 7.422246, 43.7339472 ], [ 7.4222282, 43.7339355 ], [ 7.4222091, 43.733914 ], [ 7.4222024, 43.7338809 ], [ 7.4222185, 43.7338035 ], [ 7.4222632, 43.7336912 ], [ 7.4223646, 43.7334889 ], [ 7.422458, 43.7333427 ], [ 7.4225366, 43.7332317 ], [ 7.4226056, 43.7331499 ], [ 7.4226735, 43.7330823 ], [ 7.4227812, 43.7329897 ], [ 7.4228538, 43.7329387 ], [ 7.4229423, 43.7328843 ], [ 7.4230048, 43.7328518 ], [ 7.423074, 43.7328225 ], [ 7.4231568, 43.7327933 ], [ 7.4233333, 43.7327339 ], [ 7.4233892, 43.7327089 ], [ 7.4234484, 43.73268 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4229757, 43.7323832 ], [ 7.4230087, 43.7323873 ], [ 7.4230516, 43.7323963 ], [ 7.4233599, 43.7324594 ], [ 7.4233969, 43.7324688 ], [ 7.4234297, 43.7324824 ], [ 7.4234511, 43.7324935 ], [ 7.4234678, 43.7325058 ], [ 7.4234821, 43.7325241 ], [ 7.4234946, 43.7325469 ], [ 7.4234985, 43.7325683 ], [ 7.4234954, 43.7325923 ], [ 7.4234851, 43.7326198 ], [ 7.4234744, 43.7326411 ], [ 7.4234622, 43.7326613 ], [ 7.4234484, 43.73268 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4229757, 43.7323832 ], [ 7.4228796, 43.7323713 ], [ 7.4228226, 43.732366 ], [ 7.4227671, 43.7323624 ], [ 7.4227029, 43.7323615 ], [ 7.4226391, 43.7323636 ], [ 7.422601, 43.732365 ], [ 7.4225613, 43.7323713 ], [ 7.4225331, 43.732379 ], [ 7.4225096, 43.7323875 ], [ 7.4224736, 43.7324078 ], [ 7.4224491, 43.7324268 ], [ 7.4224303, 43.7324468 ], [ 7.4224168, 43.7324782 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4224168, 43.7324782 ], [ 7.4224143, 43.7325221 ], [ 7.4224069, 43.7325629 ], [ 7.4223994, 43.7325852 ], [ 7.4223915, 43.7326088 ], [ 7.4223708, 43.7326454 ], [ 7.4223505, 43.732681 ], [ 7.4223141, 43.7327279 ], [ 7.4222843, 43.7327623 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4222843, 43.7327623 ], [ 7.4221705, 43.7328624 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4221705, 43.7328624 ], [ 7.4221442, 43.7328884 ], [ 7.4220977, 43.7329405 ], [ 7.4220619, 43.7329826 ], [ 7.4220273, 43.7330228 ], [ 7.4219845, 43.7330761 ], [ 7.4219743, 43.7330913 ], [ 7.4219448, 43.7331352 ], [ 7.421862, 43.7331969 ] ] }, { "type": "LineString", "coordinates": [ [ 7.421862, 43.7331969 ], [ 7.421812, 43.7333004 ], [ 7.42178, 43.7333746 ], [ 7.421753, 43.7334401 ], [ 7.4217145, 43.7335478 ], [ 7.4217098, 43.7335584 ], [ 7.421705, 43.7335705 ], [ 7.421693, 43.7336006 ], [ 7.4216373, 43.7337308 ], [ 7.4215941, 43.7338388 ], [ 7.421569, 43.7339007 ], [ 7.4215567, 43.7339309 ], [ 7.4215368, 43.7339825 ], [ 7.4215295, 43.7340015 ], [ 7.4214815, 43.7341258 ], [ 7.4214304, 43.7342658 ], [ 7.4214102, 43.7343333 ], [ 7.4214022, 43.7343601 ], [ 7.4213956, 43.7343821 ], [ 7.4213847, 43.734428 ] ] } ] } },
{ "type": "Feature", "properties": { "name": "Monaco ePrix", "start_date": "2015", "type": "circuit", "wikidata": "Q19946292", "wikipedia": "en:Monaco ePrix" }, "geometry": { "type": "GeometryCollection", "geometries": [ { "type": "LineString", "coordinates": [ [ 7.4229757, 43.7323832 ], [ 7.4229514, 43.7323843 ], [ 7.4229275, 43.7323875 ], [ 7.4229025, 43.7323956 ], [ 7.4228834, 43.7324067 ], [ 7.422866, 43.7324203 ], [ 7.422849, 43.7324354 ], [ 7.4228304, 43.7324646 ], [ 7.422819, 43.7325078 ], [ 7.4228117, 43.7325574 ], [ 7.4228092, 43.7326378 ], [ 7.4228067, 43.7327227 ], [ 7.422775, 43.7327778 ], [ 7.4225672, 43.7329468 ], [ 7.4224698, 43.7330511 ], [ 7.4223618, 43.7331674 ], [ 7.422244, 43.7333383 ], [ 7.4220399, 43.7337014 ], [ 7.4218518, 43.7340664 ], [ 7.4217193, 43.7345098 ], [ 7.4216764, 43.7345847 ], [ 7.421477, 43.7348949 ], [ 7.4214177, 43.7350199 ], [ 7.4213608, 43.7351285 ], [ 7.4212978, 43.735199 ], [ 7.4212403, 43.7352623 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4221705, 43.7328624 ], [ 7.4221442, 43.7328884 ], [ 7.4220977, 43.7329405 ], [ 7.4220619, 43.7329826 ], [ 7.4220273, 43.7330228 ], [ 7.4219845, 43.7330761 ], [ 7.4219743, 43.7330913 ], [ 7.4219448, 43.7331352 ], [ 7.421862, 43.7331969 ] ] }, { "type": "LineString", "coordinates": [ [ 7.421862, 43.7331969 ], [ 7.421812, 43.7333004 ], [ 7.42178, 43.7333746 ], [ 7.421753, 43.7334401 ], [ 7.4217145, 43.7335478 ], [ 7.4217098, 43.7335584 ], [ 7.421705, 43.7335705 ], [ 7.421693, 43.7336006 ], [ 7.4216373, 43.7337308 ], [ 7.4215941, 43.7338388 ], [ 7.421569, 43.7339007 ], [ 7.4215567, 43.7339309 ], [ 7.4215368, 43.7339825 ], [ 7.4215295, 43.7340015 ], [ 7.4214815, 43.7341258 ], [ 7.4214304, 43.7342658 ], [ 7.4214102, 43.7343333 ], [ 7.4214022, 43.7343601 ], [ 7.4213956, 43.7343821 ], [ 7.4213847, 43.734428 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4213847, 43.734428 ], [ 7.4213798, 43.7344485 ], [ 7.4213748, 43.7344691 ], [ 7.4213722, 43.7344802 ], [ 7.421358, 43.7345446 ], [ 7.4213333, 43.7346566 ], [ 7.4213284, 43.7346786 ], [ 7.4213176, 43.7347276 ], [ 7.4213059, 43.7347806 ], [ 7.4212964, 43.734838 ], [ 7.4212837, 43.7349149 ], [ 7.4212724, 43.7349832 ], [ 7.4212652, 43.7350269 ], [ 7.421245, 43.7352207 ], [ 7.4212403, 43.7352623 ], [ 7.4212306, 43.735349 ], [ 7.4212229, 43.735402 ], [ 7.4212204, 43.7354374 ], [ 7.4212154, 43.7355084 ], [ 7.4212103, 43.7355796 ], [ 7.4212077, 43.7356156 ], [ 7.4212091, 43.7356754 ], [ 7.4212113, 43.7357741 ], [ 7.4212159, 43.7358229 ], [ 7.4212313, 43.7359846 ], [ 7.4212324, 43.7359964 ], [ 7.4212466, 43.7360672 ], [ 7.4212611, 43.7361473 ], [ 7.4212846, 43.7362286 ], [ 7.4213049, 43.736292 ], [ 7.4213244, 43.7363487 ], [ 7.4213749, 43.7364622 ], [ 7.4214168, 43.7365583 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4214168, 43.7365583 ], [ 7.4214329, 43.7366029 ], [ 7.4214431, 43.7366488 ], [ 7.421449, 43.7367209 ], [ 7.4214454, 43.7368601 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4215169, 43.7369554 ], [ 7.4214726, 43.7369152 ], [ 7.4214517, 43.736889 ], [ 7.4214463, 43.7368783 ], [ 7.4214454, 43.7368601 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4217142, 43.7370003 ], [ 7.421683, 43.7369974 ], [ 7.4216415, 43.7369891 ], [ 7.4216111, 43.736983 ], [ 7.421587, 43.7369782 ], [ 7.4215169, 43.7369554 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4221175, 43.7370216 ], [ 7.4218098, 43.7370091 ], [ 7.4217142, 43.7370003 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4221175, 43.7370216 ], [ 7.422551, 43.7370662 ], [ 7.4227661, 43.7370944 ], [ 7.4227884, 43.737098 ], [ 7.4229093, 43.7371175 ], [ 7.4231363, 43.7371615 ], [ 7.4231444, 43.7371633 ], [ 7.4234985, 43.7372399 ], [ 7.4236087, 43.7372639 ], [ 7.4236281, 43.7372681 ], [ 7.4237413, 43.7372923 ], [ 7.4240136, 43.7373476 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4240136, 43.7373476 ], [ 7.4241961, 43.7373825 ], [ 7.4243568, 43.7374014 ], [ 7.4245725, 43.7374193 ], [ 7.4246881, 43.7374283 ], [ 7.4248685, 43.7374405 ], [ 7.4249411, 43.7374518 ], [ 7.4250128, 43.7374699 ], [ 7.425065, 43.7374832 ], [ 7.4251862, 43.7375256 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4251862, 43.7375256 ], [ 7.4255617, 43.7376564 ], [ 7.4256495, 43.7376877 ], [ 7.4257385, 43.7377195 ], [ 7.4258405, 43.7377526 ], [ 7.4258623, 43.7377578 ], [ 7.4259193, 43.7377731 ], [ 7.4260179, 43.7377956 ], [ 7.4262217, 43.7378333 ], [ 7.4264312, 43.7378674 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4264312, 43.7378674 ], [ 7.4269121, 43.7379128 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4269121, 43.7379128 ], [ 7.4269855, 43.7379243 ], [ 7.4270836, 43.7379396 ], [ 7.4272261, 43.7379717 ], [ 7.4272628, 43.7379799 ], [ 7.4273601, 43.7380181 ], [ 7.4273886, 43.7380293 ], [ 7.4274569, 43.738064 ], [ 7.427512, 43.738092 ], [ 7.4275836, 43.7381384 ], [ 7.4275963, 43.7381467 ], [ 7.4276709, 43.7382041 ], [ 7.4277234, 43.7382491 ], [ 7.4277728, 43.7382975 ], [ 7.4278039, 43.7383314 ], [ 7.4278361, 43.738375 ], [ 7.4278451, 43.7383942 ], [ 7.4278578, 43.7384212 ], [ 7.4278737, 43.7384786 ], [ 7.4278761, 43.7385395 ], [ 7.4278707, 43.7386026 ], [ 7.4278609, 43.7386516 ], [ 7.4278577, 43.7386674 ], [ 7.4278429, 43.7387334 ], [ 7.4278089, 43.7388132 ], [ 7.4277976, 43.738834 ], [ 7.4277613, 43.7389006 ], [ 7.4277072, 43.7389813 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4276779, 43.7390344 ], [ 7.4276884, 43.739005 ], [ 7.4277072, 43.7389813 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4274184, 43.739188 ], [ 7.4275679, 43.7390917 ], [ 7.4276022, 43.7390682 ], [ 7.4276779, 43.7390344 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4271748, 43.7394883 ], [ 7.4271756, 43.7394592 ], [ 7.4271769, 43.7394456 ], [ 7.4271787, 43.7394313 ], [ 7.427185, 43.7394146 ], [ 7.4271921, 43.7393985 ], [ 7.4272017, 43.7393795 ], [ 7.4272177, 43.739352 ], [ 7.4272412, 43.7393211 ], [ 7.4272599, 43.739302 ], [ 7.4272737, 43.73929 ], [ 7.4273089, 43.7392609 ], [ 7.4273444, 43.7392366 ], [ 7.4274184, 43.739188 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4271748, 43.7394883 ], [ 7.4271798, 43.7395126 ], [ 7.4271868, 43.7395367 ], [ 7.4271984, 43.7395643 ], [ 7.4272109, 43.7395909 ], [ 7.427253, 43.7396561 ], [ 7.4272971, 43.7397122 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4272971, 43.7397122 ], [ 7.4274015, 43.7398154 ], [ 7.427499, 43.7399097 ], [ 7.4275372, 43.7399476 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4275372, 43.7399476 ], [ 7.4276466, 43.740058 ], [ 7.4277541, 43.7401666 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4277541, 43.7401666 ], [ 7.4278392, 43.7402522 ], [ 7.4278912, 43.7403036 ], [ 7.4279194, 43.740331 ], [ 7.4280619, 43.7404648 ], [ 7.4284035, 43.740796 ], [ 7.4286333, 43.7410189 ], [ 7.4286771, 43.7410596 ], [ 7.4287037, 43.7410843 ], [ 7.4287297, 43.7410972 ], [ 7.4287442, 43.7411029 ], [ 7.4287687, 43.7411094 ], [ 7.4288124, 43.7411123 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4297349, 43.7403489 ], [ 7.4297431, 43.74033 ], [ 7.4297463, 43.7403141 ], [ 7.4297439, 43.7402856 ], [ 7.4297314, 43.7402618 ], [ 7.4297231, 43.7402517 ], [ 7.4297097, 43.7402396 ], [ 7.4296895, 43.740226 ], [ 7.4296636, 43.7402159 ], [ 7.4296386, 43.7402092 ], [ 7.4296178, 43.7402055 ], [ 7.4295996, 43.7402054 ], [ 7.4295853, 43.7402057 ], [ 7.4295617, 43.7402108 ], [ 7.429538, 43.7402213 ], [ 7.4295131, 43.7402391 ], [ 7.4294967, 43.7402573 ], [ 7.4294825, 43.740277 ], [ 7.4294729, 43.7403011 ], [ 7.4294582, 43.74033 ], [ 7.4294295, 43.7403706 ], [ 7.4293974, 43.74041 ], [ 7.4293751, 43.7404343 ], [ 7.4293493, 43.7404592 ], [ 7.4293144, 43.7404953 ], [ 7.4292581, 43.7405536 ], [ 7.4292216, 43.7405914 ], [ 7.4291921, 43.7406247 ], [ 7.4291697, 43.7406539 ], [ 7.429153, 43.7406785 ], [ 7.4291401, 43.7407055 ], [ 7.4291322, 43.740726 ], [ 7.4291256, 43.7407531 ], [ 7.4291201, 43.7408062 ], [ 7.4291189, 43.7408605 ], [ 7.4291154, 43.7409035 ], [ 7.4291054, 43.7409413 ], [ 7.4290855, 43.7409727 ], [ 7.4290766, 43.7409868 ], [ 7.4290554, 43.7410131 ], [ 7.4290259, 43.7410395 ], [ 7.4289931, 43.7410615 ], [ 7.428956, 43.7410815 ], [ 7.4289249, 43.7410938 ], [ 7.4288861, 43.7411027 ], [ 7.4288526, 43.7411083 ], [ 7.4288124, 43.7411123 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4295273, 43.7409524 ], [ 7.4293988, 43.7409117 ], [ 7.4293699, 43.7408998 ], [ 7.4293503, 43.7408882 ], [ 7.4293349, 43.7408747 ], [ 7.4293172, 43.7408554 ], [ 7.4293045, 43.7408308 ], [ 7.4292963, 43.7408062 ], [ 7.4292913, 43.7407856 ], [ 7.4292918, 43.74076 ], [ 7.4293018, 43.7407312 ], [ 7.4293145, 43.7407089 ], [ 7.4293299, 43.7406896 ], [ 7.4293594, 43.7406621 ], [ 7.4294113, 43.7406111 ], [ 7.4294816, 43.7405447 ], [ 7.4295089, 43.7405189 ], [ 7.4295595, 43.7404738 ], [ 7.4296048, 43.7404382 ], [ 7.4296329, 43.7404205 ], [ 7.429696, 43.7403844 ], [ 7.4297226, 43.7403628 ], [ 7.4297349, 43.7403489 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4295273, 43.7409524 ], [ 7.4296425, 43.7409697 ], [ 7.4296871, 43.7409778 ], [ 7.4297697, 43.7410018 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4297697, 43.7410018 ], [ 7.4299069, 43.7410436 ], [ 7.4300008, 43.7410664 ], [ 7.4300926, 43.7410836 ], [ 7.4301307, 43.7410879 ], [ 7.4301723, 43.7410904 ], [ 7.4302126, 43.7410911 ], [ 7.4302487, 43.7410879 ], [ 7.4302842, 43.741081 ], [ 7.4303121, 43.7410691 ], [ 7.4303397, 43.74105 ], [ 7.4303555, 43.7410265 ], [ 7.4303633, 43.7409984 ], [ 7.4303639, 43.7409707 ], [ 7.4303598, 43.7408882 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4303262, 43.7403619 ], [ 7.4303598, 43.7408882 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4280368, 43.737802 ], [ 7.4281757, 43.7378538 ], [ 7.4283118, 43.7379094 ], [ 7.4284448, 43.7379687 ], [ 7.4285746, 43.7380316 ], [ 7.428701, 43.7380981 ], [ 7.4288239, 43.7381679 ], [ 7.4289429, 43.7382411 ], [ 7.429058, 43.7383175 ], [ 7.4291984, 43.7384192 ], [ 7.4293318, 43.7385256 ], [ 7.4294579, 43.7386365 ], [ 7.4295765, 43.7387517 ], [ 7.4296871, 43.738871 ], [ 7.4297897, 43.7389939 ], [ 7.4298839, 43.7391203 ], [ 7.4299695, 43.7392499 ], [ 7.4300464, 43.7393823 ], [ 7.4301143, 43.7395172 ], [ 7.4301731, 43.7396543 ], [ 7.4302226, 43.7397934 ], [ 7.4302628, 43.739934 ], [ 7.4302935, 43.7400758 ], [ 7.4303146, 43.7402186 ], [ 7.4303262, 43.7403619 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4279727, 43.7377783 ], [ 7.4280368, 43.737802 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4273074, 43.7375321 ], [ 7.4277242, 43.7376874 ], [ 7.4279727, 43.7377783 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4254946, 43.7372239 ], [ 7.4261751, 43.7373052 ], [ 7.4265153, 43.7373587 ], [ 7.4268435, 43.7374191 ], [ 7.4273074, 43.7375321 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4254466, 43.7371178 ], [ 7.425451, 43.7371643 ], [ 7.4254556, 43.7371769 ], [ 7.4254691, 43.7371902 ], [ 7.4254946, 43.7372239 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4254466, 43.7371178 ], [ 7.425431, 43.7370767 ], [ 7.4254242, 43.7370568 ], [ 7.4254137, 43.7370401 ], [ 7.4254051, 43.7370294 ], [ 7.4253933, 43.7370218 ], [ 7.4253433, 43.7370089 ], [ 7.4252113, 43.7369906 ], [ 7.4251798, 43.7369886 ], [ 7.4251641, 43.7369897 ], [ 7.4251484, 43.736992 ], [ 7.4251311, 43.7369953 ], [ 7.4251138, 43.7369995 ], [ 7.425091, 43.7370107 ], [ 7.4250225, 43.7370459 ], [ 7.4250122, 43.73705 ], [ 7.4250014, 43.7370531 ], [ 7.42499, 43.7370552 ], [ 7.4249781, 43.7370566 ], [ 7.4246856, 43.7370352 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4230269, 43.7368624 ], [ 7.4232502, 43.736892 ], [ 7.4232964, 43.7368973 ], [ 7.4233282, 43.736901 ], [ 7.4236136, 43.7369294 ], [ 7.4238442, 43.7369523 ], [ 7.42397, 43.7369648 ], [ 7.4240415, 43.7369718 ], [ 7.4243136, 43.7369986 ], [ 7.4244761, 43.7370146 ], [ 7.4245365, 43.7370205 ], [ 7.4246856, 43.7370352 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4230269, 43.7368624 ], [ 7.4222845, 43.7367851 ], [ 7.4222578, 43.7367785 ], [ 7.4222331, 43.7367669 ], [ 7.422209, 43.7367514 ], [ 7.4221882, 43.7367332 ], [ 7.4221348, 43.7366675 ], [ 7.4220814, 43.7365948 ], [ 7.4219867, 43.7364478 ], [ 7.4219591, 43.7364007 ], [ 7.4219341, 43.736352 ], [ 7.4218859, 43.7362386 ], [ 7.4218489, 43.7361398 ], [ 7.4218311, 43.7360658 ], [ 7.4218155, 43.7359939 ], [ 7.4218031, 43.73584 ], [ 7.4217986, 43.7356898 ], [ 7.4218099, 43.735538 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4218099, 43.735538 ], [ 7.4218167, 43.7354893 ], [ 7.421829, 43.7354474 ], [ 7.4218668, 43.7353992 ], [ 7.4219117, 43.7353648 ], [ 7.4221029, 43.7352623 ], [ 7.4221371, 43.7352391 ], [ 7.4221653, 43.7352153 ], [ 7.4221795, 43.7352024 ], [ 7.4221942, 43.7351872 ], [ 7.4222106, 43.735153 ], [ 7.4222385, 43.7350286 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4222385, 43.7350286 ], [ 7.4222961, 43.7347849 ], [ 7.4223041, 43.734753 ], [ 7.4223083, 43.7347359 ], [ 7.4223176, 43.7346983 ], [ 7.4223429, 43.7346008 ], [ 7.4223558, 43.734551 ], [ 7.4224101, 43.7343117 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4224101, 43.7343117 ], [ 7.4224557, 43.7341741 ], [ 7.4224713, 43.734127 ], [ 7.4224721, 43.7340798 ], [ 7.4224431, 43.7340438 ], [ 7.4224029, 43.7340125 ], [ 7.422358, 43.7339906 ], [ 7.422325, 43.7339783 ], [ 7.4222676, 43.7339571 ], [ 7.422246, 43.7339472 ], [ 7.4222282, 43.7339355 ], [ 7.4222091, 43.733914 ], [ 7.4222024, 43.7338809 ], [ 7.4222185, 43.7338035 ], [ 7.4222632, 43.7336912 ], [ 7.4223646, 43.7334889 ], [ 7.422458, 43.7333427 ], [ 7.4225366, 43.7332317 ], [ 7.4226056, 43.7331499 ], [ 7.4226735, 43.7330823 ], [ 7.4227812, 43.7329897 ], [ 7.4228538, 43.7329387 ], [ 7.4229423, 43.7328843 ], [ 7.4230048, 43.7328518 ], [ 7.423074, 43.7328225 ], [ 7.4231568, 43.7327933 ], [ 7.4233333, 43.7327339 ], [ 7.4233892, 43.7327089 ], [ 7.4234484, 43.73268 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4229757, 43.7323832 ], [ 7.4230087, 43.7323873 ], [ 7.4230516, 43.7323963 ], [ 7.4233599, 43.7324594 ], [ 7.4233969, 43.7324688 ], [ 7.4234297, 43.7324824 ], [ 7.4234511, 43.7324935 ], [ 7.4234678, 43.7325058 ], [ 7.4234821, 43.7325241 ], [ 7.4234946, 43.7325469 ], [ 7.4234985, 43.7325683 ], [ 7.4234954, 43.7325923 ], [ 7.4234851, 43.7326198 ], [ 7.4234744, 43.7326411 ], [ 7.4234622, 43.7326613 ], [ 7.4234484, 43.73268 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4229757, 43.7323832 ], [ 7.4228796, 43.7323713 ], [ 7.4228226, 43.732366 ], [ 7.4227671, 43.7323624 ], [ 7.4227029, 43.7323615 ], [ 7.4226391, 43.7323636 ], [ 7.422601, 43.732365 ], [ 7.4225613, 43.7323713 ], [ 7.4225331, 43.732379 ], [ 7.4225096, 43.7323875 ], [ 7.4224736, 43.7324078 ], [ 7.4224491, 43.7324268 ], [ 7.4224303, 43.7324468 ], [ 7.4224168, 43.7324782 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4224168, 43.7324782 ], [ 7.4224143, 43.7325221 ], [ 7.4224069, 43.7325629 ], [ 7.4223994, 43.7325852 ], [ 7.4223915, 43.7326088 ], [ 7.4223708, 43.7326454 ], [ 7.4223505, 43.732681 ], [ 7.4223141, 43.7327279 ], [ 7.4222843, 43.7327623 ] ] }, { "type": "LineString", "coordinates": [ [ 7.4222843, 43.7327623 ], [ 7.4221705, 43.7328624 ] ] } ] } }
]
}
According to #32747, QGIS cannot directly display GeometryCollection geometries contained in a GeoJSON file. |
@marklit, you are using an incorrect ogr2ogr command to create a GeoPackage file. cmd = 'ogr2ogr -f GeoJSON ' \
'%(to)s %(from)s' % {
'from': quote(geojson_filename),
'to': quote(basename + '.gpkg')} the Moreover, you also need to use the |
That resolved the issue. Thank you very much for spotting that. |
What is the bug or the crash?
I'm unable to get QGIS to recognise Geometry Collections inside of GPKG files. If I manually paste the WKT in using the QuickWKT plugin then it loads and renders fine but the geometry is unrecognised when I drop a GPKG file with it in.
Steps to reproduce the issue
Below I've converted the OSM PBF file for Monaco into GPKG files using https://github.com/marklit/osm_split
$ wget https://download.geofabrik.de/europe/monaco-latest.osm.pbf $ python3 ~/Desktop/osm_split/main.py --polygon-buildings monaco-latest.osm.pbf $ duckdb
Below is what the geometry collection looks like.
Versions
3.34.3-Prizren
Supported QGIS version
New profile
Additional context
No response
The text was updated successfully, but these errors were encountered: