[GRASS-user] v.dissolve bugfeature / workaround needed
Moskovitz, Bob
Bob.Moskovitz at conservation.ca.gov
Thu Aug 7 14:21:53 EDT 2008
Hello Moritz and Peter,
I have the v.dissolve problem too. I'm running GRASS 6.4.svn (is there a way to tell what svn revision I'm using?) on Hardy Heron X86_64. Hope this info tells you something:
> v.dissolve input=alquist_priolo_eq_zones_mrg_ll83 at PERMANENT output=efz layer=1 column=FaultName
Segmentation fault
dbmi: Protocol error
ERROR: Cannot open select cursor: SELECT cat, FaultName FROM
alquist_priolo_eq_zones_mrg_ll83 ORDER BY FaultName
ERROR: Unable to open vector map <efz_24149 at PERMANENT> on topology level 2
WARNING: Table <efz_24149> linked to vector map <efz_24149> does not exist
ERROR: Vector map <efz> not found in the current mapset
> v.info alquist_priolo_eq_zones_mrg_ll83
+----------------------------------------------------------------------------+
| Layer: alquist_priolo_eq_zones_mrg_ll83 |
| Mapset: PERMANENT |
| Location: CGS_SW_FaultLines |
| Database: /home/bobm/Data/Grass |
| Title: |
| Map scale: 1:1 |
| Map format: native |
| Name of creator: bobm |
| Organization: |
| Source date: Fri Nov 17 11:47:54 2006 |
|----------------------------------------------------------------------------|
| Type of Map: vector (level: 2) |
| |
| Number of points: 0 Number of areas: 2242 |
| Number of lines: 0 Number of islands: 788 |
| Number of boundaries: 4630 Number of faces: 0 |
| Number of centroids: 2224 Number of kernels: 0 |
| |
| Map is 3D: 0 |
| Number of dblinks: 1 |
| |
| Projection: Lambert Conformal Conic |
| N: 4959352.74991602 S: 3929916.63677083 |
| E: 341967.39773093 W: -438465.59887675 |
| |
| Digitization threshold: 0 |
| Comments: |
| |
+----------------------------------------------------------------------------+
> v.info -c alquist_priolo_eq_zones_mrg_ll83
Displaying column types/names for database connection of layer 1:
INTEGER|cat
DOUBLE PRECISION|ID
CHARACTER|COUNTY
CHARACTER|QUADNAME
CHARACTER|FaultName
CHARACTER|HistoricSR
Bob Moskovitz
Research Analyst I
Seismic Hazard Evaluation Project
California Geological Survey
http://gmw.consrv.ca.gov/shmp
CONFIDENTIALITY NOTICE: This communication is intended only for the use of the individual or entity to which it is addressed. This message contains information from the State of California, California Geological Survey, which may be privileged, confidential and exempt from disclosure under applicable law, including the Electronic Communications Privacy Act. If the reader of this communication is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited.
> -----Original Message-----
> From: grass-user-bounces at lists.osgeo.org
> [mailto:grass-user-bounces at lists.osgeo.org]On Behalf Of Moritz Lennert
> Sent: Thursday, August 07, 2008 8:45 AM
> To: Peter Löwe
> Cc: grass-user at lists.osgeo.org
> Subject: Re: [GRASS-user] v.dissolve bugfeature / workaround needed
>
>
> On 07/08/08 17:20, Peter Löwe wrote:
> > Hello Milton,
> >
> > thanks for that beautiful R-hack !
> > Since I am working on a minimal "bread and butter" machine
> I went for Moritz' solution but it's a neat idea to use R for
> the task.
> >
> > Eventually, GIS-hacking should become part of the Olympics
> and you all should try to get medals :-)
>
>
> Actually, I stand corrected. Daniel was right: v.reclass does allow
> character columns and v.dissolve, therefore, does as well. I
> just tested
> with a map as it works with current svn trunk and and old
> pre-release 6.3:
>
> > v.info -c NUTS2_2006
> Displaying column types/names for database connection of layer 1:
> INTEGER|cat
> INTEGER|objectid
> CHARACTER|cntr_code
> INTEGER|stat_levl_
> CHARACTER|nuts_id
> DOUBLE PRECISION|shape_leng
> DOUBLE PRECISION|shape_area
>
> > v.dissolve in=NUTS2_2006 col=cntr_code out=countries
>
> And I get a nice countries map...
>
>
> So your error message is a bug:
>
> > results in dbmi: Protocol error ERROR: Cannot open select cursor:
> >> >> SELECT cat, FIPS_1 FROM counties ORDER BY FIPS_1 ERROR:
> Unable to
> >> >> open vector map <counties_fips1_22157 at admin_borders> on topology
> >> >> level 2 WARNING: Table <counties_fips1_22157> linked to
> vector map
> >> >> <counties_fips1_22157> does not exist ERROR: Vector map
> >> >> <counties_fips1> not found in the current mapset
>
> Could you post the output of 'v.info -c counties' ?
>
> Moritz
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
More information about the grass-user
mailing list