<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html style="direction: ltr;">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 11/25/2010 11:48 PM, Zoran Jankovic wrote:
<blockquote
cite="mid:AANLkTi=KMZi9-6go28QwKVN+TDzkKAzp+yKtBqtGKkkC@mail.gmail.com"
type="cite">Hi list,
<div><br>
</div>
<div>I feel like I'm missing something obvious here :-)</div>
<div>Attached are two shapefiles (UTF-8), a polygon representing a
municipality line, and polylines representing roads within that
municipality. This is just a small sample, of course. What I need to do
is add municipality name ("naselje") to every road within that
municipality,and ignore the roads outside the polygon (if any). I
thought I could do this with fTools... Or am I missing something
obvious? :-) .</div>
<div><br>
</div>
</blockquote>
The shapefile "naselje" is a line, not polygon.<br>
If you can convert it to a polygon, then use the fTools
"Vector->Data Management->Join by location" and you'll get the
attribs from the naseleje joined with the ulice table (in a new
shapefile) for only those roads that intersect the polygon.<br>
<br>
<blockquote
cite="mid:AANLkTi=KMZi9-6go28QwKVN+TDzkKAzp+yKtBqtGKkkC@mail.gmail.com"
type="cite">
<div><br clear="all">
--- <br>
Zoran Jankovic<br>
ZIS-Izrada softvera i savjetovanje / ZIS - Software Development and
Consulting<br>
<br>
<a moz-do-not-send="true" href="http://www.zisis.hr">http://www.zisis.hr</a><br>
<br>
M: 00 385 98 682 902<br>
T: 00 385 44 683 374<br>
<br>
A. Senoe 4<br>
44320 Kutina<br>
Croatia<br>
</div>
<br>
This mail was received via Mail-SeCure System.<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a>
This mail was received via Mail-SeCure System.
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Micha Silver
Arava Development Co. +972-52-3665918
<a class="moz-txt-link-freetext" href="http://surfaces.co.il">http://surfaces.co.il</a>
</pre>
</body>
</html>