Opened 8 years ago
Last modified 6 years ago
#3284 new defect
Imported kml file fails to generate JSON compliant output to v.what
Reported by: | geografik | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.4.5 |
Component: | Database | Version: | 7.2.0 |
Keywords: | v.what, kml, 'valid JSON format' | Cc: | |
CPU: | OSX/Intel | Platform: | MacOSX |
Description
I have imported a kml file that contains contours of a feature of interest. Functionally an x,y,z data set. It displays correctly in GRASS. When queried to determine the value of z, the attached error is given that indicates a lack of conformance with JSON formatting. The values of z are given for the feature in the error message but additional processing such as v.to.rast does not work. GRASS is able to label the contours correctly. Using the attribute table manager is not much help - it produces an error that indicates 'Inconsistent number of columns in table'.
I see that there is a bug report (3133) that reflects the same problem but has been fixed in 7.0.5 - I'm getting the 'same' error in 7.3.svn. (on OS X 10.10.5)
The error message is too long to fit on the monitor - and is not scrollable, so the full content is not visible.
Anna Petrášová diagnosed the problem as multiline strings in the 'description' column and suggested deleting it. That resolved the problem but is not a complete solution where that column is needed.
Attachments (1)
Change History (9)
by , 8 years ago
Attachment: | Screen Shot 2017-02-12 at 9.11.07 AM.png added |
---|
comment:1 by , 8 years ago
The same happens with the Sentinel-2 tile index KML: the quotes seem not to be properly escaped.
comment:2 by , 8 years ago
Milestone: | 7.2.1 → 7.2.2 |
---|
comment:5 by , 7 years ago
Milestone: | → 7.2.4 |
---|
comment:7 by , 6 years ago
Milestone: | 7.4.4 → 7.4.5 |
---|
screenshot of error output