[Qgis-user] Polyline within polygon

Micha Silver micha at arava.co.il
Thu Nov 25 14:37:09 PST 2010


On 11/25/2010 11:48 PM, Zoran Jankovic wrote:
> Hi list,
>
> I feel like I'm missing something obvious here :-)
> 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? :-) .
>
The shapefile "naselje" is a line, not polygon.
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.

>
> ---
> Zoran Jankovic
> ZIS-Izrada softvera i savjetovanje / ZIS - Software Development and 
> Consulting
>
> http://www.zisis.hr
>
> M: 00 385 98 682 902
> T:  00 385 44 683 374
>
> A. Senoe 4
> 44320 Kutina
> Croatia
>
> This mail was received via Mail-SeCure System.
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
> This mail was received via Mail-SeCure System.
>
>
>    


-- 
Micha Silver
Arava Development Co. +972-52-3665918
http://surfaces.co.il


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20101126/3f36ab0b/attachment.html>


More information about the Qgis-user mailing list