Questions in topic: "points" https://knowledge.亚搏在线safe.com/questions/topics/single/41946.html The latest questions for the topic "points" How to create geometries with a python caller? https://knowledge.亚搏在线safe.com/questions/88483/how-to-create-geometries-with-a-python-caller.html

Hello,

How can I replace a line with its corresponding points with a python caller?

I tried the following code but it is not working.

import fmeimport fmeobjectsclass pointCreate(object):    def __init__(self):        pass            def input(self,feature):        if feature.hasGeometry():            coord = feature.getAllCoordinates()            cpt = len(coord)            #coordSys = feature.getCoordSys()                        for cpt in range(0,len(coord)):                feature.setAttribute('X_e',coord[cpt][0])                feature.setAttribute('Y_e',coord[cpt][1])                feature.setGeometry(fmeobjects.FMEPoint([float(coord[cpt][0]),float(coord[cpt][1])]))                #feature.setCoordSys(coordSys)                self.pyoutput(feature)                     def close(self):        pass


Any ideas,

Thanks



python points coordinates create geometry Thu,14 Mar 2019 14:10:22 GMT arthy
Duplicating points https://knowledge.亚搏在线safe.com/questions/87173/duplicating-points.html

Hello,

I have a set of parcel and I need to insert point inside them that represent parcel ID.My approach is to use CenterPointReplacer transformer(mode: Inside Point) and this works perfectly.

Problem is large parcels where because of their large area I need to duplicate that point and place those duplicates elsewhere inside corresponding parcel.

Additionally,If its possible to make one duplicate for every 15000 sqm of parcels Area.So parcels that are 15k to 30k square meters would have two point placed inside parcel,30k to 45k sqm would have 3 points...This is not mandatory but it would be nice if it is possible to do.


Every help would be appreciated.

polygons points shp Tue,19 Feb 2019 13:01:46 GMT luckym
Offset for point layer https://knowledge.亚搏在线safe.com/questions/87092/offset-for-point-layer.html

Hi,

I have an esri shape layer with point,the points represent a road and have a direction.Every point has the attribute "location".This attribute has the values "0";"1";"2".I want to create for every point an offset in a right angle to the direction of the road.

location = 0 ==> no offest

location = 1 ==> left offset

location = 2 ==> right offset


I want to store the result as shape file.

Has somebody some ideas how I can manage my workbench?

Thanks and best regards.
points fme desktop 2018 offset Mon,18 Feb 2019 10:46:12 GMT joe_gerner
measure length between points https://knowledge.亚搏在线safe.com/questions/87042/measure-length-between-points.html

Hello,


Let's assume that I have a series of 2D-points A1,A2,A3,A4,...An.

Can anyone tell me how to create a measure between such points so that:

- the measure for A1 is 0

- the measure for A2 is d(A1,A2) i.e.the distance between A1 and A2

-the measure for A3 is d(A1,A2) + d(A2,A3)

- the measure for A4 is d(A1,A2) + d(A2,A3) + d(A3,A4)

and so one?

Thanks,

points measurement Fri,15 Feb 2019 21:57:57 GMT arthy
Aggregate points into line one by one https://knowledge.亚搏在线safe.com/questions/85698/aggregate-points-into-line-one-by-one.html

I have not found this case in forum.

I have spatial point dataset from which I want make lines depends on some break attribute.I aggregated points based on this break value,and I received for example 3 set of points.From each of this set I want get Line.

When I use LineBuilder,I get wrong result - each point connect which each point.

I want situation when second point connect first,third connect second etc....

For example by order of incoming points (remembering about break attribute).

lines points Tue,2019年1月22日15:09:20格林尼治时间 nianek98
Generating X & Y points for Chainage https://knowledge.亚搏在线safe.com/questions/85053/generating-x-y-points-for-chainage.html

Hi guys,


Hope you are well.I am just trying to figure out what would be the best way of doing this and if FME has a method.I understand Arcmap can do this but may take sometime.

I have a shapefile generated which has a chainage of a road with various chainage parts/distances.I then have a spreadsheet which contains 40 records which has a start chainage and end chainage.


What i require is to create X & Y coordinates for the start chainage and end chainage within the chainage of the shapefile for the spreadsheet.So basically this spreadsheet will then have another column with the X and Y coordinates.

What would be the best process to do this?Is there a specific transformer that can be used to create these points?


Start Chainage

End Chainage
153150 154340
shapefile fme points chainage Wed,09 Jan 2019 12:32:41 GMT fazsnatch
Point to Polygon https://knowledge.亚搏在线safe.com/questions/84433/point-to-polygon-1.html

Hi.I have a multipoint shape file of Dissolved points on the basis of locality.I want these points to be enveloped with the polygon on the basis of the locality.

