Re: [GRASS-user] Pygrass vector package: write geometric feature in a specific layer

2014-12-02 Thread Markus Metz
On Wed, Dec 3, 2014 at 7:28 AM, Pietro wrote: > Hi Laurent, > > On Tue, Dec 2, 2014 at 4:41 PM, Laurent C. wrote: >> With pygrass I managed to set DB links and import the attributes in >> different tables. >> But the only way I've found to change the layer of geometric features is >> with .open(m

Re: [GRASS-user] Pygrass vector package: write geometric feature in a specific layer

2014-12-02 Thread Pietro
Hi Laurent, On Tue, Dec 2, 2014 at 4:41 PM, Laurent C. wrote: > With pygrass I managed to set DB links and import the attributes in > different tables. > But the only way I've found to change the layer of geometric features is > with .open(mode='w', layer=X). This works well for one layer, but I'

Re: [GRASS-user] No incltree created warning importing .jp2 files

2014-12-02 Thread Markus Neteler
Hi Jeshua, On Tue, Dec 2, 2014 at 9:25 PM, Jeshua Lacock wrote: ... > Thank you for the link, I had read that others before posting but I was not > able to find what it might mean for r.in.gdal. I also have no idea... > I guess I will have to examine some of the imagery that generated the > w

Re: [GRASS-user] No incltree created warning importing .jp2 files

2014-12-02 Thread Jeshua Lacock
> On Dec 2, 2014, at 8:05 AM, Markus Neteler wrote: > > On Tue, Dec 2, 2014 at 4:57 AM, Jeshua Lacock wrote: >> Greetings, >> >> I am importing thousands of .jp2 images in with r.in.gdal and creating new >> GRASS locations (-e). Source is NAIP. >> >> Occasionally I am seeing this what is app

Re: [GRASS-user] Loading JSON data in GRASS

2014-12-02 Thread Arighna
I am using -e flag to copy the attribute table as well. I have data in json format. I am importing json data in separate maps and then patching them into one map to have all the points in one place. I did not find any smarter way to import them. Is there any way that I can directly insert the rec

[GRASS-user] Pygrass vector package: write geometric feature in a specific layer

2014-12-02 Thread Laurent C.
Hello all, I'm writing a GRASS module with pygrass to import data from a text file into a new vector map. Those data have topological relationships: they are nodes and links of a sewer network. But those objects may have different types of attributes. For example a link could be a pipe or a pump.

Re: [GRASS-user] mapping interface

2014-12-02 Thread Markus Neteler
On Tue, Dec 2, 2014 at 5:25 AM, shashank khare wrote: > Thanks Markus! > > It is close to what I was trying to do but still I would love someday GRASS > to have a modular GUI especially 3D which can be embedded in any app within > few minutes. I see, so I misunderstood your initial request. If wx

Re: [GRASS-user] No incltree created warning importing .jp2 files

2014-12-02 Thread Markus Neteler
On Tue, Dec 2, 2014 at 4:57 AM, Jeshua Lacock wrote: > Greetings, > > I am importing thousands of .jp2 images in with r.in.gdal and creating new > GRASS locations (-e). Source is NAIP. > > Occasionally I am seeing this what is apparently a jpeg2 warning: > > WARNING: No incltree created. > > And

Re: [GRASS-user] Error on importing ESRI grid into GRASS 7

2014-12-02 Thread Markus Neteler
On Tue, Dec 2, 2014 at 10:49 AM, Markus Neteler wrote: > On Tue, Dec 2, 2014 at 10:39 AM, RichardCooper > wrote: >> I upgraded GDAL to 1.10.0 (via the Ubuntu repository) and the GRASS instance, >> but the error still persists. > > Could you make the file (offlist) available for testing? Thanks,

Re: [GRASS-user] temporal mapcalc 3hour precipitation to hourly

2014-12-02 Thread Moritz Lennert
On 02/12/14 13:30, maning sambale wrote: Hi, A have a temporal raster of 3hourly_rainrate. t.rast.list input=3hr_rainrate name|mapset|start_time|end_time 3hr_rainrate_2014-11-13_0300|PERMANENT|2014-11-13 03:00:00|2014-11-13 06:00:00 3hr_rainrate_2014-11-13_0600|PERMANENT|2014-11-13 06:00:00|20

[GRASS-user] temporal mapcalc 3hour precipitation to hourly

2014-12-02 Thread maning sambale
Hi, A have a temporal raster of 3hourly_rainrate. > t.rast.list input=3hr_rainrate name|mapset|start_time|end_time 3hr_rainrate_2014-11-13_0300|PERMANENT|2014-11-13 03:00:00|2014-11-13 06:00:00 3hr_rainrate_2014-11-13_0600|PERMANENT|2014-11-13 06:00:00|2014-11-13 09:00:00 The values are the avera

Re: [GRASS-user] Loading JSON data in GRASS

2014-12-02 Thread Moritz Lennert
On 02/12/14 10:12, Arighna wrote: 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 tha

Re: [GRASS-user] Error on importing ESRI grid into GRASS 7

2014-12-02 Thread Markus Neteler
On Tue, Dec 2, 2014 at 10:39 AM, RichardCooper wrote: > I upgraded GDAL to 1.10.0 (via the Ubuntu repository) and the GRASS instance, > but the error still persists. Could you make the file (offlist) available for testing? Markus ___ grass-user mailing

Re: [GRASS-user] Error on importing ESRI grid into GRASS 7

2014-12-02 Thread RichardCooper
I upgraded GDAL to 1.10.0 (via the Ubuntu repository) and the GRASS instance, but the error still persists. I'll try compiling GDAL from source (1.11.1) but will need to investigate configure options, which appear numerous, before applying to my system, e.g., http://grasswiki.osgeo.org/wiki/Compil

Re: [GRASS-user] Loading JSON data in GRASS

2014-12-02 Thread Arighna
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 'value

Re: [GRASS-user] Loading JSON data in GRASS

2014-12-02 Thread Moritz Lennert
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"

Re: [GRASS-user] mapping interface

2014-12-02 Thread Moritz Lennert
On 02/12/14 05:25, shashank khare wrote: Thanks Markus! It is close to what I was trying to do but still I would love someday GRASS to have a modular GUI especially 3D which can be embedded in any app within few minutes. Not sure I understand exactly what you are looking for, but have you lo