NAIP WMS Connection for QGIS

May 31, 2014 | NAIP, Open Source GIS, QGIS

So my first foray into github……..I look forward to the day when I laugh over the difficulties I had in pushing and pulling and committing. If anything was committable it most likely is me.

I’m in the middle of enabling a client with GIS. They’ve had the capability but it’s just been one workstation and no roaming arcview license. So to help with the budget dollars we’re going QGIS. In doing that things need to be a tad bit easier. One of the problems was imagery and how to get them something more up to date. The typical mode of operation is download everything from the USDA Datagateway. This works – but it can be horribly inefficient. BUT – if you ever lose internet it can save your neck.

So I did a bit of digging and behold: http://gis.apfo.usda.gov/arcgis/rest/services/NAIP . It also has the WMS Services for the NAIP imagery by state. It’s current and no historical dates included but not everything can be perfect. So I started looking at ways to deploy the WMS to each workstation. There are probably a dozen different ways I can do this – but my chwen method was to make an xml and load it into QGIS. So I did one file:

————————————–
<!DOCTYPE connections>
<qgsWMSConnections version=“1.0”>
    <wms ignoreGetMapURI=“false” smoothPixmapTransform=“false” dpiMode=“7” password=“” ignoreGetFeatureInfoURI=“false” referer=“” username=“” url=“http://gis.apfo.usda.gov/arcgis/services/NAIP/Tennessee_2012_1m_NC/ImageServer/WMSServer?” invertAxisOrientation=“false” ignoreAxisOrientation=“false” name=“Tennessee_2012”/>
</qgsWMSConnections>
————————————-
I replicated this file for all available states while I was at it. I also felt the need to do something to help the general populous and it’s now up in github. So what does that mean to you? Well – for the github savvy you can help me maintain it. For those that aren’t – there is a wonderful “Download ZIP” button halfway down the right side of the page. Download it – unzip it. There you go!
In QGIS – here is what you need to do. Of course – First get the files.
1. On the Manage Layers toolbar (on your left assuming you haven’t moved it) there is a “Add WMS/WMTS Layer” Button
2. Click the Button.
3. Click Load. Select your favorite state as long as it isn’t Alaska or Hawaii.
4. Select the connection to import and apply.
5. View your favorite state.
So go forth: https://github.com/rjhale1971/NAIP_WMS
Let me know what I screwed up. There will be more info appearing up on this github site as I move along and learn.

You may also like

The Trail Map – Part 1

The Trail Map – Part 1

A few posts ago I babbled about cartography. I've never had the patience for Cartography mainly because two things usually happen...well three things: the map can't be bigger than 8x11 the map must have everything on it Make the map however you want except we will...

My So called Life as a Map Maker

My So called Life as a Map Maker

I can sum it up: It's not much of one. Way back in my younger days I was infatuated with ArcPlot (which was the plotting portion of ArcINFO). From there I moved to Arcview, ArcMap, and eventually here to QGIS. All of my work typically revolves around Data. I usually...

Tricks with an ESRI File Geodatabase

Tricks with an ESRI File Geodatabase

A few years back I jumped in way over my head with QGIS/Postgis. I had moved a process out of one software and into my favorite two (QGIS/PostGIS) and little did I know the final output had to be a ESRI File Geodatabase. So what did I do? I shamed them into using a...