Skip to main content

j’ai deux couches

Une couche de points (ponctuel) et couche de lignes (linéaires).
je veux vérifier les points isolés ou non connectés de ma couche ligne.
solution svp.
en pièce jointe les supports (points) à vérifier qui ne sont pas connectés aux lignes (tronçon).

 

I have two layers

A layer of points (point) and layer of lines (linear).
I want to check isolated or unconnected points of my line layer.
solution please.
attached the supports (points) to check which are not connected to the lines (section).

 

There are several ways to identify the points that do not touch the lines.

If the points are exactly on the vertices of the lines, use a SpatialFilter. If they are not, use a PointOnLineOverlayer with a small tolerance.

 


les Chaque point représente un support de foyer lumineux du réseau d’éclairage public.
les points sont au niveau des intersections.


????

 


Probably the 'Passed’ port of the SpatialFilter contains the points that are exactly on the vertices of the lines, and the 'Failed’ port contains the points that are not on the vertices of the lines.

But of course that depends on the settings in the SpatialFilter.


voici le paramétrage du transformer. 
c’est correcte ?


I'm sorry, but I can't decide that for you.

The parameters are right when the results match your expectations.

Have you looked at the results of the SpatialFilter? Are the points that exit from the 'Failed’ port unconnected to the lines, and do the points that exit from the 'Passed’ port match the lines?


NON

 


Can you provide some sample data? That will make it a lot easier to help you.


les données sont en 3948
---


Thank you, I will take a look.


merci


It turns out the points often do not exactly coincide with the vertices of the lines. So SpatialFilter may not be the best choice here.

Yesterday I also mentioned the PointOnLineOverlayer. When I use that transformer with parameter Point Tolerance set to 0.1, I get 13 points that are not within that distance of a line.

You will have to experiment with this parameter to get the value that works best for your data and your needs.

I could not reproduce the error you got on the PointOnLineOverlayer, so I have no idea why that error was triggered.

Note that PointOnLineOverlayer tests whether a point is within a certain distance of a line, not whether it is within a certain distance of a vertex of that line. 


Thank you very much. I'll test again and I'll get back to you later.

Thank you.


ok c’est bon. 
pourquoi les lignes sortent dans output (1087) ? 
 

 


From the documentation:

Output Port ‘Line’: Line features which have been split at the location closest to matching points, with attributes added according to transformer parameter configuration.

 


merci.


You're welcome!

Providing the sample data really helped.


fichier cadastre à fissionner dans FME 

hello ! j’ai 3 couches shapefile 
-bâtiments
-parcelles
-limites communes
je veux les fusionner pour avoir un seul fichier dxf (Microstation).


Bonjour!

Can you make a new call for this? Then somebody else may be able to help you.


OK c’est fait.
Création fichier DXF dans FME | Community (safe.com)


Reply