<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>marine gravity &#8211; Matthew Petroff</title>
	<atom:link href="https://mpetroff.net/tag/marine-gravity/feed/" rel="self" type="application/rss+xml" />
	<link>https://mpetroff.net</link>
	<description>mpetroff.net</description>
	<lastBuildDate>Wed, 09 Nov 2016 23:28:29 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>Using Marine Gravity Anomaly Map with Mapbox GL</title>
		<link>https://mpetroff.net/2014/10/marine-gravity-mapbox-gl/</link>
					<comments>https://mpetroff.net/2014/10/marine-gravity-mapbox-gl/#comments</comments>
		
		<dc:creator><![CDATA[Matthew Petroff]]></dc:creator>
		<pubDate>Sat, 04 Oct 2014 18:13:05 +0000</pubDate>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[map]]></category>
		<category><![CDATA[Mapbox GL]]></category>
		<category><![CDATA[marine gravity]]></category>
		<category><![CDATA[oceans]]></category>
		<guid isPermaLink="false">http://mpetroff.net/?p=1582</guid>

					<description><![CDATA[Yesterday, a paper was published in Science on the creation of new, higher resolution maps of the ocean floor using gravity anomaly data collected via satellite. The authors write, &#8220;at scales smaller than 200&#8201;km, variations in marine gravity primarily reflect &#8230; <a href="https://mpetroff.net/2014/10/marine-gravity-mapbox-gl/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p><span class="dropcap">Y</span>esterday, a <a href="http://www.sciencemag.org/content/346/6205/65">paper</a> was published in <i>Science</i> on the creation of new, higher resolution maps of the ocean floor using gravity anomaly data collected via satellite. The authors write, &#8220;at scales smaller than 200&thinsp;km, variations in marine gravity primarily reflect sea-floor topography.&#8221; Since rock has a different density than water, precise gravity measurements allow for an estimation of ocean depth. One of my first thoughts was to use this data in a map.</p>
<p>The authors provide their data for <a href="http://topex.ucsd.edu/grav_outreach/">download</a>; however, it is provided as <a href="http://gmt.soest.hawaii.edu/">GMT</a> grid files, which are apparently common for oceanography research, instead of something more standard for GIS such as GeoTIFF. Using GMT, I was able to convert the data to the <a href="http://www.gdal.org/">GDAL</a> supported NetCDF format, although I had to reencode the file with <a href="https://code.zmaw.de/projects/cdo">CDO</a> before GDAL would handle it. Using GDAL, I then reprojected the data in EPSG:3857, converted it from floating point to integer, and created a GeoTIFF file to be more friendly to web mapping applications.<br />
<span id="more-1582"></span><script src="https://gist.github.com/mpetroff/5fa4c374426daa6be476.js"></script></p>
<p>Since <a href="https://www.mapbox.com/developers/vector-tiles/mapbox-streets/">Mapbox Streets</a> doesn&#8217;t include a layer for land, I masked out land masses from the gravity anomaly map with <a href="http://www.naturalearthdata.com/">Natural Earth</a>&rsquo;s 10m land polygons in <a href="https://github.com/mapbox/tilemill">TileMill</a> and created tiles down to zoom level 7. Below, the tiles are displayed using <a href="https://github.com/mapbox/mapbox-gl-js">Mapbox GL JS</a> with a <a href="/files/maps/gravity/outdoors-v5_gravity.json">slightly modified</a> outdoors style (if the map displays as a solid color, try clicking and dragging).</p>
<p><iframe src="/files/maps/gravity/#2/23.00/-43.00" style="width:100%; height: 600px; border:none;"></iframe></p>
<p>Download the <a href="https://docs.google.com/uc?export=download&#038;confirm=iU0K&#038;id=0BxTdIVBu6KnGbW9HTnJ4SVc5VTQ">GeoTIFF Marine Gravity Anomaly Map</a> (417&thinsp;MB).<br />
Also, a <a href="https://onedrive.live.com/download?resid=B7DF1834865CE06A%21111">32-bit floating point version</a> (3.5GB), and a <a href="https://onedrive.live.com/download?resid=B7DF1834865CE06A%21112">32-bit floating point GeoTIFF of the vertical gravity gradient map</a> (3.5GB).</p>
]]></content:encoded>
					
					<wfw:commentRss>https://mpetroff.net/2014/10/marine-gravity-mapbox-gl/feed/</wfw:commentRss>
			<slash:comments>11</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 
Content Delivery Network via Amazon Web Services: CloudFront: cdn0.mpetroff.net
Minified using Disk

Served from: mpetroff.net @ 2026-03-31 01:38:15 by W3 Total Cache
-->