polygon points Wed,19 Dec 2018 08:58:48 GMT mukhtar_gf
count number of points in a solid https://knowledge.亚搏在线safe.com/questions/83520/count-number-of-points-in-a-solid.html

Hi FME 亚搏国际在线官网community

I try to count the number of points (from *.las point cloud) in a solid.The solid comes from an extruded polygon.

The goal of it is to figure out if the point cloud matches an existing 2D CAD Plan.To do this I take the polyline of the walls and extrude them.Afterwards I would like to count the number of point inside the extruded solid (wall).If this results in many points I can assume that the wall is correct - if not the wall must be incorrect.

It would be great if someone has any idea and can help me.I only struggle with the count of the points in the solid.

Thanks in advance and kind regards form Switzerland
Dominik

point cloud points solid count Thu,29 Nov 2018 14:23:21 GMT dominik
point to raster https://knowledge.亚搏在线safe.com/questions/81974/polygon-to-raster.html

hi,i read some question from other user.But i don´t read what i need.

from to xml i create vertex and i don´t know what i do to create the raster.i use "imageRasterizer" but i have a error and no create it.xml2raster.zipis the log file.

raster points tiff jpg Wed,07 Nov 2018 08:13:40 GMT ftl
Why does PointOnLineOverlayer cuts lines at location that i did not pass as input? https://knowledge.亚搏在线safe.com/questions/81585/why-does-pointonlineoverlayer-cuts-lines-at-locati.html

Hi all,

I'm trying to cut a collection a lines at specific points with FME workbench 2018.1.I tried to achieve this with the PointOnLineOverlayer transformer.The settings in the transformer is shown under:


I found some inconsisties in the result.I connected a data inspector to the output points and output lines.The results are shown under:
1.The lines are cut correctly in this case


2.In the following section,i do not understand why the lines got interrupted when i did not pass point in that location


3.Same situation as 2


Can someone explain to me why the lines got cut at locations that i did not pass along to the transformer?The original data consists out of closed lines:


--- EDIT

I added sample data:Testdata_EXPORT_KRING.gdb.zip

I want that the lines get cut at nodes that have more than two vertices connected to (under one project: the polylines can be filtered with PROJECT_ID).
lines points pointonlineoverlayer splitting split line Thu,01 Nov 2018 14:07:58 GMT gabriella_alexa
How to calculate clusters or density by counting neighbors within a set distance? https://knowledge.亚搏在线safe.com/questions/80395/how-to-calculate-clusters-or-density-by-counting-n.html

I have one file which contains over 500 points.I would like to use the transformer "Neighbor Finder" to count neighbors (points) for each point with 50 meters.How do I do that?Thanks so much in advance.

gis points Fri,12 Oct 2018 18:18:07 GMT trungn1993
Replace feature z-value with point z-value https://knowledge.亚搏在线safe.com/questions/80280/replace-feature-z-value-with-point-z-value.html

In the first step Im doing a PointOnAreaOverlay which connects the features with a point inside the features.

The next step I want to replace the z-value of the feature with the z-value of the point.I have tried with both CoordinateReplacer and GeometryReplacer.So how to replace z-value of the feature with the z-value of the point?

zvalue-extractor.png

points features pointonareaoverlayer replace z Thu,11 Oct 2018 14:10:13 GMT maschlin
How to remove points inside a polygon? https://knowledge.亚搏在线safe.com/questions/78670/how-to-remove-points-inside-a-polygon.html

I am trying to remove all the points inside the red polygon that I drew.Does anyone have any ideas how I can do that without messing up the rest of my blue polygon?

Thanks in advance!

oncapture.png

polygons points Mon,17 Sep 2018 21:34:14 GMT trungn1993
How to create lines from points? https://knowledge.亚搏在线safe.com/questions/78436/how-to-create-lines-from-points.html

So,I have two files.

File 1 contains 1 point and file 2 contains 10 points.Basically,for every point in file 2,connect it to file 1 and I will end up with 10 points.

I can do this in Python easily but not sure how to do it in FME yet.I am using FME 2016 btw.

Thanks in advance!

lines points Thu,13 Sep 2018 17:12:08 GMT trungn1993
get single Points from OSM on Template https://knowledge.亚搏在线safe.com/questions/76770/get-single-points-from-osm-on-template.html

Hallo guys!

I have again some problems which i hope anyone can help me.In the first picture i show my template where i try to get the points out of my lane.It works but i just want the points one by one (and not all as you can see on picture 2) and also that the template start new for every single point.

unbenannt-t1.png

unbenannt-t2.png

The next problem is that i get the value "0" sometimes between my coordinates and i have no idea why.How can i change that?(also visible on the second picture)

points osm 模板 Tue,21 Aug 2018 06:20:06 GMT rolandpilsinger