importing a geojson with relative url values detects them as dates
See original GitHub issuethis one is funny
steps to reproduce
- go to dashboard
- import geojson from url
expected behaviour
- values such relative urls (i.e.
//images.contentful.com/xts27qnup0jr/47Yq6W7PgAKQKGQ4cSG6oa/7c8d8296ffa3481efd93b2bb2cefc86c/stamen.png
) should import as strings
actual behaviour
- ogr2ogr tries to import it as date, despite unchecking guess types
true: Fallback: Disabling autoguessing because there are wrong dates in the source file
...
true: ogr2ogr output: ERROR 1: COPY statement failed.
ERROR: date/time field value out of range: "2000/00/00"
HINT: Perhaps you need a different "datestyle" setting.
CONTEXT: COPY importer_511ec88ce77b11e592e30ef24382571b, line 1, column logo: "2000/00/00"
Issue Analytics
- State:
- Created 8 years ago
- Comments:14 (14 by maintainers)
Top Results From Across the Web
Get JSON data from external URL and display it in a div as ...
I want to display the value of result key in a div in html (lets say the name of the div is "summary")....
Read more >Data | Vega-Lite
Vega-Lite's data property describes the visualization's data source as ... the following specification loads data from a relative url : data/cars.json .
Read more ><script type="importmap"> - HTML: HyperText Markup Language
An import map is a JSON object that allows developers to control how the browser resolves module specifiers when importing JavaScript modules.
Read more >Python Tutorial: json.dump(s) & json.load(s) - 2021
dumps()" returns a string as indicated by the "s" at the end of "dumps". This process is called encoding. Let's write it to...
Read more >Read, Write and Parse JSON using Python - GeeksforGeeks
JSON is a lightweight data format for data interchange which can be easily read and written by humans, easily parsed and generated by...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The issue was fixed in ogr2ogr, this should be fixed as soon as a new ogr2ogr binary is deployed
:_)