Using transformers to modify data.
Recently active
Hi, I have one postgres table with DWG features recorded, the features are from many files, the files name is in filename column. Look that the kind column, there are 3 different kind...I, II and III. In others words one specifical filename can be of the 3 kinds in the same time. Because the same DWG file was recorded in Postgres considering the 3 differents models of the drawing.Note: all features belonging to same file have the same file_date.In short I need to extract all features group by filename but considering the most recent file_dateMaybe I was clear? Thank´s
Hi, After the last windows update (windows 10 pro 1803) data inspector will not launch from workbench. This normally occur when data inspector is running in the background. But not this time. Its also possible to open data inspector from start menu. Anyone else having the same experience?
Hi guys. I have set of polylines and i have to create a midpoint on midsegment of polyline. If the polyline has even number of segments it has to go on mid point of one of a two mid segments. Need help, because i cant find solution on my own!
Hi Guys,in which attributes are this information stored (Radius) ? where my cursor is placed ThxFranco
In my LAS reader I have selected fme_basename to be outputted as an attribute with the feature.In the data inspector I can see it has correctly populated this attributed with the filename of my LAS.The dropdown under DEMRaster in the ReasterDemGenerator shows that fme_basename is an attribute. However when I look in the data inspector it doesn't contain my LAS filename but instead 'RasterDEMGenerator'Is this correct? I was going to read multiple LAS files and output a DEM for each file, using the fme_basename as the filename for the DEM. Seeing it's not being carried through though I've had to create a user parameter and process one file at a time now. Thanks in advance.
Hi All, I am a relatively new FME user. For my job I need to take around 500 MrSID tiles and mosaic and convert them to ECW format. I am able to perform that by "reading" in the MrSID tiles using the "RasterMosaikcer" transformer and then "writing" it as an ECW. However my output mosaic has black edges.Is there a way to make these edges transparent?
What is the simplest path to translate a MDB to SHP. Data is topographic contours for use in AutoCad.
Bonjour a tous je cherche a comprendre comment utiliser les fonctions python dans python caller je joins un petit code test qui ne fonctionne pas avec python caller alors que c'est bon avec mon interpreteur en ligne de commande import fmeimport fmeobjectsimport numpy as np# Template Function interface:# When using this function, make sure its name is set as the value of# the 'Class or Function to Process Features' transformer parameterdef processFeature(feature): pass # Template Class Interface:# When using this class, make sure its name is set as the value of# the 'Class or Function to Process Features' transformer parameterclass FeatureProcessor(object): def __init__(self): pass def fonction_sinus(x): y=np.sin(x) return y def input(self,feature): new_feature = feature.clone() x_new = [0,1,2,3,4,5,6] y_new = [0,1,0,-1,0,1,0] x_interpol = np.linspace(float(x_new[0]), float(max(x_new)), 200) y_int
The goal of this workspace is to go through multiple shapefiles and update a field for each polygon in a shapefile. The field will be compiled of the sum of an attribute from another shapefile that intersects with a single polygon in the shapefile. Ex. I have a 15 minute drive time polygon from a single point (a single polygon in a shapefile of many polygons). I want to see how many block groups intersect/are within the drive time. I then want to sum or average a field within the block groups and then add this new number as a field to the drive time shapefile. Then it will move onto the next polygon, maybe a 30 minute drive time, and do the same. I have been attempting to use the Spatial Filter but I am unsure if this creates intersections for each polygon or if it is assessing if the candidate needs to intersect with all polygons read from the shapefile. I am open to using arcpy as well to help solve this problem. Overall I think I am asking if looping through each polygon in a shape
The issue I'm having is I have several CAD "Markers" in my dataset im converting to GIS. These markers are all different and include Sand Marker, Orchard Marker, Rice Paddy Marker, etc. I need to extract a point from the center of these markers/ somewhere near the center of these markers. Is there a transformer/ easy process that does this or will it need to be on a case by case bases. Some markers have touching lines, some do not, some are a bunch of circles. Below are some examples of what these look like. Rice Paddy Marker Field MarkerSand Marker Marsh Marker For the first two I know I can extract the line with the longest length and place a center point. But for the others the "length" parameter wont work. Also, there are no attributes that can be used for extraction of a point across all of the data sheets. Each sheet has different attributes for the lines I would like to use. So an attribute would work on a sheet level basis but that attribute changes as
The S-57 (ENC) Hydrographic Data Reader claims to support S-57 edition 3.1. However, the reader does not include the supplements to the ENC 3.1 edition. For example, IHO released supplement 3 (https://www.iho.int/iho_pubs/standard/S-57Ed3.1/S-57_e3.1_Supp3_Jun14_EN.pdf) which includes attributes that are not present in the FME reader. Am I missing something or does the FME reader only support the initial release of the ENC edition and not the supplements?
Backgroud: I created a workspace that uses ArcMap's "strip map" tool for data driven pages--the tool creates fixed-sized polygons along a line feature to be used as an index layer to produce multiple output pages [PDF]. I found the tool to be extremely helpful for creating the polygon, but had its flaws when attributing fields.METHOD UsE BEFORE FME PROCESSING:1) in arcmap, select by attribute for targeted section on line feature.1.2) run strip map index feature and save output to GDB.2) both line feature and strip map output are moved to FME workspace to further attribute, but also to push pythonscript, .mxd documents, and output folder to share drive. QUESTION: Is there a transformer(s) that could sort features by its physical location and relative location to other features?Each polygon can be thought as a window to print individual pdf documents. Each feature has four attribute fields for PDF's match-line (top,bottom,left,right) used to inform client which sheet &#
I have an attribute that contains the following string format:[url='thisurl', version='1', timestamp='2019-01-15T08:27:30.382Z', status=[operation='operational', mode='local', state='out', generalError='no', generalWarning='yes', errorList=[], warningList=[warning='inactive', state='unknown']]] I want to convert this string to attributes => values:url => thisurlversion => 1timestamp =>2019-01-15T08:27:30.382Zstatus => [operation='operational', mode='local', state='out', generalError='no', generalWarning='yes', errorList=[], warningList=[warning='inactive', state='unknown']] Can I do this with some kind of regex Transformer and what should it look like?
Hello,I am trying to use the change detection transformer to detect any changes that may have occurred from a previous iteration. The original source is being pulled from a SQL spatial DB, and the revised is a GDB file that I converted to geojson files. I've noticed the vertices are slightly different. I have NOT touched the files, I've just imported the geojson files to the SQL DB and then took the same geojson files and tested it against those coming from the SQL DB. Any suggestions?
I'm working on converting a 12dxml file to a GIS format with an attribute table like an Esri FGDB feature class. Eventually the workflow will be used to write new data to an editable hosted feature service via a FME Server tool. Using the xml reader and feature paths I'm able at access and process the xml elements I require and create the output I need. Rearranging the key:value nature of the xml data is a little fiddly, but I've achieved that using Aggregators, AttributeCreators, AttributeSplitting and lastly an AttributeExposer. Using the AttributeExposer means that I've had to hardcode in the attribute names into the workflow and I'm wondering what the options are for managing these if additional attributes are added to future xml files? Perhaps using a published parameter or a txt file that stores a list of attribute names that can be dynamically read into the AttributeExposer?Exposing the attributes may not even be necessary if I make use of the dynamic opti
I´m extrating data from Postgis to DWG. And I´m using template file, but my lines in DWG output are Block. I would like line as polyline. How I can solve this? Thank´s
I need to perform AffineWarper in Group By mode. Separate affine control vectors for separate group of objects. Any idea?
Bonjour a tous Une question pour utiliser Python dans Fme j'ai plusieurs pages de pdf que je souhaite assembler en un seulj'ai teste plusieurs solutions avec les divers transformer FME mais cela ne fonctionne pas Je voudrais tester avec la fonction pypdf2 et un python callerqui parait fonctionner je suis preneur d'aide et d'exemplesMerci beaucoup
ignore it, ignore it, ignore it
Test w/ drag and drop image. testing to resave.
testing copy/paste
Test Images / attachment (using image link button)
Hello,I have a polygon layer which I want to snap to the road network. I used the Anchored snapper and given snapping distance 10. But some edges are overshooting. is there any way, polygon will snap to the nearest polyline?
Dear FME community.I would like to give ID to pair of attributes with FME like that :Thank you for your help.