[GRASS-dev] [GRASS GIS] #3284: Imported kml file fails to generate JSON compliant output to v.what
GRASS GIS
trac at osgeo.org
Mon Feb 13 05:46:32 PST 2017
#3284: Imported kml file fails to generate JSON compliant output to v.what
----------------------------------------------+-------------------------
Reporter: geografik | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.2.1
Component: Database | Version: 7.2.0
Keywords: v.what, kml, 'valid JSON format' | CPU: OSX/Intel
Platform: MacOSX |
----------------------------------------------+-------------------------
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.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3284>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list