[gradsusr] KML output

Jennifer M Adams jadams21 at gmu.edu
Tue Jun 28 12:45:52 EDT 2016


Hi, Chris —
Please see http://cola.gmu.edu/grads/gadoc/shapefiles.html#caveat
GrADS doesn’t handle drawing polygons with holes, so it doesn’t create them that way either. The vertical lines are an artifact of cutting the donuts in pieces in order to eliminate the holes. You have to draw them filled and outlined with the same color — then you cannot see those vertical lines and the shaded contours look normal.
—Jennifer

On Jun 28, 2016, at 10:46 AM, Chris Steele <Chris.Steele at weatherquest.co.uk<mailto:Chris.Steele at weatherquest.co.uk>> wrote:

Hi everyone,

I’ve noticed an additional issue that grads doesn’t appear to distinguish between standard enclosed polygons and those with holes in them. If I display the output on either google earth or maps, then those polygons which contain holes have a vertical line from the perimeter of the polygon to each hole. Has anyone encountered this issue before?

Regards

Chris

From: gradsusr-bounces at gradsusr.org<mailto:gradsusr-bounces at gradsusr.org> [mailto:gradsusr-bounces at gradsusr.org] On Behalf Of Chris Steele
Sent: 23 June 2016 13:24
To: 'gradsusr at gradsusr.org<mailto:gradsusr at gradsusr.org>' <gradsusr at gradsusr.org<mailto:gradsusr at gradsusr.org>>
Subject: [gradsusr] KML output

Hi all,

I’m having some issues producing KML output (with polygon option; grads version 2.1.a3). I’m trying to specify my own values for the polygons, but unfortunately the output is always for different values to the one that I specify. For example:

‘define east=ugrdl125’
‘define north=vgrdl125’
‘set clevs 0.5 1.5 2.5 3.5 4.5 5.5 6.5 7.5 8.5 9.5 10.5 11.5 12.5 13.5 14.5 15.5 16.5 17.5 18.5 19.5 20.5 21.5’
‘set gxout kml’
‘set kml –poly euro4_10m_wind’
‘d mag(east,north)’

Gives some sample output as….

<styleUrl>#14</styleUrl>
<name>1.5 to 3.5</name>
<Polygon>
<altitudeMode>clampToGround</AltitudeMode>
<tessellate>1</tessellate>
<outerBoundaryIs>
<LinearRing>
<coordinates>
……
</coordinates>

Is there a different way to specify the contours for KML output that I’m not aware of?

Regards

Chris



_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org<mailto:gradsusr at gradsusr.org>
http://gradsusr.org/mailman/listinfo/gradsusr

--
Jennifer Miletta Adams
Center for Ocean-Land-Atmosphere Studies (COLA)
George Mason University



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20160628/5fc95bea/attachment.html 


More information about the gradsusr mailing list