5

There are two layers in the QGIS project:

  • the first contains the road network for a geographical area. CRS: OGC:CRS84
  • the second contains polygons that collectively cover the geographical area. CRS: EPSG:2263

I want to extract the portion of the road network within each polygon?

Polygon layer
enter image description here

Road network layer
enter image description here

My question is which tool to use to create a third layer that contains road networks for each polygon (that contains a reference to polygon attributes)

After I tried to perform an intersection between the two layers (road network as input layer and polygon as overlay layer), the generated layer can't display data and has the following error:

This layer appears to have no projection specification. By default, this layer will now have its projection set to that of the project, but you may override this by selecting a different projection below.

2
  • 2
    Hi Adham, could you clarify the question? Seems like you already put the answer: "intersection" as a tag, so I'm wondering where you are stuck
    – underdark
    Jun 5 at 15:26
  • Hi @underdark thanks for your reply. I have updated my question Jun 5 at 15:39

1 Answer 1

5

For vector analysis is recommended to work with all layers in the same Coordinate Reference System. What is probably happening is that there is no output for the intersection so the resulting layer is empty of both content and CRS information.

So, try to bring both layer to a mutual CRS i.e. reproject.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.