[GRASS-user] Loading JSON data in GRASS
Arighna
roy.arighna at gmail.com
Tue Dec 2 01:12:32 PST 2014
Hi Moritz,
Thanks a lot for your reply.
It is connected with the 'cat' column as I didn't provide any key column
while importing the data. Both the input and the output maps have the key
column as 'cat'. Still I am getting the error. Could this be a problem that
for both the maps the 'cat 'values are 1?
Also I was trying to import the data with a specific key column. But there
is no provision for doing that.
I tried these commands.
v.in.ogr input=/home/aroy/geojson_sample/patch/patch1.1.geojson
output=patch_test1 key=category
ERROR: Sorry, <input> is not a valid parameter
ERROR: Sorry, <key> is not a valid parameter
ERROR: Required parameter <dsn> not set:
(OGR datasource name)
v.in.ogr dsn=/home/aroy/geojson_sample/patch/patch1.1.geojson
output=patch_test1 key=category
ERROR: Sorry, <key> is not a valid parameter
Thanks & Regards
Roy
-----Original Message-----
From: Moritz Lennert [mailto:mlennert at club.worldonline.be]
Sent: Tuesday, December 02, 2014 2:41 AM
To: arighna roy; Vaclav Petras; grass-user at lists.osgeo.org
Subject: Re: [GRASS-user] Loading JSON data in GRASS
On 30/11/14 06:10, arighna roy wrote:
> Hi,
>
> I am trying to append points to a new map patch_map6.
>
> v.patch -e input=patch_map1 output=patch_map6
>
> When I run the above command I get the following error.
>
> ERROR: Key column not found
>
> I don't know which column it is looking for.
The "key column" is the column in the attribute table containing the
category values (~ ids) of the features in your map, thus allowing to link
the features to the attributes.
You can use 'v.db.connect -p patch_map1' to see the details of the
connection for patch_map1.
Moritz
More information about the grass-user
mailing list