[Shake-dev] mapping module
Bruce Worden
cbworden at gmail.com
Tue May 1 00:58:14 UTC 2012
Hi Jordi,
"netid" is the attribute that the network color applies to. "source" can be any text string, and is used to describe the station source (such as the name of the network).
So you need to set netid to IGC, IGN, BRGM, etc., for each station in your data file.
Bruce
On Apr 27, 2012, at 1:07 AM, Roviró Pou, Jordi wrote:
> 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
>
> _______________________________________________
> Shake-dev mailing list
> Shake-dev at geohazards.usgs.gov
> https://geohazards.usgs.gov/mailman/listinfo/shake-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://geohazards.usgs.gov/pipermail/shake-dev/attachments/20120430/f9f471e8/attachment.html>
More information about the Shake-dev
mailing list