Using transformers to modify data.
Recently active
HiI would like to create two new attributes from a linear WKT text file. I need to create one new attribute for the first pair of coordinates and one new attribute for the last pair of coordinates. (It's critiacl that the number of decimal places is retained)I have managed get this to work in a fashion by using the attribute splitter then attribute creator. As the first pair is always at _list{0} in the list.I have more problem with identiying the last pair of coordinates as there could be over 200 pairs of coordingates in the linear WKT field.I've managed to create a new column that identifies the number of coordinates in the string and thought about using a test filter to split the data by number of coordinate pairs then assing the correct _list{x} value however this isn't practival when I have over 200 variations in the count of pair of coordiantes.Is there a simpler way to extract the first and last pair of coordinates from a sting in the format as below:LINESTRING (440
Hi,i have ca. 13000 lines (always two vertex) and i need to write the coordinates into an attribute.I know i can use the Feature Function @XValue and @YValue and the list value 0 for the first point and 1 for the last point but I cannot find the right syntax...can someone make an example for me please?Like....@XValue(<0>) ?@Xvalue().0?Thank you,Davide
Hi there! I'm using MapnikRasterizer, PDFStyler and PDFPageFormatter for creating PDF documents. There is some static text content in my PDFs like Title, Subtitle, Copyright etc. This static text content is created by Creators and the text is defined as Geometry Type:Text and set as Text String. All works fine. Now, I want to print the current date (today) into the PDF using DateTimeStamper and DateTimeConverter. I formated the date attribute using PDFStyler and connected it to the PDFPageFormatter, but the date (frame) is missing in the resulting PDF. Any idea how to print the current date into a PDF? For example by replacing the Text String of the Creation instance dynamically by the current date? Or any other way? Best regards Oliver
Hello everyone, So I have 4 georeferenced JPG images that I need to paste together. I wanted to use the RasterMosaicker to do this, but it seems like FME is not picking up the georeferenced data behind the images. The 4 JPG's should lay nicely next to the other, but instead they lay on top of each other.I have tried a few things but I don't know how to fix it. I already told the Reader which coordinate system the images were georeferenced in. I tried different types of readers as well.I'm just trying to paste these images together without the color changing. When I tried to paste them together using the Mosaic to New Raster tool in ArcGIS Pro, the color of the map changed to a lighter shade. The color is very important since I use the color of the images to classify it later using Supervised Classification.Does anyone know how to fix this?Thank you in advance! Edit: I have added two of the images in a zip folder. The folder contains the images and also the information that
Hi guysI'm trying to understand how to extract data from website but it's very hard (I'm not a python expert so FME is the perfect solution but......)If I inspect the webpage it's very easy to extract the css selector then ........ it's very hard to use in FME for ex I have this css selector for different value#ctl00_mainIndexContent_pnlRisultati > table > tbody > tr:nth-child(3) > td:nth-child(1)#ctl00_mainIndexContent_pnlRisultati > table > tbody > tr:nth-child(3) > td:nth-child(2)#ctl00_mainIndexContent_pnlRisultati > table > tbody > tr:nth-child(3) > td:nth-child(3) what I have to write in the field css selector of FME to retrieve the data ? thx in advance Francesco
I want to create multiple zip files of folders and sub folders but only want it to include AutoCAD drawing files, not any other files that may be in the folders and subfolders.I have tried the ziparchiver which is very nice but it zips all files.Any help would be greatfully appreciated.
Opening WFS data inFME loses geographical coordinates present in database and geometry type info?
I have a dataset where in some column the numbers are "N/A" and that attribute is in char. Which transformer I can use, so that it can read N/A and gives me N/A in writer.
I only need a certain dateTime values from a json source (a tide gauge) to get the water level associated with a coastal Sentinel-2 scene. I can get the water level for a particular time from the json data as it is the same list value (the satellite always comes around the same time) but the only way to set the date seems to be in the source urlhttp://environment.data.gov.uk/flood-monitoring/id/stations/E71739/readings.json?date=2020-04-15The date I can get from the filename of the downloaded Sentinel tiff file but there seems to be no way to pass the date into the reader URL string.Any simple ways to do this would be great :-)
Trying to file a problem using https://www.safe.com/support/report-a-problem/ But... when I hit send it says page expired
hi Conditional statement "Attribute has a value" fails to ignore null /blanks.and formats the date as 1900-01-01 00:00:00.Not every record in my dataset has a value in comnDate . I need these dates to remain blank or null How do I get the output to be null if it has no value or is null, but still format the date values that exist in the table. Thanks Lizzy
Hello, When I open my Dwg file in autocad I notice that I no longer have any vertex in my output Dwg file after performing the transformations, can you help me recover them? here is my FME file if you could correct it for me or add the transformers necessary for it to work. thank you in advance
Hey everybody, As this community has always helped me this far. I got a question which seems pretty easy but I just can't seem to make it work. I have polygons each with a fixed elevation. Now I have to replace this elevation attribute value with a minimum value of a staticscalculator. I have been working around with the 3D enforcer but nothing so far yet. I always get an error that the elevation parameter is invalid. What is the way to set the value of this elevation to a value i got from a staticscalculator? Thanks in advance,
Hi!I have a lot of elevation profiles. These profiles have polyline geometry. I want to add additional vertices to profile lines with custom step of elevation (f.e. each 1 meter of elevation).Do you have any ideas how to do this task?Many thanks beforehand!
Hi there,I am struggeling how to solve the problem.I have got 80000 Polygones and need to filter them into a smaller groups.see the screenshot:they have one attribute, lets say "CODE" with which I could filter them (01001; or 01002 etc.).this should gives about 430 groupsOf course I do not want to filter them manually. is there any option to filter them with something like a batch filter? To find the same values > when the same value > write them in the 1 group, or somethng simmilar. after that need to write theese "group infos" into a polygone geometry. I have a polygones which have the same attribute "CODE" (01001; 01002...) was thinking again about "featuremerger"But I do need to keep for example all 13 features from CODE 01001 and so on. Any Idea how could I achieve this?
Hi guys,in Arcmap i usualy calculate a attribute/field value "Vertices", where are noted numbers of vertices on polyline feature. I do it with Python phraser and simple code: !shape!.pointcount. Can be this field value calculated via fmes Python caller and how? Thanks in advance for any help or other solutuion.Bye, Miha
We have FME Server running (2019.0.1 - 19253 - win64 - patch 1) with version control enabled without remote Git repository. I am planning an upgrade and I am looking for a way to handle and keep the workspace versions in the repositories.The preferred way would be to have all versions restored on the new FME Server version. Unfortunately this is not possible with the default backup mechanism. If restoring all versions is not possible or very difficult, another option would be to at least backup all the workspace versions to be able to use these in the future if needed. Of course it is not preferable that we have to download all these version manually.I looked at the REST API, but there appear to be no calls to download all versions. Other option might be to access the FME Server database on the machine to get the files, but I did not look into that yet.Does anyone know of a way to accomplish a solution for this problem?
I would like to use ArcGIS API for Python in an workspace running in FME Server Cloud. For that I need to use the Conda-interpreter. Is it possible to use Conda in Cloud, if so what are the steps to achieve this?
i would like to Add a point to end node of Lines that has no more connection with any lines or any area . i have read ,that i have to use vertex creator ,Add point but iam not sure how it worksi have used aggregator group by network_id , so i have many lines connecting together ,depend on the network . i would like to add a node at end of each network when the network has no lines connecting from any side ,so i want to add the point , but if there is connection between lines and another lines so i do not need to add a point .somelines have already node at the end without any connection lines but some not ,my target the line that has no node at end ,i want to add a point Thanks in advance for any help .
h? All; There is a yield of 30 thousand lines . I want to calculate statistics by grouping by a column. I have to print the total number of values in the column I want to calculate. my data =>I make group according to mahalle_uavt column. I want to calculate the BASVURU_TIPI column. how many 'TALEP' values are there.as a result ==> I couldn't do it with StatisticsCalculator.I could not get what I wanted with UniqueValueLogger. (no group_by) how can i do the fastest way. Thank You.
Hi all,In my workbench, I read a polygon dataset (SDE) in the local coordinate system (EPSG:31256) and then I reproject it to EPSG:3857 with help of Reprojector. When I reproject the polygon back to EPSG:31256, I see that my output shifted so it is not as same as when I read the first.I have tried both CsmapReprojector and Reprojector. I also have tried entering the Source Coordinate System and leaving with <Read from Feature>.So the polygons looking like this. I would expect them to be identical. Pretty confused. Any idea what I am doing wrong?
I tried to translate fbx files to 3d tiles but failed with following message:(W_2) Finishing writing b3dm file for feature type 'data0'Failed to write raster with raster reference '241', ignoring texture(W_2) Unable to read the file 'F:\\output\\data\\'. Please ensure read permission are set for the dataset directoryA fatal error has occurred. Check the logfile above for details... Last line repeated 3 times ... The fbx files were exported from 3ds max 2019. I also tried to export the data as dae or obj files, but the translation to 3d tiles failed either. How can I translate the data successfully?
I am new in FME and it will be great if could you help me i have different tree networks and each network consist of several points A,B,C the main ID Points APoints A connects to points B , then points B connects to Points Ci created tree network between A, B,C and it works great by spatial relators .but i have still big problem , i do not know hwo to solve it . if the tree network has his own Points B and C so it works greatbecause it should each tree network isolated, but in case ,one or two of Points B connects to different tree network as one point B connects to two different Point A1 ,Point A2 and some times 3 Points of A so it will consider two tree network as one tree , and gives the two network the same network id ,it seems wrong for me ,it should each tree network isolated from anotheri mean, if Points B connects to two tree network so i would like to create two tree network not only oneAS EXAMPLE IF Point A1 connects to B1,B2,B3,B4, C1,C2,C3,C4Point A2 connects to B4 ,B6,B1,
Is there a way to find out the default (-3) lineweight?There is an option for autocad_resolved_linetype but can't find a similar option for when lineweight is set to default (-3)
Hello, I have an input and output dwg file, can you explain to me how to have the same number of entities in Reader and Whriter? Because I get my total of entities (6364 entities) in Writer for each layer while I would like the same number of entities in each layer in Writer as in Reader.