[Shake-dev] mapping module
Roviró Pou, Jordi
jroviro at igc.cat
Fri Apr 27 08:07:15 UTC 2012
Hello,
I have some understanding problems with stations representation of the mapping module
I work with only two xml files at the input folder, the pgm and intensity. All the stations in the first one has different attributes source="XXX" (where XXX are IGC, IGN, BRGM, OPM, IEA). The stations on the second file has the attribute netid="INTENSITY".
I define the network_color parameters as:
network_color : INTENSITY darkblue c 0.06
network_color : IGC orange t 0.14
network_color : IGN magenta t 0.14
network_color : BRGM red t 0.14
network_color : OMP green t 0.14
network_color : IEA darkblue t 0.14
My problem is that the macroseismic data is represented correctly, but not the pgm data.
I try to run shakemap without intensity xml file, and it works correctly, also only with the intensity file works.
I try to run shakemap with both xml files, and have some troubles.
If the network_colors aren't defined, the pgm stations are represented as a default colour, symbol and size. But defining the network_color parameters only the colours are well represented, so the symbol and the size are the same as the INTENSITY values.
I have revised the mapping.pm and I think the problem is on the line 1322. I made a test with an intensity and pgm station only, and the problem is that for the pgm the $symbol variable doesn't changes in that line, although the network_color parameter are different.
I don't know how to solve it.
Thank you very much!
Jordi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://geohazards.usgs.gov/pipermail/shake-dev/attachments/20120427/e33cbedd/attachment.html>
More information about the Shake-dev
mailing list