<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Hi Stefan,
<div class=""><br class="">
</div>
<div class="">Thanks for clarifying - I’ve uploaded the .shp, .shx, and .dbf files to the drive below. Hopefully this helps! </div>
<div class=""><br class="">
</div>
<div class="">Best,</div>
<div class="">Neil <br class="">
<div class="">
<div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
<br class="">
</div>
</div>
<br class="Apple-interchange-newline">
</div>
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Jan 31, 2018, at 11:24 PM, Stefan Giese <<a href="mailto:Stefan.Giese@wheregroup.com" class="">Stefan.Giese@wheregroup.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div text="#000000" bgcolor="#FFFFFF" class="">
<p class="">Hi Neil,</p>
<p class="">just a note to  your link: if you provide shapefiles, you'll have to put at least 3 files: CC4a_RegionsSub.shp, CC4a_RegionsSub.dbf and CC4a_RegionsSub.shx. (shp contains the geometry, dbf the attributes and shx is the index between shp and dbf)..</p>
<p class="">best regards<br class="">
</p>
<p class="">stefan<br class="">
</p>
<pre class="moz-signature" cols="72">Mit freundlichen Grüßen
Stefan Giese
Projektleiter/Consultant
****************************************************************************
FOSS Academy Kompaktkurs Winterschule 2018
Grundwissen zum Aufbau von Geodateninfrastrukturen mit Open-Source-Software
<a class="moz-txt-link-freetext" href="https://www.foss-academy.com/schulungstermine/kompaktkurs-winterschule">https://www.foss-academy.com/schulungstermine/kompaktkurs-winterschule</a>
****************************************************************************
WhereGroup GmbH & Co. KG
Schwimmbadstr. 2
79100 Freiburg
Germany

Fon: +49 (0)761 / 519 102 - 61
Fax: +49 (0)761 / 519 102 - 11

<a class="moz-txt-link-abbreviated" href="mailto:stefan.giese@wheregroup.com">stefan.giese@wheregroup.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.wheregroup.com/">www.wheregroup.com</a>
Amtsgericht Bonn, HRA 6788
-------------------------------
Komplementärin:
WhereGroup Verwaltungs GmbH
vertreten durch:
Olaf Knopp, Peter Stamm
-------------------------------</pre>
<div class="moz-cite-prefix">Am 01.02.2018 um 05:42 schrieb Berg, Neil:<br class="">
</div>
<blockquote type="cite" cite="mid:DAA57B53-C547-475D-A133-BE733303B20C@ioes.ucla.edu" class="">
Hi all,<br class="">
<font class="" color="#5856d6"><br class="">
</font>I’m working with (1) a CSV file containing columns of “lat” and “lon” which represent grid cell centroids from a gridded model product over California (“loca_lat_lon.csv”), and (2) a shape file that carves up California into 12 distinct subregions (“CC4a_RegionsSub.shp”). 
<div class=""><br class="">
</div>
<div class="">These files can be accessed here:</div>
<div class=""><br class="">
</div>
<div class=""><a href="https://drive.google.com/drive/folders/1IUrpVSJYBRIoCS4vzGYK9sBEzdwZec-c?usp=sharing" class="" moz-do-not-send="true">https://drive.google.com/drive/folders/1IUrpVSJYBRIoCS4vzGYK9sBEzdwZec-c?usp=sharing</a></div>
<div class=""><font class="" color="#5856d6"><br class="">
</font>I am trying to determine which grid cells reside in each of the 12 subregions (or NA/NULL if outside all subregions) using Vector -> Data Management Tools -> Join Attributes by Location. I have specified my Target vector layer as loca_lat_lon.csv, the
 Join vector layer as CC4a_RegionsSub.shp, the Geometric predicate as “intersects”, and am taking attributes of the first located feature, and only keeping matching records. <br class="">
<font class="" color="#5856d6"><br class="">
</font>The issue is that the returned joined layer assigns just 1 of the 12 subregions, “Sierra Nevada Mountains”, to all grid cells, rather than different subregions (or None) to the cells. <br class="">
<font class="" color="#5856d6"><br class="">
</font>The shape file has a CRS of NAD83/California Albers and the coordinates in the CSV file are simply WGS 84. I’ve tried resetting the latter CRS to NAD83/California Albers, but the same issue persists. <br class="">
<font class="" color="#5856d6"><br class="">
</font>I’m using QGIS 2.18.14. <br class="">
<font class="" color="#5856d6"><br class="">
</font>Any help is greatly appreciated. Thanks in advance! <br class="">
<font class="" color="#5856d6"><br class="">
</font>
<div class="">
<div class="" style="word-wrap: break-word; line-break:
            after-white-space;">
<div dir="auto" class="" style="word-wrap: break-word;
              line-break: after-white-space;">
<div class="">Neil </div>
</div>
</div>
</div>
<br class="">
</div>
<br class="">
<fieldset class="mimeAttachmentHeader"></fieldset> <br class="">
<pre wrap="" class="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></pre>
</blockquote>
<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>