[GRASS-dev] getting cat value of node

2008-04-30 Thread Jaime Carrera
Hi,

I'm trying to figure out a way to find the cat value of a node. Using
Vect_get_line_nodes() returns the ids of the initial and end node of a
line. However, these ids are not the cat values of those nodes. I've
looked into Vect_cat_get() but this function returns the first
category value from the layer. Any ideas?

Thanks,

Jaime
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev


[GRASS-dev] selecting lines boundary-wise

2008-04-17 Thread Jaime Carrera
Hi list,

I'm trying to export the boundaries of a vector file, but would like
to avoid duplication of common boundaries. It's easy to know which
boundaries limit a given area, but how can I extract only one
boundary. For example, area 1 has boundaries 6,7,9 while for area 2
these are 8,9. Is there a way to extract the lines of boundary 8 only
for area 2 in order to avoid duplicating it? A comination of
Vect_get_area_boundaries(Map,area,List) with something else?

Thanks,
Jaime
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev


Re: [GRASS-dev] sqlite and grass64

2008-04-08 Thread Jaime Carrera
It seems to me that wxSQLite+ might be a good option to manage SQLite dbs.

http://cfred.free.fr/wxsqliteplus.php


Jaime

On Tue, Apr 8, 2008 at 7:23 AM, Maciej Sieczka [EMAIL PROTECTED] wrote:
 Michael Barton pisze:


  SQLite Browser is a light-weight application that we could package
  with GRASS if we wanted to switch to SQLite before making wxPython
  the default GUI. It's nice, but my concern with it is that is appears
  not to have been updated for a couple years. I found one other free
  tool for the Mac to access SQLite databases (a couple others to
  manage them only). There seems to be more available for Windows and
  Linux.
 

  FWIW SQLite Administrator looks very interesting [1]. From their
 screendumps it resembles PgAdmin much.

  (Un)Related cool stuff I just found - SpatialLite [2]. It aims to be
  same thing for SQLite as PostGIS is for PostgreSQL. Maybe an inspiration
 for a new GRASS vector format someday?

  [1]http://sqliteadmin.orbmu2k.de/
  [2]http://www.gaia-gis.it/spatialite
  ___
  grass-dev mailing list
  grass-dev@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/grass-dev

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev


[GRASS-dev] developing a GUI wxgrass-based

2008-04-07 Thread Jaime Carrera
Hi,

I was wondering if someone could give me some kind of orientation on
how wxgrass accesses the list of raster/vector maps and both the
tables and columns for the latter.  I've gone through the code a
couple of times, but I'm missing something.

Thanks,
Jaime
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev