[Gvsig_english] error when loading an asc grid into theview:known bug?

Cristina Bedoya bedoya_cri at gva.es
Mon Aug 11 14:04:05 CEST 2008


Hello Christian, List,

By viewing the histogram of the image *. asc, we found that most of the 
values of the image are in a small range, we believe that this is why 
the image is not displayed as expected.

To display the correct layer (centered in the range where are the 
values), you must make a linear enhancement removing the ends of the image.

To do this, you can do the following these steps:
1. Open the file. asc and go to Raster properties.
2. In the tab enhancement activate the "direct linear enhancement" and 
activate "remove the ends of the image".
3. OK.

If you don't get the expected results tell us the version and extension 
you use.

We recommend to use the last version published (1.1.2) and recalls that 
it is necessary to install Raster Pilot before Sextante.

Regards,

Cris




Juan Lucas Dominguez Rubio wrote:
> Hello, Christian. I think your raster is using a sophisticated color 
> table:
>  
>     <Metadata>
>       <MDI key="COLOR_TABLE_RULES_COUNT">10</MDI>
>       <MDI key="COLOR_TABLE_RULE_RGB_0">0.000000e+00 1.400000e-02 255 
> 255 255 249 244 193</MDI>
>       <MDI key="COLOR_TABLE_RULE_RGB_1">1.400000e-02 2.800000e-02 249 
> 244 193 255 255 0</MDI>
>       <MDI key="COLOR_TABLE_RULE_RGB_2">2.800000e-02 4.200000e-02 255 
> 255 0 234 90 0</MDI>
>       <MDI key="COLOR_TABLE_RULE_RGB_3">4.200000e-02 5.600000e-02 234 
> 90 0 255 0 0</MDI>
>       <MDI key="COLOR_TABLE_RULE_RGB_4">5.600000e-02 7.000000e-02 255 
> 0 0 159 0 2</MDI>
>       <MDI key="COLOR_TABLE_RULE_RGB_5">7.000000e-02 8.400000e-02 159 
> 0 2 148 0 132</MDI>
>       <MDI key="COLOR_TABLE_RULE_RGB_6">8.400000e-02 9.800000e-02 148 
> 0 132 106 19 133</MDI>
>       <MDI key="COLOR_TABLE_RULE_RGB_7">9.800000e-02 1.120000e-01 106 
> 19 133 0 166 235</MDI>
>       <MDI key="COLOR_TABLE_RULE_RGB_8">1.120000e-01 1.260000e-01 0 
> 166 235 46 28 134</MDI>
>       <MDI key="COLOR_TABLE_RULE_RGB_9">1.260000e-01 1.400000e-01 46 
> 28 134 20 0 67</MDI>
>     </Metadata>
>  
> which probably means:
>  
> for values between 0 and 0.014 => color interpolation between 255, 
> 255, 255 (white) and 249, 244, 193 (light yellow)
> for values between 0.014 and 0.028 => color interpolation between 249, 
> 244, 193 (light yellow) and 255, 255, 0 (pure yellow)
> etc.
>  
> So maybe problem is that gvSIG is not using correctly this color 
> table. I don't know if it is possible to change the layer properties 
> in gvSIG to make that raster look good, or maybe with the raster pilot 
> or with the Sextante extension. Sorry I cannot help you more myself.
>  
> Regards,
> Juan Lucas
>
> ------------------------------------------------------------------------
> *De:* gvsig_internacional-bounces at runas.cap.gva.es en nombre de 
> christian Brandt
> *Enviado el:* jue 07/08/2008 17:24
> *Para:* Users and Developers mailing list
> *Asunto:* RE: [Gvsig_english] error when loading an asc grid into 
> theview:known bug?
>
>
> Dear list,
>
> attached is the raster file which causes the problems.
> Following the procedure described in your e-mail, no new log files 
> were created, so I  just attached the  text file held in the 
> ...user/gvsig folder.
>
> Regards
>
> Chris
>
>
> ________________________________
> > Subject: RE: [Gvsig_english] error when loading an asc grid into the 
> view:known bug?
> > Date: Thu, 7 Aug 2008 14:30:04 +0200
> > From: jldominguez at prodevelop.es
> > To: gvsig_internacional at runas.cap.gva.es; 
> gvsig_internacional at runas.cap.gva.es; 
> gvsig_internacional-bounces at runas.cap.gva.es
> >
> > Hello, Christian. Please do this:
> >
> > - close gvSIG,
> > - delete all the files that match this pattern:
> >
> > ...\[user]\gvSIG\gvSIG.log*
> >
> > - start gvSIG and load that raster file,
> > - close gvSIG,
> > - send to the list a zipfile containig the new log files created:
> >
> > ...\[user]\gvSIG\gvSIG.log*
> >
> > so maybe we can see what is happening.
> >
> > Besides, is it possible to make that raster file available? Or a 
> small one with the same problem? (send it to the list, place it in a 
> public web folder?)
> >
> > Regards,
> > Lucas
> >
> >
> > ________________________________
> > De: gvsig_internacional-bounces at runas.cap.gva.es en nombre de 
> christian Brandt
> > Enviado el: jue 07/08/2008 14:08
> > Para: gvsig_internacional at runas.cap.gva.es; 
> gvsig_internacional-bounces at runas.cap.gva.es
> > Asunto: FW: [Gvsig_english] error when loading an asc grid into the 
> view:known bug?
> >
> >
> >
> >
> > ________________________________
> >> From: chrisbrandt74 at hotmail.com
> >> To: gvsig_internacional-bounces at runas.cap.gva.es; 
> gvsig_internacional at runas.cap.gva.es
> >> Subject: FW: [Gvsig_english] error when loading an asc grid into 
> the view: known bug?
> >> Date: Wed, 6 Aug 2008 20:33:39 +0000
> >>
> >>
> >>
> >>> From: chrisbrandt74 at hotmail.com
> >>> To: gvsig_internacional at runas.cap.gva.es; 
> gvsig_internacional-bounces at runas.cap.gva.es
> >>> Date: Wed, 6 Aug 2008 12:06:11 +0000
> >>> Subject: [Gvsig_english] error when loading an asc grid into the 
> view: known bug?
> >>>
> >>>
> >>> Dear list,
> >>>
> >>> a strange error occurs after loading an .asc grid into the view 
> (see attachement). Just a black frame appears with nodata values for 
> the black frame (actually there are no nodata values) and inside there 
> are no values.
> >>> The same file was also loaded into ArcView 3.2 and it worked there.
> >>>
> >>> Any suggestions how to solve the problem?
> >>>
> >>> Regards
> >>>
> >>> Chris
> >>>
> >>> _________________________________________________________________
> >>> Connect to the next generation of MSN Messenger
> >>> 
> http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline 
> <http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline>
> >>
> >> ________________________________
> >> Explore the seven wonders of the world Learn more!
> >
> > _________________________________________________________________
> > News, entertainment and everything you care about at Live.com. Get 
> it now!
> > http://www.live.com/getstarted.aspx
>
> _________________________________________________________________
> Discover the new Windows Vista
> http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE 
> <http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Gvsig_internacional mailing list
> Gvsig_internacional at runas.cap.gva.es
> http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional
>   


-- 
Cristina Bedoya Pellicé
Proyecto gvSIG
Conselleria de Infraestructuras y Transportes (GVA).
Valencia (Spain)




More information about the Gvsig_internacional mailing list