[GRASS-dev] [GRASS GIS] #1615: Regression - v.transform fails to create a 3D map, crashes on Windows

GRASS GIS trac at osgeo.org
Sun Aug 26 09:56:00 PDT 2012


#1615: Regression - v.transform fails to create a 3D map, crashes on Windows
-------------------------+--------------------------------------------------
 Reporter:  marisn       |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  major        |   Milestone:  6.4.3                    
Component:  Vector       |     Version:  6.4.2                    
 Keywords:               |    Platform:  Unspecified              
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------

Comment(by hellik):

 Replying to [comment:14 mmetz]:
 >
 > Some testing suggestions:
 >
 > restart Windows, start GRASS and nothing else, then test
 > {{{
 > v.random output=rm_a_map n=10 zmax=100.0 column="h double precision"
 > v.transform input=rm_a_map output=rm_a_map3d table=rm_a_map
 columns=zshift:h
 > v.info map=rm_a_map3d
 > }}}

 testing part 1: restarting windows, notepad++ (for storing debug info) and
 GRASS as only two started software (norton firewall in the background).

 {{{
 v.random --verbose output=rm_a_map n=10 zmax=100.0 column=h double
 precision

 v.report map=rm_a_map at user1 option=coor
 Zeige Typ/Name der Spalten der Datenbank des Layers 1:
 cat|h|x|y|z
 1|4.629658|635570.696127201|220671.590319529|0
 2|83.669546|636487.166966765|216334.467604602|0
 3|83.394879|640837.427900021|222324.945829646|0
 4|32.062746|635209.967345195|225262.09295938|0
 5|59.938353|633464.003418073|217668.935209204|0
 6|0.018311|632945.341349529|215628.299813837|0
 7|0.012207|632348.399304178|221032.91421247|0
 8|56.599628|638098.544267098|222962.309640797|0
 9|7.74865|639610.126041444|226608.096560564|0
 10|74.4438|634732.505264443|219473.49467452|0
 }}}


 {{{
 v.transform input=rm_a_map output=rm_a_map3d table=rm_a_map
 columns=zshift:h
 }}}

 v.transform crashes, debug=4-log as txt-file attached.

 v.info-debug=4-log also in the txt-file.

 {{{

 +----------------------------------------------------------------------------+
  | Layer:           rm_a_map3d at user1
 |
  | Mapset:          user1
 |
  | Location:        nc_spm_08
 |
  | Datenbank:       \grassdata
 |
  | Titel:
 |
  | Maßstab:       1:1
 |
  | Kartenformat:      native
 |
  | Name des Erzeugers: myricaria
 |
  | Organisation:
 |
  | Quelldatum:     Sun Aug 26 18:34:00 2012
 |
 |----------------------------------------------------------------------------|
  |   Typ der Karte:  Vektor (Level: 1)
 |
  |
 |
  |   Anzahl Punkte:       10              Anzahl Flächen:      0
 |
  |   Anzahl Linien:        0               Anzahl Inseln:    0
 |
  |   Anzhal Grenzen:   0               Anzahl faces:      0
 |
  |   Anzahl Zentroid:    0               Anzahl Kerne:    0
 |
  |
 |
  |   Karte ist 3D:              Yes
 |
  |   Anzahl der dblinks:      1
 |
  |
 |
  |         Projektion: Lambert Conformal Conic
 |
  |               N:   226608.09656056    S:   215628.29981384
 |
  |               E:   640837.42790002    W:   632348.39930418
 |
  |               B:          0.012207    T:         83.669546
 |
  |
 |
  |   Digitalisierungs-Schwellwert: 0
 |
  |   Kommentare:
 |
  |
 |
 +----------------------------------------------------------------------------+
 }}}


 {{{
 v.report map=rm_a_map3d at user1 option=coor
 ERROR: Kann die Vektorkarte <rm_a_map3d at user1> nicht auf Level 2 öffnen.
 Versuchen Sie die Topologie mit v.build neu anzulegen.
 cat|x|y|z
 }}}

 v.build map=rm_a_map3d at user1

 {{{
 v.report map=rm_a_map3d at user1 option=coor
 Coor-Datei der Vektorkarte <rm_a_map3d at user1> ist größer als sie sein
 sollte (384 Byte zuviel).
 cat|x|y|z
 1|635570.696127201|220671.590319529|4.629658
 2|636487.166966765|216334.467604602|83.669546
 3|640837.427900021|222324.945829646|83.394879
 4|635209.967345195|225262.09295938|32.062746
 5|633464.003418073|217668.935209204|59.938353
 6|632945.341349529|215628.299813837|0.018311
 7|632348.399304178|221032.91421247|0.012207
 8|638098.544267098|222962.309640797|56.599628
 9|639610.126041444|226608.096560564|7.74865
 10|634732.505264443|219473.49467452|74.4438
 (Sun Aug 26 18:38:52 2012) Befehl ausgeführt (1 sec)
 }}}


 so it seems the v.transform is now 3D, but still coor mismatch.

 >
 > now restart Windows, first start all sorts of other apps, make them work
 long and hard, now start GRASS with the commands above.

 ...after next windows restart.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1615#comment:15>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list