Title: Access all fields including Contexts · Issue #169 · GeoJSON-Net/GeoJSON.Net · GitHub
Open Graph Title: Access all fields including Contexts · Issue #169 · GeoJSON-Net/GeoJSON.Net
X Title: Access all fields including Contexts · Issue #169 · GeoJSON-Net/GeoJSON.Net
Description: Hello everyone, I'm trying to use the library to deserialize the result of some geocoding / reverse geocoding returned from the MapTiler API. They claim their response type is a Standard GeoJson with a FeatureCollection and Features Arra...
Open Graph Description: Hello everyone, I'm trying to use the library to deserialize the result of some geocoding / reverse geocoding returned from the MapTiler API. They claim their response type is a Standard GeoJson wi...
X Description: Hello everyone, I'm trying to use the library to deserialize the result of some geocoding / reverse geocoding returned from the MapTiler API. They claim their response type is a Standard GeoJso...
Opengraph URL: https://github.com/GeoJSON-Net/GeoJSON.Net/issues/169
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Access all fields including Contexts","articleBody":"Hello everyone,\r\n\r\nI'm trying to use the library to deserialize the result of some geocoding / reverse geocoding returned from the [MapTiler API](https://docs.maptiler.com/cloud/api/geocoding/).\r\n\r\nThey claim their response type is a [Standard GeoJson](https://docs.maptiler.com/cloud/api/geocoding/#SearchResults) with a FeatureCollection and Features Array.\r\n\r\nNow my question is: stating they have much more information like the OSM tags and the context array, how can I access those properties?\r\n\r\nAn example of returned data is this one:\r\n\r\n```json\r\n{\r\n \"type\": \"FeatureCollection\",\r\n \"features\": [\r\n {\r\n \"type\": \"Feature\",\r\n \"properties\": {\r\n \"ref\": \"osm:w186051440\",\r\n \"country_code\": \"sv\",\r\n \"kind\": \"street\",\r\n \"place_type_name\": [\r\n \"dirección\"\r\n ]\r\n },\r\n \"geometry\": {\r\n \"type\": \"Point\",\r\n \"coordinates\": [\r\n -89.021450355649,\r\n 13.624615191117352\r\n ]\r\n },\r\n \"bbox\": [\r\n -89.02265902608632,\r\n 13.623938743362018,\r\n -89.01993792504071,\r\n 13.625057031669611\r\n ],\r\n \"center\": [\r\n -89.021450355649,\r\n 13.624615191117352\r\n ],\r\n \"place_name\": \"Calle El Amate, República de El Salvador\",\r\n \"place_type\": [\r\n \"address\"\r\n ],\r\n \"place_type_name\": [\r\n \"dirección\"\r\n ],\r\n \"relevance\": 0.586667,\r\n \"context\": [\r\n {\r\n \"ref\": \"osm:n2823774053\",\r\n \"country_code\": \"sv\",\r\n \"kind\": \"place\",\r\n \"osm:place_type\": \"village\",\r\n \"id\": \"place.4177223\",\r\n \"text\": \"San Miguel Tepezontes\",\r\n \"text_es\": \"San Miguel Tepezontes\"\r\n },\r\n {\r\n \"ref\": \"osm:r3624477\",\r\n \"country_code\": \"sv\",\r\n \"kind\": \"admin_area\",\r\n \"id\": \"region.3368\",\r\n \"text\": \"Departamento de La Paz\",\r\n \"text_es\": \"Departamento de La Paz\"\r\n },\r\n {\r\n \"ref\": \"osm:r1520612\",\r\n \"country_code\": \"sv\",\r\n \"kind\": \"admin_area\",\r\n \"id\": \"country.1217\",\r\n \"text\": \"República de El Salvador\",\r\n \"language\": \"es\",\r\n \"text_es\": \"República de El Salvador\",\r\n \"language_es\": \"es\"\r\n }\r\n ],\r\n \"id\": \"address.25046469\",\r\n \"text\": \"Calle El Amate\",\r\n \"text_es\": \"Calle El Amate\",\r\n \"place_name_es\": \"Calle El Amate, San Miguel Tepezontes, Departamento de La Paz, República de El Salvador\"\r\n }\r\n ],\r\n \"query\": [\r\n \"calle\",\r\n \"el\",\r\n \"amate\",\r\n \"soyapango\"\r\n ],\r\n \"attribution\": \"\u003ca href=\\\"https://www.maptiler.com/copyright/\\\" target=\\\"_blank\\\"\u003e\u0026copy; MapTiler\u003c/a\u003e \u003ca href=\\\"https://www.openstreetmap.org/copyright\\\" target=\\\"_blank\\\"\u003e\u0026copy; OpenStreetMap contributors\u003c/a\u003e\"\r\n}\r\n```","author":{"url":"https://github.com/ollie10","@type":"Person","name":"ollie10"},"datePublished":"2023-07-27T09:23:36.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/169/GeoJSON.Net/issues/169"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a8b43edd-f364-aab4-895a-70ad08d715f1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E0CA:17F0C5:52B2BE7:6B5CE12:697DE59C |
| html-safe-nonce | a70ee0de9fc744bd5a67de9158f37f0a4f064b86aa37691c630857f117c5f1cb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMENBOjE3RjBDNTo1MkIyQkU3OjZCNUNFMTI6Njk3REU1OUMiLCJ2aXNpdG9yX2lkIjoiNDc1OTUyNTA2MzkyNjY3NTQ4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 4fdf72fb129bf23a8895c8389ae04c59f37be96db849e5c30dc6d841ae45f09e |
| hovercard-subject-tag | issue:1823973837 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/GeoJSON-Net/GeoJSON.Net/169/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c0375d34780939af3576af48a74b4de2835ef75ef7db667b879d948213d55280/GeoJSON-Net/GeoJSON.Net/issues/169 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c0375d34780939af3576af48a74b4de2835ef75ef7db667b879d948213d55280/GeoJSON-Net/GeoJSON.Net/issues/169 |
| og:image:alt | Hello everyone, I'm trying to use the library to deserialize the result of some geocoding / reverse geocoding returned from the MapTiler API. They claim their response type is a Standard GeoJson wi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ollie10 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| go-import | github.com/GeoJSON-Net/GeoJSON.Net git https://github.com/GeoJSON-Net/GeoJSON.Net.git |
| octolytics-dimension-user_id | 11492205 |
| octolytics-dimension-user_login | GeoJSON-Net |
| octolytics-dimension-repository_id | 1241202 |
| octolytics-dimension-repository_nwo | GeoJSON-Net/GeoJSON.Net |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1241202 |
| octolytics-dimension-repository_network_root_nwo | GeoJSON-Net/GeoJSON.Net |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width